
:where(#stemRoom) .library-toolbar{display:flex;gap:16px;align-items:flex-end;margin-bottom:20px}
:where(#stemRoom) .library-toolbar label{display:grid;gap:6px;font-size:11px;color:#aaa}
:where(#stemRoom) .library-toolbar label:first-child{flex:1}
:where(#stemRoom) .library-toolbar input{width:100%;min-height:44px;border:1px solid #303030;background:#111c;border-radius:8px;padding:10px 14px;color:#fff;font:14px 'Archivo',sans-serif}
:where(#stemRoom) .library-toolbar select{font-size:13px}
:where(#stemRoom) .library-resume{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#d4a84b09;border:1px solid #d4a84b45;border-radius:12px;margin-bottom:20px}
:where(#stemRoom) .library-resume .eyebrow{font-size:9px;color:#d4a84b}
:where(#stemRoom) .library-resume h2{font-size:19px;margin:7px 0 3px}
:where(#stemRoom) .library-resume p{font-size:12px;color:#aaa;margin:0}
:where(#stemRoom) .library-resume button{border-color:#d4a84b55;color:#edce8d;background:#d4a84b0d;font-size:13px}
:where(#stemRoom) .library-list{padding:0 20px}
:where(#stemRoom) .library-columns,:where(#stemRoom) .library-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) 120px 80px;gap:20px;align-items:center}
:where(#stemRoom) .library-columns{padding:14px 0;font:10px 'Space Mono',monospace;color:#888}
:where(#stemRoom) .library-row{padding:14px 0;border-top:1px solid #ffffff12}
:where(#stemRoom) .library-song strong{display:block;font-size:15px;font-weight:500}
:where(#stemRoom) .library-row small{display:block;color:#999;font-size:11px;margin-top:4px}
:where(#stemRoom) .library-practice>span{font-size:13px;color:#d1d7d4}
:where(#stemRoom) .library-date{font-size:12px;color:#999}
:where(#stemRoom) .library-row button{font-size:12px;background:transparent;padding:8px}
:where(#stemRoom) .library-note{font-size:11px;color:#999;margin:12px 0}
@media(max-width:760px){:where(#stemRoom) .library-toolbar{flex-wrap:wrap;gap:10px}:where(#stemRoom) .library-toolbar label:first-child{flex-basis:100%}:where(#stemRoom) .library-toolbar label:nth-child(2){flex:1}:where(#stemRoom) .library-resume{padding:16px;flex-wrap:wrap}:where(#stemRoom) .library-list{padding:0 14px}:where(#stemRoom) .library-columns{display:none}:where(#stemRoom) .library-row{grid-template-columns:minmax(0,1fr) 70px;gap:6px 12px}:where(#stemRoom) .library-row:first-child{border-top:0}:where(#stemRoom) .library-song{grid-column:1}:where(#stemRoom) .library-practice{grid-column:1;display:flex;gap:8px;align-items:center}:where(#stemRoom) .library-practice small{margin:0}:where(#stemRoom) .library-date{display:none}:where(#stemRoom) .library-row button{grid-column:2;grid-row:1 / span 2}:where(#stemRoom) .library-song strong{font-size:14px}}

/* Library refinements: compact resume strip and clear practice actions. */
:where(#stemRoom) .library-toolbar label:first-child{flex:0 1 380px}
:where(#stemRoom) .library-toolbar>button{margin-left:auto}
:where(#stemRoom) .library-resume{padding:12px 18px;gap:16px}
:where(#stemRoom) .library-resume>div{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
:where(#stemRoom) .library-resume .eyebrow{font-size:9px}
:where(#stemRoom) .library-resume h2{font-size:15px;margin:0}
:where(#stemRoom) .library-resume p{font-size:11px}
:where(#stemRoom) .library-columns,:where(#stemRoom) .library-row{grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) 120px 88px}
:where(#stemRoom) .library-row .library-title{display:block;text-align:left;min-height:0;border:0;padding:0;background:transparent;font-size:15px;font-weight:500;line-height:1.5;color:#f0f3ef}
:where(#stemRoom) .library-row .library-title:hover{color:#5eead4;text-decoration:underline;text-underline-offset:4px}
:where(#stemRoom) .library-row .library-open{color:#5eead4}
@media(max-width:760px){:where(#stemRoom) .library-toolbar label:first-child{flex:1 1 100%}:where(#stemRoom) .library-resume>div{gap:5px 12px}:where(#stemRoom) .library-resume .eyebrow{flex-basis:100%}:where(#stemRoom) .library-row{grid-template-columns:minmax(0,1fr) 88px}:where(#stemRoom) .library-row .library-title{grid-column:auto;grid-row:auto;min-height:32px}:where(#stemRoom) .library-row .library-open{grid-column:2;grid-row:1 / span 2}}

/* Compact library: title and meaningful metadata share one column. */
:where(#stemRoom) .library-list .library-row{grid-template-columns:38px minmax(0,1fr) auto;gap:14px;padding:14px 0}
:where(#stemRoom) .library-symbol{display:grid;place-items:center;width:36px;height:36px;border:1px solid #2d6f6455;border-radius:10px;background:#16332d66;color:#86c9bb;font-size:20px}
:where(#stemRoom) .library-list .library-song{min-width:0;grid-column:auto}
:where(#stemRoom) .library-list .library-title{white-space:normal;overflow-wrap:anywhere;font-weight:600;font-size:15px}
:where(#stemRoom) .library-list .library-song small{color:#8c9d98;font-size:12px;margin-top:5px}
:where(#stemRoom) .library-actions{display:flex;align-items:center;gap:8px}
:where(#stemRoom) .library-list .library-actions button{grid-column:auto;grid-row:auto;min-height:40px;padding:8px 12px;border-radius:8px}
:where(#stemRoom) .library-list .library-open{background:#173a3255;border:1px solid #3d857577;color:#a5dbce}
:where(#stemRoom) .library-list .library-remove{background:rgba(29,38,34,.4);border:1px solid #52635b;color:#bdc9c4}
:where(#stemRoom) .library-list .library-actions button:hover{background:#26443b;border-color:#7b9d8f;color:#eef8f4}
:where(#stemRoom) .library-notice{font-size:12px;color:#95bdb3;min-height:0}
:where(#stemRoom) .library-notice:empty{display:none}
:where(#stemRoom) .library-toolbar{align-items:center;gap:16px}:where(#stemRoom) .library-toolbar>input{flex:1;min-width:120px}:where(#stemRoom) .library-toolbar>label{font-size:12px;white-space:nowrap}
@media(max-width:500px){:where(#stemRoom) .library-list .library-row{grid-template-columns:28px minmax(0,1fr);gap:8px 12px;padding:12px 0}:where(#stemRoom) .library-symbol{width:28px;height:32px}:where(#stemRoom) .library-actions{grid-column:2;justify-content:flex-start}:where(#stemRoom) .library-list .library-title{font-size:14px}:where(#stemRoom) .library-list .library-song small{font-size:11px}}

:where(#stemRoom) .library-toolbar>label{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto!important}:where(#stemRoom) .library-toolbar>label input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;accent-color:#2dccba}

/* Setlists: owner panel in My songs, editor/share dialogs, recipient view and practice strip. */
:where(#stemRoom) .setlist-panel{padding:16px 20px;margin-bottom:20px}
:where(#stemRoom) .setlist-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
:where(#stemRoom) .setlist-head h2{font-size:17px;margin:0 0 4px}
:where(#stemRoom) .setlist-head p{font-size:12px;color:#95a8a2;margin:0}
:where(#stemRoom) .setlist-new{min-height:40px;padding:8px 14px;border-radius:8px;background:#173a3255;border:1px solid #3d857577;color:#a5dbce}
:where(#stemRoom) .setlist-list:not(:empty){margin-top:10px}
:where(#stemRoom) .setlist-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #ffffff12;flex-wrap:wrap}
:where(#stemRoom) .setlist-info{min-width:0}:where(#stemRoom) .setlist-info strong{display:block;font-size:15px;overflow-wrap:anywhere}:where(#stemRoom) .setlist-info small{color:#8c9d98;font-size:12px}
:where(#stemRoom) .setlist-row .library-actions button{min-height:40px;padding:8px 12px;border-radius:8px;font-size:12px}
:where(#stemRoom) .setlist-row .library-open{background:#173a3255;border:1px solid #3d857577;color:#a5dbce}
:where(#stemRoom) .setlist-row .library-remove{background:rgba(29,38,34,.4);border:1px solid #52635b;color:#bdc9c4}
:where(#stemRoom) .setlist-status{font-size:12px;color:#95bdb3;margin:8px 0 0}:where(#stemRoom) .setlist-status:empty{display:none}
:where(#stemRoom) .setlist-form{display:grid;gap:12px;min-width:0}
:where(#stemRoom) .setlist-form>label{display:grid;gap:6px;font-size:12px;color:#aab}
:where(#stemRoom) .setlist-form input:not([type=checkbox]),:where(#stemRoom) #flowContent>input{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border-radius:8px;border:1px solid #38534e;background:#0b100f;color:#eef4f2;font:14px 'Archivo',sans-serif}
:where(#stemRoom) .setlist-count{font-size:12px;color:#95a8a2;margin:0}
/* The song list scrolls inside the dialog only when the screen has room for a second
   scroll surface. A phone has none: vh measures the viewport with the browser bars
   hidden while the dialog is capped in dvh, so the dialog overflowed too, and a swipe
   that landed on the list (nearly all of the dialog) moved the list instead of the
   dialog, leaving Save unreachable. Short screens get one scroller: the dialog. No
   overscroll-behavior here, or a list too short to scroll would swallow the wheel
   instead of passing it to the dialog behind it. */
:where(#stemRoom) .setlist-picks{list-style:none;margin:0;padding:0;max-height:min(50dvh,420px);overflow:auto;border:1px solid #ffffff14;border-radius:10px}
:where(#stemRoom) .setlist-picks li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border-top:1px solid #ffffff0d}
:where(#stemRoom) .setlist-picks li:first-child{border-top:0}:where(#stemRoom) .setlist-picks li.picked{background:#16332d44}
:where(#stemRoom) .setlist-picks label{display:flex;align-items:center;gap:10px;min-width:0;flex:1;min-height:40px;cursor:pointer;font-size:14px}
:where(#stemRoom) .setlist-picks input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#2dccba}
:where(#stemRoom) .setlist-pick-name{overflow-wrap:anywhere}
:where(#stemRoom) .setlist-moves{display:flex;gap:4px;flex:none}
:where(#stemRoom) .setlist-move{width:40px;height:40px;padding:0;border-radius:8px;background:transparent;border:1px solid #52635b;color:#d8eeea}
:where(#stemRoom) .setlist-move:disabled{opacity:.35}
:where(#stemRoom) .setlist-empty{color:#95a8a2;font-size:13px}
:where(#stemRoom) .setlist-share-intro{font-size:14px;color:#d1d7d4;overflow-wrap:anywhere}
/* Grid, not flex-wrap: shared dialog button rules add margins that staggered wrapped rows on phones. */
:where(#stemRoom) .setlist-share-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:12px}
:where(#stemRoom) #flowDialog .setlist-share-actions button{margin:0;width:100%;min-height:44px;padding:10px 16px;border-radius:8px;font-size:14px;line-height:1.2}
:where(#stemRoom) #flowDialog .setlist-share-actions .primary,:where(#stemRoom) #flowDialog .setlist-share-actions button:nth-child(2):last-child{grid-column:1/-1}
:where(#stemRoom) .setlist-own{font-size:13px;color:#95a8a2;margin-top:18px}:where(#stemRoom) .setlist-own button{margin-left:6px}
@media(max-width:500px){:where(#stemRoom) .setlist-panel{padding:14px}:where(#stemRoom) .setlist-row .library-actions{width:100%}}
@media(max-width:640px),(max-height:600px){
 :where(#stemRoom) .setlist-picks{max-height:none;overflow:visible}
 /* Save stays put while the list scrolls past it, so a long list never buries it.
    The ring paints the dialog's own colour over the padding strip underneath. */
 :where(#stemRoom) #flowDialog .setlist-form button[type=submit]{position:sticky;bottom:0;z-index:1;box-shadow:0 0 0 20px var(--panel)}
 /* Anything the form has to say rides just above it, or a warning raised by a tick
    halfway down the list would be announced somewhere off screen. */
 :where(#stemRoom) #flowDialog .setlist-form .setlist-status{position:sticky;bottom:68px;z-index:1;background:var(--panel);box-shadow:0 0 0 8px var(--panel)}
}
:where(#stemRoom) .setlist-owner-actions button{margin:0;min-height:44px;padding:10px 16px;border-radius:8px;font-size:14px}
:where(#stemRoom) .setlist-row .library-title{display:block;text-align:left;border:0;padding:0;min-height:0;background:transparent;font-size:15px;font-weight:600;color:#f0f3ef;overflow-wrap:anywhere}
:where(#stemRoom) .setlist-row .library-title:hover{color:#5eead4;text-decoration:underline;text-underline-offset:4px}

/* ---- Setlist as a playlist. A contained box (not a full-width bar with nothing in it),
   one headline, one transport row of symbols every music player uses, and rows that
   read as tracks: number, name, stem count, length. The loaded song is teal and its
   number turns into level bars while it is sounding. */
:where(#stemRoom) #setlistView{padding-top:36px}
:where(#stemRoom) .setlist-player{max-width:760px;margin:0 auto;padding:30px 30px 12px;border-radius:18px}
:where(#stemRoom) .setlist-head-block .eyebrow{display:block;margin-bottom:12px}
:where(#stemRoom) .setlist-head-block h1,:where(#stemRoom) .setlist-head-block div.room-h1{margin:0 0 8px;font-size:clamp(26px,3.4vw,34px);line-height:1.12;letter-spacing:-.4px;overflow-wrap:anywhere}
:where(#stemRoom) .setlist-meta{margin:0;font-size:13px;color:#98a8a2}
:where(#stemRoom) .setlist-transport{display:flex;align-items:center;gap:6px;margin:22px 0 8px}
:where(#stemRoom) .setlist-transport-gap{flex:1}
/* Icon buttons: a 44px target, no box until hovered, teal when switched on. */
:where(#stemRoom) .icon-btn{flex:0 0 auto;width:44px;height:44px;padding:0;display:inline-grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#b9c6c1;cursor:pointer;position:relative;transition:background .12s,color .12s}
:where(#stemRoom) .setlist-view .icon-btn:hover:not(:disabled),:where(#stemRoom) .setlist-strip .icon-btn:hover:not(:disabled){background:#ffffff10;color:#f4f8f6;border-color:transparent}
:where(#stemRoom) .setlist-view .icon-btn:disabled,:where(#stemRoom) .setlist-strip .icon-btn:disabled{opacity:.3;cursor:default}
:where(#stemRoom) .setlist-view .icon-btn.toggle[aria-pressed=true],:where(#stemRoom) .setlist-strip .icon-btn.toggle[aria-pressed=true]{background:transparent;color:#2dd4bf;box-shadow:none}
:where(#stemRoom) .icon-btn.toggle[aria-pressed=true]::after{content:'';position:absolute;bottom:5px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#2dd4bf}
:where(#stemRoom) .setlist-view .setlist-play-all,:where(#stemRoom) .setlist-view .setlist-play-all:hover:not(:disabled){width:56px;height:56px;margin-right:8px;background:#2dd4bf;color:#0a0a0a;box-shadow:0 0 24px #2dd4bf22}
:where(#stemRoom) .setlist-view .setlist-play-all:hover:not(:disabled){background:#5eead4}
:where(#stemRoom) .setlist-songs{list-style:none;margin:10px -12px 0;padding:0}
:where(#stemRoom) .setlist-song{position:relative;display:flex;align-items:center;gap:2px;border-radius:10px;transition:background .12s}
:where(#stemRoom) .setlist-song+.setlist-song::before{content:'';position:absolute;left:12px;right:12px;top:0;border-top:1px solid #ffffff0d}
:where(#stemRoom) .setlist-song:hover{background:#ffffff08}:where(#stemRoom) .setlist-song:hover::before,:where(#stemRoom) .setlist-song:hover+.setlist-song::before{border-color:transparent}
:where(#stemRoom) .setlist-num{flex:0 0 40px;display:grid;place-items:center;font:13px 'Space Mono',monospace;color:#7d8e89}
:where(#stemRoom) .setlist-num b{font-weight:400}
:where(#stemRoom) .setlist-bars{display:none;align-items:flex-end;gap:2px;height:14px}
:where(#stemRoom) .setlist-bars i{display:block;width:3px;height:100%;border-radius:1px;background:#2dd4bf;transform-origin:bottom;transform:scaleY(.35)}
:where(#stemRoom) .setlist-song-main{flex:1;min-width:0;display:grid;gap:4px;text-align:left;padding:14px 10px 14px 0;border:0;background:none;color:inherit;cursor:pointer;border-radius:10px}
:where(#stemRoom) .setlist-song-main strong{font:500 15px/1.25 Archivo,sans-serif;color:#eef4f2;overflow-wrap:anywhere}
:where(#stemRoom) .setlist-song-main small{font:10px/1 'Space Mono',monospace;letter-spacing:1.2px;text-transform:uppercase;color:#7d8e89}
:where(#stemRoom) .setlist-song .setlist-song-main:hover:not(:disabled){background:none;border-color:transparent}
:where(#stemRoom) .setlist-len{flex:0 0 auto;min-width:44px;text-align:right;font:13px 'Space Mono',monospace;color:#8c9d98;font-variant-numeric:tabular-nums}
:where(#stemRoom) .setlist-song .setlist-row-play{width:40px;height:40px;margin:0 6px 0 2px;color:#b9c6c1;opacity:0}
:where(#stemRoom) .setlist-song:hover .setlist-row-play,:where(#stemRoom) .setlist-song.now .setlist-row-play{opacity:1}
@media(hover:none){:where(#stemRoom) .setlist-song .setlist-row-play{opacity:1}}
:where(#stemRoom) .setlist-song.now .setlist-song-main strong,:where(#stemRoom) .setlist-song.now .setlist-num,:where(#stemRoom) .setlist-song.now .setlist-row-play{color:#5eead4}
:where(#stemRoom) .setlist-song.sounding .setlist-num b{display:none}:where(#stemRoom) .setlist-song.sounding .setlist-bars{display:flex}
:where(#stemRoom) .setlist-song.sounding .setlist-bars i{animation:setlistBar .9s ease-in-out infinite}
:where(#stemRoom) .setlist-song.sounding .setlist-bars i:nth-child(2){animation-delay:.18s}:where(#stemRoom) .setlist-song.sounding .setlist-bars i:nth-child(3){animation-delay:.36s}
@keyframes setlistBar{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){:where(#stemRoom) .setlist-song.sounding .setlist-bars i{animation:none;transform:scaleY(.7)}}
/* Drag handle: the only drag surface, so rows still tap and the page still scrolls. */
:where(#stemRoom) .setlist-song .drag-handle{flex:0 0 32px;height:44px;margin-left:6px;padding:0;display:grid;place-items:center;border:0;border-radius:8px;background:none;color:#55645f;cursor:grab;touch-action:none}
:where(#stemRoom) .setlist-song .drag-handle:hover:not(:disabled){color:#a5dbce;background:none;border-color:transparent}:where(#stemRoom) .setlist-song .drag-handle:active{cursor:grabbing}
:where(#stemRoom) .setlist-songs.sortable .setlist-num{flex-basis:30px}
:where(#stemRoom) .setlist-song.dragging{z-index:2;background:#16332d;box-shadow:0 10px 30px #0008;transition:none}
:where(#stemRoom) .setlist-song.dragging::before,:where(#stemRoom) .setlist-song.dragging+.setlist-song::before{border-color:transparent}
:where(#stemRoom) .setlist-songs.sorting{user-select:none;-webkit-user-select:none}
:where(#stemRoom) .setlist-player .setlist-status{margin:10px 0 0;min-height:16px}
:where(#stemRoom) .setlist-view .setlist-own{max-width:760px;margin:16px auto 0;font-size:13px;color:#8c9d98}
:where(#stemRoom) .setlist-view .setlist-own button{margin-left:6px}
/* The bar above the song in the practice room. */
:where(#stemRoom) .setlist-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 8px 8px 16px;margin-bottom:12px;border:1px solid #3d857555;border-radius:14px;background:#16332d33}
:where(#stemRoom) .setlist-strip-text{min-width:0;display:grid;gap:3px}
:where(#stemRoom) .setlist-strip-label{margin:0;font:10px/1.3 'Space Mono',monospace;letter-spacing:1.2px;text-transform:uppercase;color:#5eead4;overflow-wrap:anywhere}
:where(#stemRoom) .setlist-strip-next{margin:0;font-size:13px;color:#c9d6d1;overflow-wrap:anywhere}
:where(#stemRoom) .setlist-strip-actions{display:flex;gap:2px;flex-wrap:wrap;align-items:center}
:where(#stemRoom) .setlist-strip .setlist-auto,:where(#stemRoom) .setlist-strip .setlist-stay{min-height:36px;padding:6px 12px;margin-right:6px;font-size:12px;border-radius:999px}
:where(#stemRoom) .setlist-auto{display:inline-flex;align-items:center;gap:8px}
:where(#stemRoom) .setlist-auto::before{content:'';width:26px;height:14px;border-radius:999px;background-color:#2b3532;box-shadow:inset 0 0 0 1px #4a5652;background-image:radial-gradient(circle at 7px 7px,#8c9d98 0 5px,transparent 5.5px);transition:background-color .15s}
/* Not the generic pressed-button fill: this is a switch, so the switch shows the state. */
:where(#stemRoom) .setlist-strip .setlist-auto,:where(#stemRoom) .setlist-strip .setlist-auto[aria-pressed=true]{background:transparent;border:1px solid #3a4a45;color:#c9d6d1;box-shadow:none}
:where(#stemRoom) .setlist-strip .setlist-auto[aria-pressed=true]{color:#a5dbce;border-color:#2dd4bf55}
:where(#stemRoom) .setlist-strip .setlist-auto:hover:not(:disabled){background:#ffffff0a}
:where(#stemRoom) .setlist-auto[aria-pressed=true]::before{background-color:#17594f;background-image:radial-gradient(circle at 19px 7px,#5eead4 0 5px,transparent 5.5px);box-shadow:inset 0 0 0 1px #2dd4bf88}
:where(#stemRoom) .setlist-strip .setlist-stay{border:1px solid #d4a84b88;background:transparent;color:#f0cf7e}
:where(#stemRoom) .setlist-stay[hidden]{display:none}
@media(max-width:600px){
 :where(#stemRoom) #setlistView{padding-top:20px}
 :where(#stemRoom) .setlist-player{padding:22px 16px 8px;border-radius:16px}
 :where(#stemRoom) .setlist-songs{margin-inline:-8px}:where(#stemRoom) .setlist-num{flex-basis:32px}:where(#stemRoom) .setlist-len{min-width:38px;font-size:12px}
 :where(#stemRoom) .setlist-song .setlist-row-play{margin-right:2px}
 :where(#stemRoom) .setlist-strip{padding:10px}:where(#stemRoom) .setlist-strip-actions{width:100%;justify-content:space-between}
}
/* A song loading in the background (the set handing over while you watch the list). */
:where(#stemRoom) .setlist-song.loading .setlist-num b{animation:setlistPulse 1s ease-in-out infinite}:where(#stemRoom) .setlist-song.loading .setlist-song-main strong{color:#a5dbce}
@keyframes setlistPulse{0%,100%{opacity:.25}50%{opacity:1}}

/* My songs as a contained page: the same 760px column as the setlist player, so the
   rows read as a list and not a full-width table. Setlists lead in gold (they are
   the Pro part of this page); songs follow with what was saved on each one. */
:where(#stemRoom) #songsView .page-intro,:where(#stemRoom) #songsContent{max-width:760px;margin-left:auto;margin-right:auto}
:where(#stemRoom) .setlist-panel{padding:20px 24px 8px;border-radius:16px;border:1px solid #d4a84b59;background:linear-gradient(180deg,#d4a84b12,#d4a84b05 70%),#0e1211cc;box-shadow:0 0 40px #d4a84b0a}
:where(#stemRoom) .setlist-head-copy{display:flex;align-items:center;gap:14px;min-width:0}
:where(#stemRoom) .setlist-mark{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#d4a84b1f;border:1px solid #d4a84b55;color:#edce8d}
:where(#stemRoom) .setlist-head h2{font-size:19px;letter-spacing:-.2px}
:where(#stemRoom) .setlist-panel .setlist-new{background:#d4a84b14;border-color:#d4a84b66;color:#edce8d}
:where(#stemRoom) .setlist-panel .setlist-new:hover{background:#d4a84b26;border-color:#d4a84b;color:#f6e2b4}
:where(#stemRoom) .setlist-list:not(:empty){margin-top:16px}
:where(#stemRoom) .setlist-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #d4a84b22;flex-wrap:nowrap}
:where(#stemRoom) .setlist-cover{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:linear-gradient(140deg,#d4a84b38,#d4a84b12);border:1px solid #d4a84b4d;color:#f0d696}
:where(#stemRoom) .setlist-row .library-title{display:block;text-align:left;min-height:0;border:0;padding:0;background:transparent;font-size:16px;font-weight:600;line-height:1.4;color:#f4f1e8;overflow-wrap:anywhere}
:where(#stemRoom) .setlist-row .library-title:hover{color:#edce8d;text-decoration:underline;text-underline-offset:4px}
:where(#stemRoom) .setlist-info small{display:block;margin-top:3px}
:where(#stemRoom) .setlist-row-meta{color:#c9b88f!important;font-size:12px}
:where(#stemRoom) .setlist-row-songs{color:#8c9d98;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(#stemRoom) .setlist-row .library-actions,:where(#stemRoom) .library-list .library-actions{gap:2px}
:where(#stemRoom) #songsView .icon-btn:hover:not(:disabled){background:#ffffff10;color:#f4f8f6}
:where(#stemRoom) #songsView .library-actions .icon-btn{width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:#9fb0aa}
:where(#stemRoom) #songsView .library-actions .setlist-row-start,:where(#stemRoom) #songsView .library-actions .setlist-row-start:hover:not(:disabled){width:44px;height:44px;margin-right:6px;background:#2dd4bf;color:#0a0a0a}
:where(#stemRoom) #songsView .library-actions .setlist-row-start:hover:not(:disabled){background:#5eead4}
:where(#stemRoom) #songsView .library-actions .icon-btn.confirming{width:auto;padding:0 12px;border-radius:8px;border:1px solid #c96a5a;color:#f0b3a8;font-size:12px}
:where(#stemRoom) .library-list{border-radius:16px;padding:4px 24px}
:where(#stemRoom) .library-list .library-row{grid-template-columns:40px minmax(0,1fr) auto auto;gap:14px}
:where(#stemRoom) .library-list .library-row:first-child{border-top:0}
:where(#stemRoom) .library-symbol{width:40px;height:40px;border-radius:12px}
:where(#stemRoom) .library-kept{color:#d9c48f!important}
:where(#stemRoom) .library-len{font:12px 'Space Mono',monospace;color:#8c9d98;min-width:38px;text-align:right}
:where(#stemRoom) .library-list .library-actions .library-open{margin-right:4px;border-radius:999px;padding:8px 16px}
@media(max-width:600px){
 :where(#stemRoom) .setlist-panel{padding:16px 14px 4px}
 :where(#stemRoom) .setlist-row{grid-template-columns:40px minmax(0,1fr);gap:6px 12px}:where(#stemRoom) .setlist-cover{width:40px;height:40px}
 :where(#stemRoom) .setlist-row .library-actions{grid-column:2}
 :where(#stemRoom) .library-list{padding:2px 14px}
 :where(#stemRoom) .library-list .library-row{grid-template-columns:32px minmax(0,1fr) auto;gap:6px 12px}:where(#stemRoom) .library-symbol{width:32px;height:32px;font-size:17px}
 :where(#stemRoom) .library-list .library-actions{grid-column:2 / -1;justify-content:flex-start}
}

/* Left edge shared with every other page (the title must not jump between tabs);
   the column stops at about two thirds of the page, leaving air on the right. */
:where(#stemRoom) #songsView .page-intro,:where(#stemRoom) #songsContent,:where(#stemRoom) .setlist-player,:where(#stemRoom) .setlist-view .setlist-own{max-width:900px;margin-left:0;margin-right:auto}

/* Songs: one box like Setlists, with its heading, the search and the rows together. */
:where(#stemRoom) .library-box{padding:20px 24px 4px;border-radius:16px}
:where(#stemRoom) .library-box-head h2{font-size:19px;letter-spacing:-.2px;margin:0 0 4px}
:where(#stemRoom) .library-box-head p{font-size:12px;color:#95a8a2;margin:0}
:where(#stemRoom) .library-box .library-toolbar{margin:16px 0 4px}
:where(#stemRoom) .library-box .library-notice{margin:8px 0 0}
:where(#stemRoom) .library-box .library-list{padding:0;border-radius:0}
:where(#stemRoom) .library-box .library-list .library-row:first-child{border-top:1px solid #ffffff12;margin-top:10px}
:where(#stemRoom) .library-box .library-list:not(:has(.library-row)){padding:18px 0;font-size:13px;color:#95a8a2}
@media(max-width:600px){:where(#stemRoom) .library-box{padding:16px 14px 2px}}
:where(#stemRoom) .setlist-status .setlist-more{padding:2px 4px;border:0;background:none;color:#bceeb4;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media(max-width:500px){
 :where(#stemRoom) .library-toolbar{gap:4px 12px}
 :where(#stemRoom) .library-toolbar>input{flex-basis:100%}
}
@media(max-width:760px),(pointer:coarse){
 :where(#stemRoom) .library-toolbar>label,:where(#stemRoom) .library-list .library-title,:where(#stemRoom) .setlist-row .library-title,:where(#stemRoom) .setlist-new,:where(#stemRoom) .setlist-picks label{min-height:44px}
 :where(#stemRoom) .setlist-move{min-width:44px;min-height:44px}
}
@media(max-width:380px){:where(#stemRoom) .setlist-picks li{flex-wrap:wrap}:where(#stemRoom) .setlist-picks label{flex-basis:100%}:where(#stemRoom) .setlist-moves{margin-left:auto}}
