:root {
  color-scheme: dark;
  --ink:#070813; --surface:#121528; --surface-2:#171b32; --line:#343956;
  --text:#f4f5ff; --muted:#a4a8be; --violet:#ae4bf5; --cyan:#35d3df;
  --green:#4bd6a0; --danger:#ff6689; --radius:22px;
}

/* WEB SONG FORM #019 — portage minimal sur la base Hosting 9cb40ba694a013f0. */
#songs-page.has-song-selection .song-detail-close{
  position:fixed;
  z-index:120;
  top:max(14px,env(safe-area-inset-top));
  right:max(18px,env(safe-area-inset-right));
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-2);
  color:var(--text);
  font-size:1.8rem;
  line-height:1;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
#songs-page.has-song-selection .song-detail-header{padding-right:72px}
#songs-page.has-song-selection .song-detail-close:hover,
#songs-page.has-song-selection .song-detail-close:focus-visible{
  border-color:var(--violet);
  outline:3px solid color-mix(in srgb,var(--violet) 35%,transparent);
  outline-offset:3px;
}
.song-metadata-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0 0 18px;
}
.song-metadata-summary article{
  display:grid;
  gap:5px;
  min-width:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface-2);
}
.song-metadata-summary span{color:var(--muted);font-size:.78rem}
.song-metadata-summary strong{font-size:.98rem;overflow-wrap:anywhere}
@media(max-width:900px){
  .song-metadata-summary{grid-template-columns:1fr}
  #songs-page.has-song-selection .song-detail-close{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}
}

/* #005J — le lecteur de répétition réutilise le moteur Atelier, avec une file canonique. */
.solo-workshop-queue{display:none;min-width:0;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.solo-workshop-queue header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line)}
.solo-workshop-queue header small,.solo-workshop-queue header span{color:var(--muted);font-size:.72rem}.solo-workshop-queue h3{margin:2px 0 0}
.solo-workshop-queue ol{list-style:none;margin:0;padding:6px;max-height:calc(100vh - 270px);overflow:auto}
.solo-workshop-queue li button{width:100%;display:grid;grid-template-columns:2rem minmax(0,1fr);gap:8px;text-align:left;align-items:center;padding:9px;border:1px solid transparent;background:transparent;color:var(--text);border-radius:10px}
.solo-workshop-queue li button:hover,.solo-workshop-queue li button:focus-visible{background:var(--surface);border-color:var(--line)}
.solo-workshop-queue li.current button{background:color-mix(in srgb,var(--violet) 15%,var(--surface));border-color:var(--violet)}
.solo-workshop-queue li.worked button{opacity:.72}.solo-workshop-queue li button span{min-width:0}.solo-workshop-queue li strong,.solo-workshop-queue li small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.solo-workshop-queue li small{color:var(--muted);font-size:.72rem;margin-top:2px}
.solo-workshop-queue li.postponed button{opacity:.72;border-color:var(--amber)}
.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-layout-controls,.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-mobile-tabs,.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-divider,.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-document-pane{display:none}
.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-split{grid-template-columns:minmax(0,1fr) minmax(270px,360px);gap:12px;padding:12px}
.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-queue{display:block}
.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-media-pane{min-width:0}
.solo-workshop-dialog.video-dominant:not(.atelier-open) .solo-workshop-layout-controls,.solo-workshop-dialog.video-dominant:not(.atelier-open) .solo-workshop-mobile-tabs,.solo-workshop-dialog.video-dominant:not(.atelier-open) .solo-workshop-divider,.solo-workshop-dialog.video-dominant:not(.atelier-open) .solo-workshop-document-pane{display:none}
.solo-workshop-dialog.video-dominant:not(.atelier-open) .solo-workshop-split{grid-template-columns:minmax(0,1fr) minmax(270px,360px);gap:12px;padding:12px}
.solo-workshop-dialog.video-dominant:not(.atelier-open) .solo-workshop-media-pane{min-width:0;min-height:0}
@media(max-width:760px){.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-split{display:flex;flex-direction:column;overflow:auto}.solo-workshop-dialog.personal-rehearsal-player:not(.atelier-open) .solo-workshop-media-pane{min-height:360px}.solo-workshop-queue ol{max-height:42vh}.solo-workshop-footer>div{display:grid;grid-template-columns:1fr 1fr}.solo-workshop-footer button{min-height:44px}}
*{box-sizing:border-box} body{margin:0;background:radial-gradient(circle at 80% 5%,#28134a 0,transparent 27%),var(--ink);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;min-height:100vh}
button,input,select,textarea{font:inherit} button{cursor:pointer}.hidden{display:none!important}.muted{color:var(--muted)}.error{color:var(--danger);min-height:1.3em}.eyebrow{color:var(--cyan);letter-spacing:.14em;font-weight:var(--weight-medium);font-size:.72rem;margin:0 0 7px}.glass{background:linear-gradient(135deg,rgba(28,32,57,.94),rgba(15,17,33,.92));border:1px solid var(--line);box-shadow:0 18px 70px #0007;border-radius:var(--radius)}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(430px,100%);padding:42px}.brand-mark,.compact-brand{display:grid;place-items:center;background:linear-gradient(135deg,#382162,#21163c);border:1px solid #7040aa}.brand-mark{width:68px;height:68px;border-radius:20px;font-size:1.25rem;font-weight:var(--weight-medium);margin-bottom:28px}.login-card h1{font-size:2.2rem;margin:0}.login-card form{display:grid;gap:16px;margin-top:28px}
label{display:grid;gap:7px;color:#c8cbe0;font-size:.86rem;font-weight:var(--weight-medium)}input,select,textarea{width:100%;border:1px solid var(--line);background:#0d1020;color:var(--text);border-radius:12px;padding:12px 14px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--violet);box-shadow:0 0 0 3px #ae4bf522}.primary,.secondary{border-radius:13px;padding:12px 18px;font-weight:var(--weight-medium)}.primary{border:0;color:white;background:linear-gradient(90deg,#29cddd,#ae4bf5)}.secondary{border:1px solid var(--line);color:var(--text);background:#171a2c}
.password-field{position:relative;display:block}.password-field input{padding-right:88px}.password-field button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--cyan);font-size:.75rem;font-weight:var(--weight-medium);padding:7px}.text-action{border:0;background:transparent;color:#cf82ff;text-align:center;padding:2px;font-weight:var(--weight-medium)}
.app-shell{min-height:100vh;display:grid;grid-template-columns:96px 1fr}.app-shell aside{position:fixed;inset:0 auto 0 0;width:96px;padding:20px 10px;background:#0b0d19;border-right:1px solid #1e2238;display:flex;flex-direction:column;align-items:center;z-index:2}.compact-brand{width:54px;height:54px;border-radius:16px;font-weight:var(--weight-medium)}.app-shell nav{display:grid;gap:12px;margin-top:48px}.nav-button{width:76px;border:0;background:transparent;color:var(--muted);padding:12px 4px;border-radius:16px;font-size:1.35rem}.nav-button span{display:block;font-size:.7rem;margin-top:5px}.nav-button.active{background:#321752;color:#d785ff}.nav-button.bottom{margin-top:auto}.workspace{grid-column:2;padding:34px 44px 60px;max-width:1800px;width:100%;margin:auto}.workspace>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.workspace h1{margin:0;font-size:2rem}.header-actions{display:flex;gap:14px;align-items:center}.sync-state{color:var(--green);font-size:.82rem}.header-actions select{min-width:190px}
.header-identity{display:flex;align-items:center;gap:14px}.header-identity>img{width:54px;height:54px;border-radius:15px;object-fit:cover;border:1px solid #7040aa;box-shadow:0 8px 25px #5423a855}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.toolbar h2{margin:0}.search{position:relative;width:min(620px,70%)}.search span{position:absolute;left:15px;top:10px;font-size:1.4rem;color:var(--muted)}.search input{padding-left:48px}.count{color:var(--muted)}.content-grid{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(520px,1.2fr);gap:20px;align-items:start}.panel{padding:20px;min-height:520px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.panel-heading h2{margin:0}.song-list{display:grid;gap:9px;max-height:calc(100vh - 230px);overflow:auto;padding-right:5px}.song-row,.setlist-row{border:1px solid transparent;background:#161a30;border-radius:15px;padding:14px 16px;color:var(--text);text-align:left;display:flex;justify-content:space-between;align-items:center;width:100%}.song-row:hover,.setlist-row:hover,.song-row.selected,.setlist-row.selected{border-color:#7b43a9;background:#211a3b}.song-row strong,.setlist-row strong{display:block}.song-row small{display:block;color:var(--muted);margin-top:3px}.bpm-pill{border:1px solid #3b6070;border-radius:999px;color:var(--cyan);padding:5px 9px;font-size:.72rem}.empty-selection{min-height:460px;display:grid;place-content:center;text-align:center;color:var(--muted)}.empty-selection>span{font-size:3rem;color:#7540a7}.editor-form{padding-bottom:24px;border-bottom:1px solid var(--line)}.form-grid,.reference-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wide{grid-column:1/-1}.save-song{margin-top:18px}.references-section{padding-top:24px}.reference-card{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 15px;border:1px solid var(--line);border-radius:14px;margin-bottom:9px}.reference-card a{color:var(--cyan);text-decoration:none}.reference-card small{display:block;color:var(--muted);margin-top:5px}.reference-card button{border:0;background:transparent;color:var(--muted)}.reference-form{padding:17px;background:#0d1020;border-radius:15px;margin-top:12px}.check{display:flex;grid-template-columns:auto 1fr;align-items:center}.check input{width:auto}.inline-actions{display:flex;gap:10px}.setlist-grid{grid-template-columns:340px 1fr}.setlist-list{display:grid;gap:10px}.setlist-song{display:grid;grid-template-columns:74px 1fr auto;gap:14px;align-items:center;padding:12px;border-bottom:1px solid #2a2e47}.setlist-song input{padding:9px}.setlist-song .remove{border:0;background:transparent;color:var(--danger);font-size:1.2rem}.setlist-actions{display:flex;justify-content:flex-end;margin-top:18px}.empty{padding:34px;text-align:center}
.empty-selection .primary{justify-self:center;margin-top:14px}.song-list .empty-selection{min-height:360px}.song-list .empty-selection h3{color:var(--text);margin:10px 0 0}
.add-song-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:14px}
.brand-mark,.compact-brand{display:block;object-fit:cover;background:none;box-shadow:0 8px 28px #5423a855}.brand-mark{font-size:0}.compact-brand{font-size:0}
.home-identity{display:flex;align-items:center;gap:18px;margin-bottom:20px}.home-identity img{width:72px;height:72px;border-radius:20px;object-fit:cover;border:1px solid #7040aa;box-shadow:0 10px 35px #5423a855}.home-identity h2{font-size:2rem;margin:0}.event-hero{position:relative;overflow:hidden;min-height:480px;padding:34px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 78% 30%,#4259dc99,transparent 24%),linear-gradient(135deg,#07112f 5%,#121953 52%,#30135d);border-color:#4989ba}.event-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(112deg,transparent 0 70px,#ffffff06 72px 74px),linear-gradient(180deg,transparent 50%,#050714bb)}.event-hero>*{position:relative}.event-concert{background:radial-gradient(circle at 72% 25%,#ff8d3a88,transparent 20%),radial-gradient(circle at 35% 45%,#813ce788,transparent 28%),linear-gradient(135deg,#15071f,#120a42 55%,#071124)}.event-repetition{background:radial-gradient(circle at 72% 25%,#2e9cff99,transparent 20%),radial-gradient(circle at 38% 55%,#2532bd88,transparent 30%),linear-gradient(135deg,#041532,#101c67 55%,#17083e)}.event-meeting,.event-appointment{background:radial-gradient(circle at 75% 28%,#35d3df66,transparent 22%),linear-gradient(135deg,#071c25,#152245 55%,#22113e)}.event-hero-top{display:flex;justify-content:space-between;align-items:center}.event-type,.countdown,.cancelled-pill{display:inline-flex;border-radius:999px;border:1px solid #4a7893;background:#0b193dcc;padding:9px 15px;color:var(--cyan);font-weight:var(--weight-medium);letter-spacing:.05em}.countdown{color:#fff;border-color:#747994;background:#10142dcc;font-size:1.25rem}.event-hero-main{margin:42px 0 28px}.event-date{display:inline-block;background:#080b20bb;border-radius:10px;padding:8px 12px;font-weight:var(--weight-medium);letter-spacing:.08em}.event-hero-main h2{font-size:clamp(2.7rem,5vw,5rem);line-height:.98;margin:18px 0}.event-place{font-size:1.15rem;color:#d5d9ef}.event-facts{display:grid;grid-template-columns:1fr 1fr;background:#090c24aa;border:1px solid #ffffff12;border-radius:18px;margin-bottom:22px}.event-facts>div{display:grid;grid-template-columns:auto 1fr;column-gap:14px;padding:20px 24px}.event-facts>div+div{border-left:1px solid #ffffff1a}.event-facts span{grid-row:1/3;color:var(--violet);font-size:1.6rem;align-self:center}.event-facts strong{font-size:1.3rem}.event-facts small{color:var(--muted)}.hero-action{border:0;border-radius:18px;padding:17px 25px;color:#fff;font-size:1.05rem;font-weight:var(--weight-medium);background:linear-gradient(90deg,#29cddd,#ae4bf5);display:flex;justify-content:center;gap:16px}.home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.compact-stats{margin-top:20px}.overview-card{padding:24px;display:grid;gap:5px}.overview-card strong{font-size:2.2rem}.overview-card span{color:var(--muted)}
.agenda-toolbar select{width:190px}.agenda-list{display:grid;gap:14px}.agenda-event{display:grid;grid-template-columns:110px 1fr;padding:0;overflow:hidden}.agenda-date{display:grid;place-content:center;text-align:center;background:linear-gradient(145deg,#25184a,#11162d);border-right:1px solid var(--line)}.agenda-date strong{font-size:2.4rem;line-height:1}.agenda-date span{text-transform:uppercase;color:var(--cyan);font-weight:var(--weight-medium);margin-top:6px}.agenda-date small{color:var(--muted)}.agenda-event-body{padding:22px 25px}.agenda-event-top{display:flex;gap:10px;align-items:center}.agenda-event h3{font-size:1.45rem;margin:12px 0 6px}.agenda-event p{color:var(--muted);margin:0}.agenda-meta{display:flex;flex-wrap:wrap;gap:22px;margin-top:17px;color:#d9dcef}.cancelled{opacity:.6}.cancelled-pill{color:var(--danger);border-color:#8b344f;background:#351323;padding:6px 10px;font-size:.72rem}.agenda-note{margin:20px 4px}.agenda-empty{margin-top:15px}.group-editor{padding:28px;display:grid;grid-template-columns:220px minmax(320px,600px);gap:32px;align-items:start}.group-logo-preview img{width:190px;height:190px;border-radius:42px;object-fit:cover;border:1px solid #7040aa;box-shadow:0 18px 45px #0008}.group-editor form{display:grid;gap:17px}.planned-feature{margin-top:18px;padding:22px}.planned-feature h3{margin-top:0}
.members-panel{margin-top:18px;padding:28px}.members-panel>.group-actions,.members-panel>.member-grid,.members-panel>#group-former-members:not(.hidden){margin-bottom:clamp(20px,3vw,32px)}.member-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px}.member-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--surface-2);color:var(--text);opacity:1;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}.member-card:not(.former):hover{border-color:color-mix(in srgb,var(--cyan) 55%,var(--line));box-shadow:0 10px 30px color-mix(in srgb,var(--ink) 24%,transparent);transform:translateY(-1px)}.member-card:focus-within{outline:3px solid color-mix(in srgb,var(--cyan) 32%,transparent);outline-offset:2px}.member-card.former{opacity:.72}.member-avatar{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#2c1c55,#4e2786);color:#fff;font-weight:var(--weight-medium);font-size:1.15rem}.member-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.member-title h3{margin:1px 0 5px;color:var(--text);overflow-wrap:anywhere}.member-title span{color:var(--cyan);font-size:.78rem;font-weight:var(--weight-medium)}.member-copy p{margin:0 0 8px;color:var(--muted)}.access-label{color:#efc55b}.member-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.member-chip{padding:6px 9px;border-radius:999px;font-size:.76rem;border:1px solid var(--line)}.member-chip.instrument{color:var(--cyan);background:color-mix(in srgb,var(--cyan) 12%,var(--surface))}.member-chip.function{color:#ef75bb;background:color-mix(in srgb,#ef75bb 12%,var(--surface))}.privacy-note{margin:0}
.profile-indicator{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-subject,.agenda-subject{border-left:3px solid #f0bd54;background:#090c24c9;border-radius:10px;padding:12px 15px;margin:10px 0 16px}.event-subject strong,.agenda-subject strong{color:#f0bd54;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.event-subject p,.agenda-subject p{margin:5px 0 0!important;color:var(--text)!important;white-space:pre-wrap}.my-profile-card{margin-top:18px;padding:28px;scroll-margin-top:20px}
@media(max-width:900px){.home-grid{grid-template-columns:1fr}.event-hero{min-height:420px;padding:24px}.event-facts{grid-template-columns:1fr}.event-facts>div+div{border-left:0;border-top:1px solid #ffffff1a}.agenda-event{grid-template-columns:82px 1fr}.group-editor{grid-template-columns:1fr}.group-logo-preview img{width:130px;height:130px}}
@media(max-width:900px){.app-shell{grid-template-columns:72px 1fr}.app-shell aside{width:72px}.nav-button{width:58px}.workspace{padding:25px 20px}.content-grid,.setlist-grid{grid-template-columns:1fr}.song-list{max-height:420px}.workspace>header{align-items:flex-start;gap:16px}.header-actions{align-items:flex-end;flex-direction:column}}
.toolbar-actions,.dialog-actions{display:flex;align-items:center;gap:12px}.agenda-spacer{flex:1}.secondary.compact{padding:8px 12px}.event-dialog{width:min(760px,calc(100vw - 32px));color:var(--text);padding:28px;border:1px solid var(--line)}.event-dialog::backdrop{background:#02030bcc;backdrop-filter:blur(5px)}.event-dialog .editor-form{display:grid;gap:20px}.dialog-actions{justify-content:flex-end}.danger-action{border:1px solid #9b3554;background:#351323;color:#ff9bb8;border-radius:12px;padding:12px 18px;font-weight:var(--weight-medium);margin-right:auto}.icon-action{border:0;background:transparent;color:var(--muted);font-size:2rem}.event-dialog select{width:100%}
.place-actions{display:flex;gap:10px;margin:0 0 14px}.place-actions a{text-decoration:none;text-align:center}.event-hero.visual-0:after,.event-hero.visual-1:after,.event-hero.visual-2:after,.event-hero.visual-3:after{content:"";position:absolute;inset:-25%;pointer-events:none;opacity:.34;mix-blend-mode:screen}.event-hero.visual-0:after{background:radial-gradient(circle at 18% 35%,#20d9ff 0 2%,transparent 20%),radial-gradient(circle at 82% 65%,#a44cff 0 3%,transparent 25%)}.event-hero.visual-1:after{background:linear-gradient(118deg,transparent 22%,#4be8ff55 23% 24%,transparent 25% 60%,#ae4bf555 61% 62%,transparent 63%)}.event-hero.visual-2:after{background:repeating-radial-gradient(ellipse at 72% 22%,#ffffff18 0 3px,transparent 4px 38px)}.event-hero.visual-3:after{background:conic-gradient(from 210deg at 75% 30%,transparent,#8657ff66,transparent 32%,#28d6df55,transparent 58%)}.event-hero.visual-0>* , .event-hero.visual-1>* , .event-hero.visual-2>* , .event-hero.visual-3>*{z-index:1}.event-studio{background:radial-gradient(circle at 70% 25%,#f553bd77,transparent 22%),linear-gradient(135deg,#160923,#23205c 58%,#071b2b)}.event-photo-video{background:radial-gradient(circle at 75% 25%,#ffc45c77,transparent 22%),linear-gradient(135deg,#21120a,#57225b 54%,#0a2630)}.visual-strip-0{border-left:3px solid #25d9e8}.visual-strip-1{border-left:3px solid #a94df4}.visual-strip-2{border-left:3px solid #ffbf53}.visual-strip-3{border-left:3px solid #ff4d94}
.venue-picker{display:grid;gap:7px;align-content:end}.venue-picker button{justify-self:start}.venue-create-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.venue-create-form .wide{grid-column:1/-1}@media(max-width:520px){.venue-create-form{grid-template-columns:1fr}.venue-create-form .wide{grid-column:auto}}
@media(max-width:700px){.agenda-toolbar,.toolbar-actions,.agenda-event-top{align-items:stretch;flex-direction:column}.agenda-toolbar select{width:100%}.agenda-spacer{display:none}}

.agenda-date-primary{color:var(--text)!important;font-weight:var(--weight-medium);margin-top:12px!important;text-transform:capitalize}
.setlist-version-summary{color:var(--ui-text-secondary,var(--muted));flex-basis:100%}
.canonical-rehearsal-actions small{color:var(--ui-text-secondary,var(--muted));max-width:32rem}
@media(max-width:700px){.agenda-event{grid-template-columns:68px minmax(0,1fr)}.agenda-event-body{padding:18px 16px}.agenda-event-top button{width:100%}}
.personal-work { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.work-status-actions, .session-entry { display: flex; gap: .5rem; align-items: center; margin: .65rem 0; }
.work-status-actions button, .session-entry button { width: auto; }
.work-items article { padding: .8rem; margin: .6rem 0; border: 1px solid rgba(168,85,247,.3); border-radius: .8rem; }
.work-items article button { margin: .45rem .35rem 0 0; width: auto; }
.session-entry span { flex: 1; }
.private-note-deletion-state{margin:.75rem 0;padding:.75rem .9rem;border:1px solid var(--line);border-radius:.8rem;background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--muted);font-size:.9rem}
.private-note-trash,.private-note-archives{margin-top:.85rem;border:1px solid var(--line);border-radius:.9rem;padding:.75rem;background:color-mix(in srgb,var(--surface) 84%,transparent)}
.private-note-trash summary,.private-note-archives summary{cursor:pointer;font-weight:var(--weight-medium);min-height:2.75rem;display:flex;align-items:center}
.private-note-trash button:disabled,[data-delete-private-note]:disabled{cursor:not-allowed;opacity:.55}
.personal-work-dates{display:block;margin-top:.45rem;color:var(--muted);font-size:.78rem;line-height:1.35}
@media(max-width:700px){.inline-actions{flex-wrap:wrap}.work-items article button{min-height:2.75rem}.private-note-trash,.private-note-archives{padding:.65rem}}

/* ===== WEB PARITÉ TABLETTE #001A ===== */

.song-detail-shell{
  display:grid;
  gap:18px;
}

.song-detail-header{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.song-artwork-placeholder{
  width:68px;
  height:68px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:2rem;
  font-weight:var(--weight-medium);
  color:var(--cyan);
  border:1px solid #7040aa;
  background:linear-gradient(145deg,#271849,#10152d);
  box-shadow:0 10px 28px #0007;
}

.song-detail-identity{
  min-width:0;
}

.song-detail-identity h2{
  margin:0;
  font-size:clamp(1.7rem,3vw,2.5rem);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.song-detail-artist{
  margin:5px 0 0;
  color:var(--muted);
  font-size:1rem;
}

.song-detail-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.song-open-work{
  width:100%;
}

.song-detail-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.song-detail-tab{
  border:1px solid var(--line);
  border-radius:13px;
  padding:11px 8px;
  background:#15182c;
  color:var(--muted);
  font-weight:var(--weight-medium);
  letter-spacing:.03em;
}

.song-detail-tab:hover{
  border-color:#76509b;
  color:var(--text);
}

.song-detail-tab.active{
  color:#fff;
  border-color:#8447bb;
  background:#321752;
  box-shadow:inset 0 0 0 1px #ae4bf533;
}

.song-tab-panel{
  min-height:350px;
}

.song-tab-coming{
  min-height:330px;
  display:grid;
  place-content:center;
  text-align:center;
  color:var(--muted);
}

.song-tab-coming span{
  color:var(--violet);
  font-size:3rem;
}

.song-tab-coming h3{
  color:var(--text);
  margin:12px 0 4px;
}

.song-tab-coming p{
  max-width:460px;
}

.song-tab-panel .editor-form{
  margin-bottom:24px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#0d1020;
}

.song-tab-panel .references-section{
  padding-top:0;
}

#web-work-host .personal-work{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

@media(max-width:700px){
  .song-detail-header{
    grid-template-columns:54px minmax(0,1fr);
  }

  .song-artwork-placeholder{
    width:54px;
    height:54px;
    border-radius:15px;
  }

  .song-detail-actions{
    grid-column:1/-1;
  }

  .song-detail-actions .secondary{
    width:100%;
  }

  .song-detail-tabs{
    gap:5px;
  }

  .song-detail-tab{
    padding:10px 3px;
    font-size:.74rem;
  }
}

/* ===== WEB PARITÉ TABLETTE #001A ===== */

.song-detail-shell{
  display:grid;
  gap:18px;
}

.song-detail-header{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.song-artwork-placeholder{
  width:68px;
  height:68px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:2rem;
  font-weight:var(--weight-medium);
  color:var(--cyan);
  border:1px solid #7040aa;
  background:linear-gradient(145deg,#271849,#10152d);
  box-shadow:0 10px 28px #0007;
}

.song-detail-identity{
  min-width:0;
}

.song-detail-identity h2{
  margin:0;
  font-size:clamp(1.7rem,3vw,2.5rem);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.song-detail-artist{
  margin:5px 0 0;
  color:var(--muted);
  font-size:1rem;
}

.song-detail-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.song-open-work{
  width:100%;
}

.song-detail-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.song-detail-tab{
  border:1px solid var(--line);
  border-radius:13px;
  padding:11px 8px;
  background:#15182c;
  color:var(--muted);
  font-weight:var(--weight-medium);
  letter-spacing:.03em;
}

.song-detail-tab:hover{
  border-color:#76509b;
  color:var(--text);
}

.song-detail-tab.active{
  color:#fff;
  border-color:#8447bb;
  background:#321752;
  box-shadow:inset 0 0 0 1px #ae4bf533;
}

.song-tab-panel{
  min-height:350px;
}

.song-tab-coming{
  min-height:330px;
  display:grid;
  place-content:center;
  text-align:center;
  color:var(--muted);
}

.song-tab-coming span{
  color:var(--violet);
  font-size:3rem;
}

.song-tab-coming h3{
  color:var(--text);
  margin:12px 0 4px;
}

.song-tab-coming p{
  max-width:460px;
}

.song-tab-panel .editor-form{
  margin-bottom:24px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#0d1020;
}

.song-tab-panel .references-section{
  padding-top:0;
}

#web-work-host .personal-work{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

@media(max-width:700px){
  .song-detail-header{
    grid-template-columns:54px minmax(0,1fr);
  }

  .song-artwork-placeholder{
    width:54px;
    height:54px;
    border-radius:15px;
  }

  .song-detail-actions{
    grid-column:1/-1;
  }

  .song-detail-actions .secondary{
    width:100%;
  }

  .song-detail-tabs{
    gap:5px;
  }

  .song-detail-tab{
    padding:10px 3px;
    font-size:.74rem;
  }
}

/* ===== WEB PARITÉ TABLETTE #001B — ARTWORKS ===== */

.repertoire-state-filters{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:-6px 0 16px;
}
.repertoire-state-filters button{
  min-height:44px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#12162a;
  color:var(--muted);
  font-weight:var(--weight-medium);
}
.repertoire-state-filters button.selected{border-color:#a969e3;background:#2a1d42;color:#fff}
.song-card{display:grid;gap:6px}
.song-card-actions{display:flex;flex-wrap:wrap;gap:6px;padding:0 6px 5px}
.song-card-actions button{min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:#111528;color:var(--text);font-size:.72rem}
.media-library-tools{justify-content:flex-start}
.media-library-tools .search{flex:1}
.media-library-tools select{min-height:44px;max-width:230px}
.media-resource-summary{display:flex;gap:6px;overflow-x:auto;padding:0 6px 2px;scrollbar-width:thin}
.media-resource-chip{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;min-height:32px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:#111528;font-size:.7rem}
.media-resource-chip strong{font-size:.72rem}.media-resource-chip small{color:var(--muted)}
.media-resource-chip em{padding:2px 6px;border-radius:999px;background:#29203f;color:#d6b9ff;font-style:normal;font-weight:var(--weight-medium)}
.media-resource-empty{padding:3px 2px;color:var(--muted);font-size:.73rem}
.repertoire-state-pill{border-radius:999px;padding:5px 8px;font-size:.67rem;font-weight:var(--weight-medium);white-space:nowrap}
.repertoire-state-pill.active{color:#83e5b0;background:#16372d}
.repertoire-state-pill.pending{color:#ffc56e;background:#3b2b18}
.repertoire-state-pill.shelved{color:var(--muted);background:#272936}

@media(max-width:700px){.repertoire-state-filters{grid-template-columns:1fr 1fr}.media-library-tools{align-items:stretch;flex-direction:column}.media-library-tools .search{width:100%}.media-library-tools select{width:100%;max-width:none}}

.song-row{
  grid-template-columns:46px minmax(0,1fr) auto;
  gap:12px;
}

.song-row-artwork{
  width:42px;
  height:42px;
  border-radius:12px;
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:none;
  border:1px solid #ffffff18;
  background:linear-gradient(145deg,#271849,#10152d);
  color:var(--cyan);
  font-size:1.2rem;
}

.song-row-artwork img,
.song-artwork-placeholder img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.song-row-copy{
  min-width:0;
}

.song-row-copy strong,
.song-row-copy small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


/* ===== WEB PARITÉ TABLETTE #001C ===== */

.content-grid{
  grid-template-columns:minmax(390px,.92fr) minmax(620px,1.35fr);
  gap:22px;
}

.song-list{
  gap:8px;
}

.song-row{
  min-height:64px;
  padding:10px 12px;
  align-items:center;
}

.song-row-artwork{
  width:48px;
  height:48px;
  border-radius:14px;
}

.song-row-copy strong{
  font-size:.94rem;
}

.song-row-copy small{
  margin-top:4px;
  font-size:.76rem;
}

.song-detail-header{
  min-height:104px;
  padding:14px 4px 20px;
}

.song-artwork-placeholder{
  width:84px;
  height:84px;
  border-radius:22px;
  font-size:2.35rem;
}

.song-detail-identity h2{
  font-size:clamp(2rem,3vw,2.8rem);
  line-height:1.05;
}

.song-detail-artist{
  font-size:1.05rem;
  margin-top:7px;
}

.song-header-status{
  display:inline-flex;
  width:max-content;
  margin-top:9px;
  border-radius:999px;
  padding:6px 11px;
  font-size:.72rem;
  font-weight:var(--weight-medium);
  border:1px solid transparent;
}

.song-header-status.status-acquired{
  color:#79e5b8;
  background:#11372c;
  border-color:#2e7f62;
}

.song-header-status.status-review{
  color:#ffd477;
  background:#3a2a0f;
  border-color:#806326;
}

.song-header-status.status-problem{
  color:#ff8eaa;
  background:#3a1320;
  border-color:#8d3852;
}

.song-open-work{
  min-height:48px;
  font-size:.95rem;
}

.song-detail-tabs{
  margin-top:4px;
}

.song-detail-tab{
  min-height:46px;
}

.references-section > .panel-heading{
  margin-top:3px;
  margin-bottom:14px;
}

#reference-list{
  display:grid;
  gap:10px;
}

.resource-card{
  display:grid;
  grid-template-columns:82px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:17px;
  background:linear-gradient(145deg,#15192f,#101326);
}

.resource-card:hover{
  border-color:#7550a1;
  background:linear-gradient(145deg,#191d38,#12152b);
}

.resource-kind{
  min-height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid #ffffff17;
  background:#22183c;
  color:var(--cyan);
  font-size:.68rem;
  font-weight:var(--weight-medium);
  letter-spacing:.06em;
}

.resource-copy{
  min-width:0;
}

.resource-title{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.resource-copy strong{
  font-size:.95rem;
}

.resource-copy small{
  display:block;
  color:var(--muted);
  margin-top:4px;
}

.resource-copy a{
  display:inline-block;
  margin-top:7px;
  color:var(--cyan);
  text-decoration:none;
  font-size:.8rem;
  font-weight:var(--weight-medium);
}

.resource-primary{
  border-radius:999px;
  padding:3px 7px;
  background:#332050;
  color:#dca1ff;
  font-size:.63rem;
  font-weight:var(--weight-medium);
}

.resource-delete{
  border:0;
  background:transparent;
  color:#777d98;
  font-size:1.15rem;
  padding:8px;
}

.resource-delete:hover{
  color:var(--danger);
}

.resource-empty{
  min-height:170px;
  display:grid;
  place-content:center;
  text-align:center;
  color:var(--muted);
}

.resource-empty span{
  font-size:2.4rem;
  color:var(--violet);
}

.editor-form.hidden{
  display:none!important;
}

@media(max-width:1100px){
  .content-grid{
    grid-template-columns:340px minmax(0,1fr);
  }
}

@media(max-width:900px){
  .content-grid{
    grid-template-columns:1fr;
  }
}


/* ===== PARITÉ RESSOURCES #002B ===== */

.resource-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#191d35;
  border:1px solid #ffffff16;
  font-size:1.75rem;
}

.resource-card{
  grid-template-columns:58px minmax(0,1fr) auto;
}

.resource-type,
.resource-purpose{
  display:inline-flex;
  border-radius:999px;
  padding:3px 8px;
  font-size:.62rem;
  font-weight:var(--weight-medium);
  border:1px solid #ffffff16;
}

.resource-type{
  color:var(--cyan);
  background:#102b34;
}

.resource-purpose{
  color:#f1c76c;
  background:#322811;
}

.resource-local{
  display:inline-block;
  margin-top:7px;
  color:#d0a65d;
  font-size:.75rem;
}

.resource-reference .resource-icon{
  background:#1b2039;
}

.resource-document .resource-icon{
  background:#20203a;
}

.resource-playback .resource-icon{
  background:#162d34;
}

/* ===== UX LINKS + WORK DIRECT ===== */

.resource-clickable{
  cursor:pointer;
}

.resource-clickable:hover{
  transform:translateY(-1px);
}

.resource-clickable .resource-copy a{
  pointer-events:none;
}

#song-tab-work .web-work{
  display:block;
}


/* ===== UX PACK ROCK #001 ===== */

.setlist-stage{
  display:grid;
  gap:18px;
}

.setlist-rock-hero{
  position:relative;
  overflow:hidden;
  padding:26px;
  border:1px solid #7345a6;
  border-radius:26px;
  background:
    radial-gradient(circle at 82% 15%,#ff9f3c44,transparent 23%),
    radial-gradient(circle at 12% 85%,#27d9ec33,transparent 26%),
    linear-gradient(135deg,#090b18,#241344 55%,#101730);
  box-shadow:0 18px 50px #0007;
}

.setlist-rock-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background:
    repeating-linear-gradient(
      112deg,
      transparent 0 78px,
      #ffffff0b 79px 81px
    );
}

.setlist-rock-identity{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:18px;
}

.setlist-rock-identity img{
  width:88px;
  height:88px;
  object-fit:cover;
  border-radius:22px;
  border:1px solid #9862d8;
  box-shadow:
    0 0 0 5px #ffffff08,
    0 12px 35px #692bb966;
}

.setlist-rock-identity h2{
  margin:2px 0 5px;
  font-size:clamp(1.8rem,3vw,3rem);
}

.setlist-rock-identity p{
  margin:0;
  color:var(--muted);
}

.rehearsal-launch{
  position:relative;
  z-index:1;
  width:100%;
  margin-top:24px;
  border:0;
  border-radius:18px;
  padding:17px 24px;
  color:#130b00;
  background:linear-gradient(90deg,#ffae3d,#ff7948);
  font-size:1.05rem;
  font-weight:var(--weight-medium);
  letter-spacing:.04em;
  box-shadow:0 12px 32px #ff8a3c38;
}

.rehearsal-launch:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}

.rehearsal-launch:disabled{
  opacity:.4;
  cursor:not-allowed;
}

.setlist-rock-tools{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
}

.setlist-rock-tools .add-song-row{
  margin:0;
  flex:1;
}

.setlist-ready-count{
  color:#83e5b0;
  font-weight:var(--weight-medium);
  white-space:nowrap;
}

.setlist-rock-list{
  display:grid;
  gap:11px;
}

.setlist-rock-song{
  display:grid;
  grid-template-columns:70px minmax(0,1fr) 42px;
  align-items:center;
  gap:14px;
  padding:16px;
  border-radius:19px;
  border:1px solid #282d48;
  background:linear-gradient(145deg,#171a31ee,#0f1225ee);
  transition:.16s ease;
}

.setlist-rock-song:hover{
  border-color:#7041a7;
  transform:translateY(-1px);
  box-shadow:0 10px 26px #0005;
}

.setlist-rock-song.song-ready{
  border-left:3px solid #39d8a0;
}

.setlist-rock-song.song-missing{
  border-left:3px solid #ffad45;
}

.setlist-position{
  width:58px;
  height:52px;
  padding:0;
  text-align:center;
  border-radius:14px;
  font-size:1.35rem;
  font-weight:var(--weight-medium);
  color:#fff;
  background:#090c1d;
  border:1px solid #4b3769;
}

.setlist-song-content{
  min-width:0;
}

.setlist-song-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.setlist-song-heading strong{
  display:block;
  font-size:1.08rem;
  color:#fff;
}

.setlist-song-heading .muted{
  display:block;
  margin-top:3px;
  font-size:.86rem;
}

.song-state{
  flex:none;
  padding:5px 9px;
  border-radius:999px;
  font-size:.67rem;
  letter-spacing:.06em;
  font-weight:var(--weight-medium);
}

.song-state.ready{
  color:#70f0b0;
  border:1px solid #286f50;
  background:#123526;
}

.song-state.missing{
  color:#ffc36b;
  border:1px solid #745121;
  background:#352410;
}

.setlist-media-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-top:11px;
}

.media-chip,
.open-workshop-inline,
.media-external,
.add-media-inline{
  min-height:31px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  font-size:.74rem;
  font-weight:var(--weight-medium);
  text-decoration:none;
}

.open-workshop-inline{
  border:1px solid currentColor;
  cursor:pointer;
}

.media-external{
  border:1px solid transparent;
  text-decoration:underline;
  text-underline-offset:3px;
}

.media-chip{
  color:#72e8f2;
  background:#0d3039;
  border:1px solid #246674;
}

.media-backing_track{
  color:#d8a0ff;
  background:#32164b;
  border-color:#6e3c91;
}

.media-tab_video{
  color:#8fd2ff;
  background:#102b49;
  border-color:#285b82;
}

.media-original{
  color:#ffcf78;
  background:#38270e;
  border-color:#725321;
}

.media-live,
.media-group_version{
  color:#ff8eb8;
  background:#43172b;
  border-color:#873354;
}

.media-empty{
  color:#7f849b;
  font-size:.76rem;
}

.add-media-inline{
  color:#ddd4f6;
  background:#211d35;
  border:1px dashed #62577b;
}

.setlist-rock-song .remove{
  border:0;
  background:transparent;
  color:#ff7596;
  font-size:1.35rem;
}

.setlist-actions{
  flex-wrap:wrap;
  gap:10px;
}

@media(max-width:700px){
  .setlist-rock-hero{
    padding:20px;
  }

  .setlist-rock-identity img{
    width:64px;
    height:64px;
    border-radius:18px;
  }

  .setlist-rock-tools{
    align-items:stretch;
    flex-direction:column;
  }

  .setlist-rock-song{
    grid-template-columns:54px minmax(0,1fr) 32px;
    padding:13px;
    gap:10px;
  }

  .setlist-position{
    width:48px;
    height:48px;
    font-size:1.05rem;
  }

  .setlist-song-heading{
    flex-direction:column;
    gap:7px;
  }
}


/* ROCK PACK #001 - layout large */
.setlist-grid{
  grid-template-columns:240px minmax(0,1fr) !important;
  gap:14px !important;
}

#setlists-page .panel{
  min-width:0;
}

#setlists-page .content-grid{
  max-width:none;
}

#setlist-editor{
  width:100%;
}

@media(min-width:1400px){
  .workspace{
    max-width:2100px;
    padding-left:28px;
    padding-right:28px;
  }

  .setlist-grid{
    grid-template-columns:220px minmax(0,1fr) !important;
  }
}


/* Artworks artistes dans Setlist */
.setlist-rock-song{
  grid-template-columns:70px 58px minmax(0,1fr) 42px;
}

.setlist-artist-art{
  width:58px;
  height:58px;
}

.setlist-artist-art img,
.setlist-artist-fallback{
  width:58px;
  height:58px;
  border-radius:14px;
}

.setlist-artist-art img{
  object-fit:cover;
  border:1px solid #7041a7;
  box-shadow:0 8px 22px #0006;
}

.setlist-artist-fallback{
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#241344,#101730);
  color:#72e8f2;
  border:1px solid #3e466d;
  font-size:1.3rem;
}

@media(max-width:700px){
  .setlist-rock-song{
    grid-template-columns:48px 48px minmax(0,1fr) 30px;
  }

  .setlist-artist-art,
  .setlist-artist-art img,
  .setlist-artist-fallback{
    width:48px;
    height:48px;
  }
}


/* ROCK PACK #001 - cartes pleine hauteur */
.setlist-rock-song{
  display:grid;
  grid-template-columns:64px 92px minmax(0,1fr) 42px;
  align-items:stretch;
  gap:0;
  padding:0;
  overflow:hidden;
  min-height:92px;
}

.setlist-position{
  width:100%;
  height:100%;
  min-height:92px;
  border:0;
  border-right:1px solid #34264e;
  border-radius:0;
  background:linear-gradient(180deg,#0a0d1c,#151027);
  font-size:1.55rem;
  font-weight:var(--weight-medium);
}

.setlist-artist-art{
  width:92px;
  height:100%;
  min-height:92px;
}

.setlist-artist-art img,
.setlist-artist-fallback{
  width:100%;
  height:100%;
  min-height:92px;
  border-radius:0;
  border:0;
  object-fit:cover;
}

.setlist-artist-fallback{
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#241344,#101730);
  font-size:1.5rem;
  color:#72e8f2;
}

.setlist-song-content{
  padding:14px 16px;
  align-self:center;
}

.setlist-rock-song .remove{
  align-self:center;
}

@media(max-width:700px){
  .setlist-rock-song{
    grid-template-columns:50px 66px minmax(0,1fr) 30px;
    min-height:78px;
  }

  .setlist-position{
    min-height:78px;
    font-size:1.15rem;
  }

  .setlist-artist-art,
  .setlist-artist-art img,
  .setlist-artist-fallback{
    width:66px;
    min-height:78px;
  }

  .setlist-song-content{
    padding:11px 12px;
  }
}


/* ROCK PACK #001 - logo groupe plus present */
.setlist-rock-identity{
  gap:24px;
}

.setlist-rock-identity img{
  width:132px;
  height:132px;
  border-radius:28px;
  flex:none;
  border:2px solid #9862d8;
  box-shadow:
    0 0 0 6px #ffffff08,
    0 16px 42px #692bb977;
}

.setlist-rock-identity h2{
  font-size:clamp(2.3rem,3.8vw,4rem);
  line-height:.95;
}

@media(max-width:700px){
  .setlist-rock-identity img{
    width:86px;
    height:86px;
    border-radius:21px;
  }

  .setlist-rock-identity h2{
    font-size:2rem;
  }
}


/* ROCK PACK #001 - logo groupe equilibre */
.setlist-rock-identity img{
  width:96px;
  height:96px;
  border-radius:22px;
}

@media(max-width:700px){
  .setlist-rock-identity img{
    width:72px;
    height:72px;
    border-radius:18px;
  }
}


.resource-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

.resource-edit,
.resource-delete{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  border:1px solid #ffffff14 !important;
  background:#15182a !important;
}

.resource-edit{
  color:#72e8f2 !important;
}

.resource-delete{
  color:#ff7596 !important;
}


.resource-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

.resource-edit,
.resource-delete{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  border:1px solid #ffffff14 !important;
  background:#15182a !important;
}

.resource-edit{
  color:#72e8f2 !important;
}

.resource-delete{
  color:#ff7596 !important;
}


.setlist-drag-handle {
  width: 38px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(153, 91, 255, .12);
  color: #b991ff;
  font-size: 25px;
  font-weight:var(--weight-medium);
  cursor: grab;
  flex: 0 0 auto;
}

.setlist-drag-handle:active {
  cursor: grabbing;
}

.setlist-rock-song.dragging {
  opacity: .55;
  transform: scale(.985);
}

.setlist-rock-song.drag-over {
  transform: translateY(3px);
  outline: 2px solid rgba(53, 202, 215, .72);
  box-shadow: 0 0 24px rgba(53, 202, 215, .16);
}


/* SETLIST CANONIQUE - layout corrige apres ajout drag handle */

.setlist-rock-song {
  grid-template-columns: 44px 58px 76px minmax(0, 1fr) 42px;
  min-height: 84px;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.setlist-drag-handle {
  width: 44px;
  height: 100%;
  min-height: 84px;
  border-radius: 0;
  border-right: 1px solid #34264e;
  background: rgba(153, 91, 255, .10);
  display: grid;
  place-items: center;
  align-self: stretch;
}

.setlist-position {
  width: 58px;
  height: 100%;
  min-height: 84px;
  font-size: 1.25rem;
}

.setlist-artist-art,
.setlist-artist-art img,
.setlist-artist-fallback {
  width: 76px;
  height: 84px;
  min-height: 84px;
}

.setlist-song-content {
  min-width: 0;
  padding: 10px 16px;
  align-self: center;
}

.setlist-song-heading {
  align-items: center;
  gap: 16px;
}

.setlist-media-row {
  margin-top: 7px;
  justify-content: center;
  gap: 7px;
}

.setlist-rock-song .remove {
  width: 42px;
  align-self: center;
  justify-self: center;
}

@media(max-width:700px) {
  .setlist-rock-song {
    grid-template-columns: 36px 46px 58px minmax(0, 1fr) 34px;
    min-height: 72px;
  }

  .setlist-drag-handle {
    width: 36px;
    min-height: 72px;
    font-size: 20px;
  }

  .setlist-position {
    width: 46px;
    min-height: 72px;
    font-size: 1rem;
  }

  .setlist-artist-art,
  .setlist-artist-art img,
  .setlist-artist-fallback {
    width: 58px;
    height: 72px;
    min-height: 72px;
  }

  .setlist-song-content {
    padding: 8px 10px;
  }

  .setlist-media-row {
    justify-content: flex-start;
  }
}


/* =========================================================
   JOUER WEB - fondation transverse Android / Web
   ========================================================= */

.play-web-hero{
  margin-bottom:18px;
}

.play-web-hero h2{
  margin:0 0 6px;
  font-size:clamp(1.7rem,3vw,2.4rem);
}

.play-mode-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.play-mode-card{
  min-height:150px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 30px;
  align-items:center;
  gap:14px;
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  color:var(--text);
  text-align:left;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}

.play-mode-card:hover{
  transform:translateY(-3px);
}

.play-mode-card strong{
  display:block;
  font-size:1.15rem;
  margin-bottom:7px;
}

.play-mode-card p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}

.play-mode-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  font-size:1.35rem;
  font-weight:var(--weight-medium);
}

.play-mode-arrow{
  font-size:1.5rem;
  font-weight:var(--weight-medium);
}

.play-learn{
  background:linear-gradient(145deg,rgba(18,60,73,.92),rgba(10,22,34,.96));
  border-color:rgba(53,202,215,.35);
}

.play-learn .play-mode-icon,
.play-learn .play-mode-arrow{
  color:#35cad7;
}

.play-solo{
  background:linear-gradient(145deg,rgba(53,28,89,.94),rgba(19,17,40,.98));
  border-color:rgba(153,91,255,.38);
}

.play-solo .play-mode-icon,
.play-solo .play-mode-arrow{
  color:#b991ff;
}

.play-group{
  background:linear-gradient(145deg,rgba(88,49,16,.94),rgba(27,18,20,.98));
  border-color:rgba(255,173,69,.40);
}

.play-group .play-mode-icon,
.play-group .play-mode-arrow{
  color:#ffad45;
}

.play-stage-card{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  background:linear-gradient(145deg,#111426,#090b16);
}

.play-stage-card h3{
  margin:0 0 4px;
}

.play-stage-card p{
  margin:0;
}

.play-workspace{
  margin-top:18px;
}

.play-placeholder{
  padding:22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:#111426;
}

.play-placeholder h3{
  margin:0 0 8px;
}

.play-placeholder p{
  color:var(--muted);
}

.play-placeholder-learn{border-left:3px solid #35cad7}
.play-placeholder-solo{border-left:3px solid #995bff}
.play-placeholder-group{border-left:3px solid #ffad45}
.play-placeholder-stage{border-left:3px solid #39d8a0}

@media(max-width:900px){
  .play-mode-grid{
    grid-template-columns:1fr;
  }

  .play-mode-card{
    min-height:110px;
  }

  .play-stage-card{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* =========================================================
   SHELL WEB - alignement vertical canonique
   ========================================================= */

.page{
  margin:0;
  padding-top:0;
}

.page > :first-child{
  margin-top:0;
}

#home-page,
#agenda-page,
#songs-page,
#play-page,
#setlists-page,
#group-page{
  padding-top:0;
}

.toolbar,
.play-web-hero{
  min-height:52px;
  margin-top:0;
  margin-bottom:16px;
}

#home-page > .event-hero{
  margin-top:0;
}

#group-page > .toolbar,
#agenda-page > .toolbar,
#setlists-page > .toolbar,
#play-page > .play-web-hero{
  margin-top:0;
}

/* =========================================================
   RESSOURCES - aide YouTube canonique tous UX Packs
   ========================================================= */

.reference-url-block{
  display:grid;
  gap:9px;
  align-content:start;
}

.youtube-search-button{
  width:100%;
  min-height:42px;
}

.reference-howto{
  padding:12px 14px;
  border:1px solid rgba(53,202,215,.20);
  border-radius:13px;
  background:rgba(53,202,215,.055);
}

.reference-howto strong{
  display:block;
  margin-bottom:5px;
  color:var(--cyan);
  font-size:.82rem;
}

.reference-howto p{
  margin:0 0 5px;
  color:var(--text);
  font-size:.78rem;
  line-height:1.45;
}

.reference-howto small{
  display:block;
  color:var(--muted);
  line-height:1.4;
}

@media(max-width:700px){
  .reference-url-block{
    grid-column:1/-1;
  }
}


/* =========================================================
   SHELL WEB - ancrage vertical canonique
   Toutes les pages commencent exactement au meme niveau
   ========================================================= */

.workspace{
  margin:0 auto;
  align-self:start;
}

.workspace > header{
  margin-top:0;
}

.page{
  align-self:start;
}


.update-banner {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(18, 24, 44, 0.96);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

.update-banner.hidden {
  display: none;
}

.update-banner button {
  cursor: pointer;
}

.member-access-panel {
  margin-top: 20px;
}

.member-admin-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px 18px;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.member-admin-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.member-admin-copy strong {
  font-size: 15px;
}

.member-admin-copy small {
  line-height: 1.35;
  opacity: .72;
}

.member-admin-switch-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
}

.member-admin-switch-wrap input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.member-admin-switch {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  transition: .18s ease;
  pointer-events: none;
}

.member-admin-switch::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: .18s ease;
}

.member-admin-switch-wrap input:checked + .member-admin-switch {
  background: currentColor;
}

.member-admin-switch-wrap input:checked + .member-admin-switch::after {
  transform: translateX(20px);
}

.member-admin-switch-wrap input:focus-visible + .member-admin-switch {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.member-card.current-member {
  border-color: rgba(34, 211, 238, .75);
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, .16),
    rgba(34, 211, 238, .04)
  );
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .18);
}

.member-card.current-member .member-avatar {
  border-color: rgba(34, 211, 238, .85);
}

.member-profile-category{display:block;margin-top:12px;color:var(--muted);font-size:.72rem;font-weight:var(--weight-medium);letter-spacing:.08em;text-transform:uppercase}.member-chip.musical-function{color:#c9a7ff;background:color-mix(in srgb,#9c6cff 15%,var(--surface));border-color:color-mix(in srgb,#9c6cff 38%,var(--line))}.member-profile-actions{display:flex;justify-content:flex-end;margin:16px 0;position:sticky;bottom:-14px;z-index:5;padding:12px 0;background:linear-gradient(180deg,transparent 0,var(--surface,rgba(15,17,24,.98)) 24%)}.member-edit-form{margin-top:12px;padding-top:14px;border-top:1px solid var(--line)}.member-edit-form select[multiple]{min-height:150px}.member-edit-suppressed{display:none!important}#member-dialog{max-height:min(92vh,960px);overflow:auto}
.member-resource-panel{margin-top:18px;padding:22px}.member-resource-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.member-resource-tabs button{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);border-radius:999px;padding:9px 14px}.member-resource-tabs button.active{background:linear-gradient(120deg,var(--cyan),var(--purple));color:#fff;border-color:transparent}.member-resource-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.member-resource-filters label{display:grid;gap:6px}.member-resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.member-resource-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:15px;padding:14px;display:grid;gap:9px}.member-resource-card header{display:flex;gap:10px;align-items:flex-start}.member-resource-card header div{flex:1}.member-resource-card h3{margin:0;font-size:1rem}.member-resource-card p,.member-resource-card small{margin:0}.member-resource-badges{display:flex;flex-wrap:wrap;gap:6px}.member-resource-badge{font-size:.76rem;border:1px solid color-mix(in srgb,var(--cyan) 45%,var(--border));border-radius:999px;padding:4px 8px}.member-resource-badge.private{border-color:color-mix(in srgb,var(--purple) 55%,var(--border))}.member-resource-badge.shared{border-color:color-mix(in srgb,#4ade80 55%,var(--border));color:#35a85f}.member-resource-create{margin-top:18px;border-top:1px solid var(--border);padding-top:14px}.member-resource-create summary{cursor:pointer;font-weight:800}.member-resource-create form{margin-top:14px}.member-resource-empty{grid-column:1/-1;border:1px dashed var(--border);border-radius:14px;padding:22px;text-align:center;color:var(--muted)}
@media(max-width:800px){.member-resource-filters,.member-resource-list{grid-template-columns:1fr}.member-resource-panel{padding:16px}}
.member-resource-instruments{border:1px solid var(--border);border-radius:12px;padding:10px 12px}.member-resource-instruments legend{padding:0 6px;font-weight:700}.member-resource-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.member-resource-checks label{display:flex;align-items:center;gap:8px}.member-resource-checks input{inline-size:1.1rem;block-size:1.1rem}@media(max-width:620px){.member-resource-checks{grid-template-columns:1fr}}

/* #029 — profils membres et accès aux ressources */
.member-choice-group{min-width:0;margin:0;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft)}
.member-choice-group legend{padding:0 7px;font-weight:800;color:var(--text)}
.member-choice-group>small{display:block;margin-top:10px;color:var(--muted)}
.member-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.member-choice{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:10px;cursor:pointer;color:var(--text)}
.member-choice:hover,.member-choice:focus-within{border-color:var(--cyan);background:color-mix(in srgb,var(--cyan) 8%,transparent)}
.member-choice input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--cyan)}
.member-choice.is-primary{opacity:.72;cursor:default;background:color-mix(in srgb,var(--cyan) 7%,transparent)}
.member-choice.is-primary span::after{content:" · principal";color:var(--muted);font-size:.8em}
.library-resource-panel{margin:16px 0;padding:0;scroll-margin-top:18px}
.library-resource-panel>.member-resource-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;cursor:pointer;list-style:none}
.library-resource-panel>.member-resource-summary::-webkit-details-marker{display:none}
.library-resource-panel>.member-resource-summary>span:first-child{display:grid;gap:4px}
.library-resource-panel>.member-resource-summary strong{font-size:1.1rem;color:var(--text)}
.library-resource-panel[open]>.member-resource-summary{border-bottom:1px solid var(--border)}
.member-resource-content{padding:4px 22px 22px}
.member-resource-content>.panel-heading{margin-top:14px}
@media(max-width:760px){.member-choice-grid{grid-template-columns:1fr}.library-resource-panel>.member-resource-summary{padding:16px}.member-resource-content{padding:2px 16px 16px}.member-resource-content>.panel-heading{align-items:flex-start;flex-direction:column}}

.member-me-badge {
  display: inline-flex;
  margin-left: .45rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight:var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #67e8f9;
  background: rgba(34, 211, 238, .14);
  border: 1px solid rgba(34, 211, 238, .45);
}

.personal-play-dialog { width:min(720px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:0; }
.personal-play-shell { display:grid; gap:1rem; padding:clamp(1rem,3vw,1.5rem); }
.personal-play-shell > header { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.personal-play-shell h2,.personal-play-shell p { margin:.2rem 0; }
.personal-play-card { display:grid; gap:.65rem; padding:1rem; border:1px solid var(--border,rgba(255,255,255,.18)); border-radius:16px; background:rgba(255,255,255,.04); }
.personal-play-card ul { margin:.25rem 0; padding-left:1.25rem; }
.personal-play-quick { color:var(--muted,#94a3b8); }
.personal-play-choice { color:#22d3ee; font-weight:var(--weight-medium); }
.personal-play-settings { display:grid; gap:.7rem; }
.personal-play-settings .choice-line { min-height:44px; display:flex; align-items:center; gap:.65rem; }
.personal-play-navigation { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.75rem; }
.personal-play-navigation button { min-height:44px; }
.personal-play-navigation span { text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:600px) { .personal-play-shell > footer { display:grid; grid-template-columns:1fr; } }

.song-planning-summary,.song-planning-detail{display:grid;gap:.55rem}.song-planning-summary{padding:.75rem 1rem;border-top:1px solid var(--border,rgba(255,255,255,.14));grid-template-columns:repeat(2,minmax(0,1fr))}.song-planning-summary strong,.song-planning-detail strong{font-size:.88rem;line-height:1.4}.song-planning-summary details,.song-planning-detail details{margin-top:.3rem}.song-planning-summary ul,.song-planning-detail ul{margin:.4rem 0 0;padding-left:1.2rem;color:var(--muted)}.song-planning-detail{margin:0 0 1rem;padding:1rem;border:1px solid var(--border,rgba(255,255,255,.14));border-radius:14px;background:rgba(53,202,215,.06);grid-template-columns:repeat(2,minmax(0,1fr))}.song-planning-detail h3{grid-column:1/-1;margin:0}.event-dialog #media-export-form{min-width:min(620px,calc(100vw - 40px))}@media(max-width:700px){.song-planning-summary,.song-planning-detail{grid-template-columns:1fr}.event-dialog #media-export-form{min-width:0}}
.orphaned-personal-files{margin:1rem 0}.orphaned-file-list{display:grid;gap:.6rem}.orphaned-file-list article{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem;border:1px solid var(--border,rgba(255,255,255,.14));border-radius:12px}.orphaned-file-list article div{display:grid;gap:.2rem}.orphaned-file-list small{color:var(--muted)}
.member-contact-editor{border-top:1px solid var(--line,rgba(255,255,255,.14));margin-top:8px;padding-top:18px}.member-contact-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.member-contact-heading h4{margin:.15rem 0}.member-contact-fields{display:grid;gap:12px;margin-top:16px}.member-contact-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:12px;padding:12px;border:1px solid var(--line,rgba(255,255,255,.13));border-radius:14px;background:rgba(255,255,255,.025)}.member-contact-value,.member-contact-visibility{display:grid;gap:7px;align-content:start}.member-contact-avatar{display:block;width:88px;height:88px;object-fit:cover;border-radius:18px;border:1px solid var(--line,rgba(255,255,255,.18));margin:4px 0 8px}.member-contact-display-wrap{border-top:1px solid var(--line,rgba(255,255,255,.13));padding-top:14px}.member-contact-display{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.member-contact-display h3{grid-column:1/-1;margin:0}.member-contact-display-row{display:grid;gap:5px;min-width:0}.member-contact-display-row strong{overflow-wrap:anywhere}.member-contact-display-row.photo{grid-column:1/-1}.error-text{color:var(--danger,#ff8a8a)}
@media(max-width:720px){.member-contact-heading{display:grid}.member-contact-row,.member-contact-display{grid-template-columns:1fr}}
.member-edit-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;position:sticky;top:-14px;z-index:4;background:var(--surface,rgba(15,17,24,.96));border-bottom:1px solid var(--line)}
.member-edit-tabs button{white-space:nowrap;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);padding:9px 14px;font-weight:700}
.member-edit-tabs button[aria-selected="true"]{color:var(--text);border-color:var(--cyan);background:color-mix(in srgb,var(--cyan) 13%,var(--surface))}
.member-edit-panels{min-height:360px}.member-edit-panel{padding:16px 2px}.member-edit-actions{position:sticky;bottom:-14px;z-index:5;padding:14px 0;background:linear-gradient(180deg,transparent 0,var(--surface,rgba(15,17,24,.98)) 24%)}
.member-view-panels{min-height:330px}.member-view-panel{padding:16px 2px}.member-view-panel>.member-contact-display,.member-view-panel>.muted{margin-top:4px}.member-contact-display.privacy strong{font-size:.9rem}.member-view-tabs{top:-14px}
@media(max-width:720px){#member-dialog{width:calc(100vw - 16px);padding:18px 14px}.member-edit-tabs{top:-4px}.member-edit-tabs button{padding:9px 12px}.member-edit-panels,.member-view-panels{min-height:52vh}.member-edit-actions,.member-profile-actions{bottom:-4px}.member-edit-actions button,.member-profile-actions button{flex:1}.member-view-panel{padding-top:12px}}

/* #048 — finition de la fiche membre canonique, lecture et édition. */
#member-dialog{width:min(920px,calc(100vw - 32px));padding:clamp(18px,2.4vw,28px)}
.member-edit-tabs{gap:10px;padding:4px 2px 14px;margin-bottom:20px;scroll-padding-inline:2px}
.member-edit-tabs button{min-height:42px;padding:9px 16px;line-height:1.2}
.member-view-panels,.member-edit-panels{min-height:360px}
.member-view-panel,.member-edit-panel{padding:0 2px 28px}
.member-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;align-items:start}
.member-detail-grid>div{display:grid;gap:4px;min-width:0;padding-block:2px}
.member-detail-grid>.wide{grid-column:1/-1;margin-top:8px}
.member-detail-grid .muted,.member-contact-display-row>.muted{font-size:.82rem;line-height:1.35}
.member-detail-grid strong,.member-contact-display-row>strong{font-size:1rem;line-height:1.48;font-weight:700}
.member-contact-display{gap:12px 28px}
.member-contact-display-row{padding-block:2px}
.member-contact-display.privacy{gap:16px 28px}
.member-profile-actions,.member-edit-actions{margin:0;padding:18px 0 4px;min-height:64px;align-items:flex-end;background:linear-gradient(180deg,transparent 0,var(--surface,rgba(15,17,24,.98)) 32%)}
.member-profile-actions button,.member-edit-actions button{min-height:44px;min-width:118px}
.member-edit-panel.form-grid{column-gap:20px;row-gap:12px}
.member-contact-fields{gap:12px;margin-top:20px}
.member-contact-row{gap:16px;padding:16px}
@media(max-width:720px){#member-dialog{width:calc(100vw - 12px);padding:18px 14px}.member-edit-tabs{margin-inline:-2px;margin-bottom:18px;padding-bottom:12px}.member-edit-tabs button{min-height:44px;padding-inline:14px}.member-detail-grid{grid-template-columns:1fr;gap:10px}.member-detail-grid>.wide{grid-column:auto;margin-top:10px}.member-contact-display{grid-template-columns:1fr;gap:10px}.member-view-panels,.member-edit-panels{min-height:54vh;padding-bottom:76px}.member-view-panel,.member-edit-panel{padding-bottom:24px}.member-profile-actions,.member-edit-actions{bottom:-4px;padding:16px 0 12px;background:var(--surface,#151821)}.member-profile-actions button,.member-edit-actions button{min-width:0}}
@media(min-width:721px) and (max-width:1100px){#member-dialog{width:min(860px,calc(100vw - 28px))}.member-edit-tabs{margin-bottom:22px}.member-detail-grid{gap:12px 24px}}

/* LOGO SYNC #048B — the active-group selector mirrors the canonical workspace logo. */
.group-select-logo{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--line,#34343d);border-radius:11px;object-fit:cover;background:var(--surface,#151821)}
@media(max-width:720px){.group-select-logo{width:34px;height:34px;flex-basis:34px}}
