/* Apex Soundwave light theme (matches the reference screens). Loaded after the base styles; every rule is scoped to body.lt. */
html body#stp.lt{--bg:#f2f2f3;--ink:#1d1d22;--mut:#6b6b76;--pu:#2f9be0;--cl:#5ab4f0;--wv:#123a5c;--dk:#2b2b30;--lav:#d6ecfb;background:var(--bg)!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink);padding-bottom:0!important}
html body#stp.lt::before,html body#stp.lt::after{display:none!important}
html body#stp.lt #tbar,html body#stp.lt #ptabs{display:none!important}
html body#stp.lt .wrap{padding:0 8px;gap:8px;max-width:none}
html body#stp.lt .gl{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:var(--ink)!important;border-radius:16px!important}
html body#stp.lt #side,html body#stp.lt #ed{background:#fff!important;box-shadow:0 2px 14px rgba(20,20,40,.06)!important}
html body#stp.lt button,html body#stp.lt .btn{background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;border:1px solid #e2e2e8!important;border-radius:10px!important}
html body#stp.lt button:hover{background:#eef6fc!important}
html body#stp.lt button.pri{background:var(--pu)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:transparent!important}
html body#stp.lt button.on{background:var(--dk)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:transparent!important}
html body#stp.lt button.rec{color:#e11d48!important;-webkit-text-fill-color:#e11d48!important}
html body#stp.lt input,html body#stp.lt select{background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;border:1px solid #dcdce3!important;border-radius:10px}
html body#stp.lt select option{background:#fff;color:var(--ink)}
html body#stp.lt input[type=range]{accent-color:var(--pu);background:transparent!important;border:0!important}
html body#stp.lt label,html body#stp.lt .lb,html body#stp.lt .note,html body#stp.lt h4,html body#stp.lt .prm,html body#stp.lt .empty,html body#stp.lt .empty b,html body#stp.lt .li b,html body#stp.lt .li span,html body#stp.lt .fx .fh b,html body#stp.lt .pl-i b,html body#stp.lt .pl-i span,html body#stp.lt .mbox h3,html body#stp.lt #bm .rl{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
html body#stp.lt .note,html body#stp.lt .li span,html body#stp.lt .pl-i span{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html body#stp.lt .prm output{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important}
html body#stp.lt .sep{background:#e2e2e8}
html body#stp.lt .li,html body#stp.lt .fx,html body#stp.lt .pl-i{background:#f7f7f9;border-color:#ececf1}
html body#stp.lt #mtr{background:#f2f2f3}
html body#stp.lt .ahd{border-bottom:0;background:transparent}
html body#stp.lt .ehd{border-bottom:1px solid #eee}
html body#stp.lt #bm .sp{background:#efeff3;border-color:#e2e2e8}html body#stp.lt #bm .sp.q{background:#e6e6ec}
html body#stp.lt .mod{background:rgba(20,20,32,.35)}
html body#stp.lt .mbox,html body#stp.lt .mod .gl.mbox{background:#fff!important;color:var(--ink)!important;border-radius:20px!important;box-shadow:0 20px 60px rgba(20,20,40,.25)!important}
html body#stp.lt .mbox *:not(button):not(.pri):not(svg):not(path){color:inherit}
html body#stp.lt .rgm{background:#fff!important;border:0;box-shadow:0 10px 30px rgba(20,20,40,.18)}
html body#stp.lt .rgm .dng{color:#e11d48!important;-webkit-text-fill-color:#e11d48!important}
html body#stp.lt #toast{background:var(--dk);border:0;color:#fff;-webkit-text-fill-color:#fff}
html body#stp.lt .sfoot a{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html body#stp.lt #amGenre,html body#stp.lt #bAutoMix,html body#stp.lt #bMixAB,html body#stp.lt #autoMixN,html body#stp.lt .th [data-a=auto],html body#stp.lt .th [data-a=autoab]{display:none!important}
/* ----- Singer and Studio Pro: owner account only ----- */
html body#stp:not(.sp-owner) #bPro,html body#stp:not(.sp-owner) #bAI{display:none!important}
/* ----- header ----- */
#ah{display:none}
html body#stp.lt #ah{display:flex;flex:0 0 auto;align-items:center;gap:6px;padding:calc(6px + env(safe-area-inset-top,0px)) 8px 4px;position:relative;z-index:30;background:var(--bg)}
html body#stp.lt #ah .ah-b{width:42px;height:42px;padding:0!important;border:0!important;background:transparent!important;border-radius:50%!important;justify-content:center}
html body#stp.lt #ah .ah-b:hover{background:#e7e7ec!important}
.ui-ic{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
#ahMenu .ui-ic circle{fill:currentColor;stroke:none}
.ah-t{display:flex;flex-direction:column;min-width:0;line-height:1.15;cursor:pointer}
.ah-t b{font-size:1.06rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58vw}
.ah-t small{font-size:.74rem;color:var(--mut);-webkit-text-fill-color:var(--mut);font-weight:600}
.ah-g{flex:1}
html body#stp.lt #ahTime{display:flex;align-items:center;gap:6px}
html body#stp.lt #tdisp{background:#fff;border:0;border-radius:999px;box-shadow:0 1px 6px rgba(20,20,40,.08);color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-size:.78rem;padding:6px 10px;min-width:0}
html body#stp.lt #tdisp small{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
/* ••• menu */
#mmenu{position:fixed;top:calc(52px + env(safe-area-inset-top,0px));right:10px;z-index:100008;width:min(300px,calc(100vw - 20px));background:#fff;border-radius:18px;box-shadow:0 12px 40px rgba(20,20,40,.18),0 2px 8px rgba(20,20,40,.06);padding:6px;display:flex;flex-direction:column}
html body#stp.lt #mmenu .mr{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:0 12px!important;border:0!important;background:transparent!important;border-radius:12px!important;font-size:.95rem!important;font-weight:600!important}
html body#stp.lt #mmenu .mr:hover{background:#f4f4f7!important}
#mmenu .mr em{font-style:normal;color:var(--mut);-webkit-text-fill-color:var(--mut);font-size:.8rem;margin-left:auto;margin-right:8px}
#mmenu .mr .ui-ic{width:20px;height:20px}
.sw{display:inline-block;width:42px;height:24px;border-radius:12px;background:#d9d9e0;position:relative;transition:background .15s;flex:0 0 auto}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .15s}
.sw.on{background:var(--pu)}.sw.on::after{left:21px}
/* ----- timeline ----- */
html body#stp.lt #arr{background:transparent!important}
html body#stp.lt #scr{background:var(--bg);scrollbar-color:rgba(0,0,0,.18) transparent}
html body#stp.lt .trow .ln,html body#stp.lt #ruler{margin-left:var(--lead,0px);margin-right:var(--tail,0px)}
html body#stp.lt #tlg{min-width:100%}
html body#stp.lt .trow{width:calc(var(--hw) + var(--lead,0px) + var(--lw) + var(--tail,0px))}
html body#stp.lt .trow.head{background:var(--bg)}
html body#stp.lt .corner{background:var(--bg);border:0}
html body#stp.lt .corner .lb{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html body#stp.lt #ruler{background:var(--bg);border:0}
html body#stp.lt #rph{background:#111;box-shadow:none;width:2px;margin-left:-1px}
html body#stp.lt #ph{background:#111;box-shadow:none;width:2px;margin-left:-1px}
html body#stp.lt #loopb{background:rgba(47,155,224,.16);border-color:var(--pu)}html body#stp.lt #loopb.off{background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.12)}
html body#stp.lt .th{background:transparent!important;border:0!important;box-shadow:none!important;padding:6px 4px 4px 8px}
html body#stp.lt .th::before{display:none}
html body#stp.lt .th .nm{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-size:.72rem}
html body#stp.lt .th.sel .nm{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important}
html body#stp.lt .th.tpick{box-shadow:inset 0 0 0 2px var(--pu)!important;border-radius:10px}
html body#stp.lt .th .ty{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html body#stp.lt .th button{background:rgba(255,255,255,.85)!important;border-color:#e2e2e8!important}
html body#stp.lt .th button.m.on{background:#f59e0b!important;color:#fff!important;-webkit-text-fill-color:#fff!important}html body#stp.lt .th button.s.on{background:#22c55e!important;color:#fff!important;-webkit-text-fill-color:#fff!important}html body#stp.lt .th button.a.on{background:#e11d48!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt .th .mt{background:rgba(0,0,0,.06)}
html body#stp.lt .ln{border-bottom:0;background-color:transparent}
html body#stp.lt #tlg .trow:nth-child(odd) .ln[data-t]{background-color:rgba(47,155,224,.035)}
html body#stp.lt .ln.sel{background-color:rgba(47,155,224,.07)!important}
html body#stp.lt .rg{background:var(--cl);border:0;border-radius:3px 12px 12px 3px;top:3px;bottom:3px}
html body#stp.lt .rg canvas{border-radius:3px 12px 12px 3px}
html body#stp.lt .rg.rmu{opacity:.4}
html body#stp.lt .rg.sel{outline:2px solid var(--dk);outline-offset:0}
html body#stp.lt .rg.msel{outline:2px dashed var(--dk)}
html body#stp.lt .rg .rn{left:6px;top:5px;display:inline-flex;align-items:center;gap:3px;max-width:calc(100% - 12px);padding:2px 8px 2px 6px;border-radius:999px;background:#fff;color:var(--dk)!important;-webkit-text-fill-color:var(--dk)!important;text-shadow:none;font-size:.62rem;box-shadow:0 1px 3px rgba(20,20,40,.18);overflow:hidden;z-index:3}
html body#stp.lt .rg .rnt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body#stp.lt .rg .rni{width:11px;height:11px;flex:0 0 11px;fill:none}
html body#stp.lt .rg .rni rect{stroke:none}
html body#stp.lt .rg.sel .rn{background:var(--dk);color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt .rg .fbar{top:28px}
html body#stp.lt .rg .rga{background:#fff!important;color:var(--dk)!important;-webkit-text-fill-color:var(--dk)!important;border:0!important}
html body#stp.lt .rg .rgf{background:#fff;color:var(--dk)!important;-webkit-text-fill-color:var(--dk)!important;border:0}
html body#stp.lt .rg .fi,html body#stp.lt .rg .fo{border-color:var(--dk)}
html body#stp.lt .addln{background:transparent;visibility:hidden}
html body#stp.lt .drophint{border-color:var(--pu)}
/* empty project: blank canvas, names only */
html body#stp.lt.empty-proj .th button,html body#stp.lt.empty-proj .th .r2,html body#stp.lt.empty-proj .th .mt,html body#stp.lt.empty-proj .th .ty{visibility:hidden}
html body#stp.lt.empty-proj #tlg .trow .ln[data-t]{background-color:transparent!important;background-image:none!important}
html body#stp.lt.empty-proj .th .nm{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;font-weight:600}
/* edit tools bar is tucked away on phones (Edit tools tile shows it) */
@media(max-width:760px){html body#stp.lt .ahd{display:none}html body#stp.lt.show-ahd .ahd{display:flex}
 :root:root{--hw:148px;--lh:84px}
 html body#stp.lt .th .r2,html body#stp.lt .th .mt,html body#stp.lt .th .ty,html body#stp.lt .th [data-a=a],html body#stp.lt .th .th-tone,html body#stp.lt .th [data-a=ab]{display:none!important}

 html body#stp.lt .th .r1{flex-wrap:wrap}
}
/* ----- dock ----- */
#dock{display:none}
html body#stp.lt #dock{display:block;flex:0 0 auto;position:relative;z-index:25;padding-bottom:calc(var(--shh,0px));transition:padding .15s}
html body#stp.lt.sheet-overlay #dock,html body#stp.lt:not(.sheet-open) #dock{padding-bottom:0}
html body#stp.lt #trn{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;padding:8px 10px;position:relative}
html body#stp.lt #trn .trn-btns{grid-column:2;display:grid;grid-template-columns:auto auto auto auto auto;grid-template-rows:auto auto;justify-content:center;align-items:center;column-gap:14px;row-gap:2px}
html body#stp.lt #trn #t2home{grid-column:1;grid-row:1}
html body#stp.lt #trn #t2play{grid-column:2;grid-row:1}
html body#stp.lt #trn #t2undo{grid-column:3;grid-row:1}
html body#stp.lt #trn #t2redo{grid-column:4;grid-row:1}
html body#stp.lt #trn #t2loop{grid-column:5;grid-row:1}
html body#stp.lt #trn button#t2master{grid-column:2;grid-row:2;width:auto;min-width:72px;height:auto;min-height:28px;padding:4px 10px!important;border-radius:10px!important;font-size:.68rem;font-weight:800;line-height:1;letter-spacing:.01em;white-space:nowrap;box-shadow:0 1px 6px rgba(20,20,40,.1)!important}
html body#stp.lt #trn button#t2imp{grid-column:3;grid-row:2;width:auto;min-width:0;height:auto;min-height:28px;padding:4px 10px!important;border-radius:10px!important;font-size:.68rem;font-weight:800;line-height:1;letter-spacing:.01em;white-space:nowrap;box-shadow:0 1px 6px rgba(20,20,40,.1)!important}
html body#stp.lt #trn button#t2kb,html body#stp.lt #trn button#t2bm{grid-row:2;width:auto;min-width:28px;height:auto;min-height:28px;padding:4px 8px!important;border-radius:10px!important;box-shadow:0 1px 6px rgba(20,20,40,.1)!important}
html body#stp.lt #trn button#t2kb{grid-column:4}
html body#stp.lt #trn button#t2bm{grid-column:5}
html body#stp.lt #trn button#t2kb .ui-ic,html body#stp.lt #trn button#t2bm .ui-ic{width:16px;height:16px}
html body#stp.lt #trn #tBar{grid-column:1;justify-self:start;align-self:center;position:static;transform:none;left:auto;top:auto;padding:0 6px;z-index:3}
html body#stp.lt #trn #tdisp{grid-column:3;justify-self:end;align-self:center;position:relative;transform:none;background:transparent;box-shadow:none;border:0;padding:0 6px;min-width:0;margin:0;font-size:.78rem;font-weight:800;line-height:1;z-index:3}
html body#stp.lt #trn button{width:46px;height:46px;padding:0!important;justify-content:center;border-radius:50%!important;background:#fff!important;border:0!important;box-shadow:0 2px 10px rgba(20,20,40,.12)!important}
html body#stp.lt #trn button.big{width:56px;height:56px}
html body#stp.lt #trn button.on{background:var(--dk)!important;color:#fff!important}
html body#stp.lt #trn button:disabled{opacity:.45}
html body#stp.lt #t2play .ui-ic{fill:currentColor}
html body#stp.lt #sc{position:relative;padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));background:radial-gradient(130% 160% at 0% 100%,#d6ecfb 0%,rgba(214,236,251,.6) 30%,rgba(242,242,243,0) 72%)}
html body#stp.lt #sc h2{font-size:1.35rem;font-weight:800;margin:0 16px 10px;letter-spacing:-.01em}
html body#stp.lt:not(.empty-proj) #sc h2{font-size:1rem;margin-bottom:6px}
html body#stp.lt #sc .row{display:flex;gap:12px;overflow-x:auto;padding:2px 16px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#sc .row::-webkit-scrollbar,#ab .abs::-webkit-scrollbar{display:none}
html body#stp.lt .tl{flex:0 0 auto;width:68px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0!important;background:transparent!important;border:0!important;font-weight:600!important}
html body#stp.lt .tl .tic{width:56px;height:56px;border-radius:18px;background:#fff;display:grid;place-items:center;box-shadow:0 2px 10px rgba(20,20,40,.08)}
html body#stp.lt .tl .tem{font-size:1.4rem;line-height:1}
html body#stp.lt .tl .tlb{font-size:.72rem;white-space:nowrap;max-width:76px;overflow:hidden;text-overflow:ellipsis}
html body#stp.lt #ab{display:flex;align-items:center;gap:8px;background:#fff;border-radius:20px 20px 0 0;padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -2px 14px rgba(20,20,40,.06)}
html body#stp.lt #ab[hidden],html body#stp.lt #sc[hidden]{display:none!important}
html body#stp.lt #ab .abx{flex:0 0 46px;height:46px;padding:0!important;justify-content:center;background:#ececef!important;border:0!important;border-radius:14px!important}
html body#stp.lt #ab .abs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}
html body#stp.lt #ab .ac{flex:0 0 auto;width:64px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 0!important;background:transparent!important;border:0!important;font-size:.7rem!important;font-weight:600!important}
html body#stp.lt #ab .ac.on{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important;background:transparent!important}
html body#stp.lt #ab .ac[data-a=move].on{background:rgba(47,155,224,.16)!important;border-radius:12px!important;color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important}
html body#stp.lt #ab .ac[data-a=clarity].on{background:rgba(47,155,224,.16)!important;border-radius:12px!important;color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important}
html body#stp.lt #ab [data-a=rec] .ui-ic{color:#e11d48}
/* centered cards overlay the studio; keep the clip/selection bar */
/* ----- bottom sheets ----- */
#sht{display:none}
html body#stp.lt.sheet-open::after{content:'';position:fixed;inset:0;background:rgba(16,24,40,.4);z-index:100009;pointer-events:none}
html body#stp.lt #sht{display:flex;flex-direction:column;position:fixed;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 24px));height:min(80vh,720px);max-height:min(80vh,720px);min-height:min(80vh,720px);background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(16,24,40,.28);padding:8px 0 12px;z-index:100010;overflow:hidden}
html body#stp.lt #sht[hidden]{display:none!important}
html body#stp.lt #sht.overlay,html body#stp.lt.sheet-overlay #sht,html body#stp.lt #sht.libmodal{z-index:100010}
html body#stp.lt #sht #shIn{flex:1;min-height:0;height:100%;display:flex;flex-direction:column}
html body#stp.lt #sht .sh-h{flex:0 0 auto}
html body#stp.lt #sht .sh-b{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
html body#stp.lt #sht #libQ{width:100%;box-sizing:border-box;min-height:40px;padding:8px 12px;border:1px solid #e2e2e8!important;border-radius:12px;font-size:1rem;margin:0;flex:0 0 auto}
html body#stp.lt #sht #libC,html body#stp.lt #sht #libG{flex:0 0 auto;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;max-height:46px}
html body#stp.lt #sht #libL,html body#stp.lt #sht .sh-b .fxlist,html body#stp.lt #sht .sh-b{overflow-y:auto;-webkit-overflow-scrolling:touch}
html body#stp.lt #sht #libL,html body#stp.lt #sht .sh-b .fxlist{flex:1 1 auto;min-height:180px}
html body#stp.lt #sht .sh-b>#libL{flex-shrink:1}
.sh-grab{display:block;width:40px;height:5px;border-radius:3px;background:#d4d4dc;margin:2px auto 4px}
#shIn{display:flex;flex-direction:column;min-height:0;flex:1}
.sh-h{display:grid;grid-template-columns:48px 1fr 64px;align-items:center;padding:0 8px 6px}
.sh-h b{text-align:center;font-size:1.05rem;font-weight:800;display:flex;flex-direction:column;line-height:1.2}
.sh-h b small{font-size:.7rem;color:var(--mut);-webkit-text-fill-color:var(--mut);font-weight:600}
html body#stp.lt .sh-h .shc,html body#stp.lt .sh-h .sw2{width:42px;height:42px;padding:0!important;justify-content:center;border:0!important;background:transparent!important;border-radius:50%!important;justify-self:start}
html body#stp.lt .sh-h .sw2{justify-self:end;width:auto;padding:0 8px!important;font-size:.8rem!important}
.sh-b{overflow-y:auto;padding:0 16px 14px;display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.sh-b hr{border:0;border-top:1px solid #ececf1;margin:4px 0}
.sh-b h3{font-size:1.05rem;font-weight:800}
.shn{font-size:.74rem;color:var(--mut);-webkit-text-fill-color:var(--mut)}
.pedals{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:none}
html body#stp.lt .pd{flex:0 0 auto;width:70px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0!important;background:transparent!important;border:0!important;font-weight:600!important}
.pd .pdb{width:62px;height:76px;border-radius:12px;background:linear-gradient(180deg,#34343c,#1f1f25);display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px rgba(20,20,40,.25);color:#fff}
.pd.off .pdb{opacity:.45}
.pd.flat .pdb{background:linear-gradient(180deg,#45454f,#2a2a32)}
.pd .pdn{font-size:.7rem;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pd.add .pdb{background:transparent;border:2px dashed #b9b9c6;border-radius:50%;width:56px;height:56px;margin:10px 0;box-shadow:none;color:var(--mut)}
.kn{display:flex;flex-wrap:wrap;gap:5px;width:36px;justify-content:center}
.kn i{width:12px;height:12px;border-radius:50%;background:#d9d9e2;box-shadow:inset 0 -2px 0 rgba(0,0,0,.25)}
.pdi{width:30px;height:36px;border-radius:7px;background:linear-gradient(180deg,#34343c,#1f1f25);display:grid;place-items:center;flex:0 0 30px}
.pdi .kn{width:22px;gap:3px}.pdi .kn i{width:7px;height:7px}
.eqm{width:46px;height:32px}.eqm path{fill:none;stroke:#8ccbf5;stroke-width:2.5}
.fxlist{display:flex;flex-direction:column;gap:2px}
html body#stp.lt .fxr,html body#stp.lt .mrow{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:6px 6px!important;background:transparent!important;border:0!important;border-radius:12px!important;font-size:.92rem!important;font-weight:600!important;text-align:left}
html body#stp.lt .fxr:hover,html body#stp.lt .mrow:hover{background:#f4f4f7!important}
.fxr>span:nth-child(2),.mrow>span{flex:1;display:flex;flex-direction:column}
.fxr small{font-size:.68rem;color:var(--mut);-webkit-text-fill-color:var(--mut);font-weight:500}
html body#stp.lt .fxr.on{background:#e8f4fd!important}
html body#stp.lt .mrow{background:#f7f7f9!important}
.sl{display:grid!important;grid-template-columns:96px 1fr 70px;align-items:center;gap:8px;font-size:.8rem!important}
.sl output{text-align:right;font-variant-numeric:tabular-nums;color:var(--pu);-webkit-text-fill-color:var(--pu);font-weight:700}
html body#stp.lt .sl input[type=range]{height:24px}
html body#stp.lt .wide{width:100%;min-height:46px;justify-content:center;font-size:.9rem!important}
html body#stp.lt .dng{color:#e11d48!important;-webkit-text-fill-color:#e11d48!important}
.chips{display:flex;flex-wrap:wrap;gap:6px}
html body#stp.lt .chips button{min-height:38px;min-width:48px;justify-content:center;border-radius:999px!important}
#eqc{width:100%;height:190px;border-radius:14px;touch-action:none;display:block}
.bigv{display:flex;align-items:center;justify-content:center;gap:12px}
html body#stp.lt .bigv button{width:48px;height:48px;border-radius:50%!important;justify-content:center;font-size:1.3rem!important}
html body#stp.lt .bigv input{width:110px;text-align:center;font-size:1.6rem;font-weight:800;min-height:52px}
.upf{display:flex;flex-direction:column;gap:8px}.up2{display:flex;gap:6px}.up2>*{flex:1;min-width:0}
html body#stp.lt .upf input,html body#stp.lt .upf select{min-height:40px;font-size:.85rem}
.lbr{display:flex;align-items:center;gap:8px;padding:6px 4px;border-bottom:1px solid #f0f0f4}
.lbr .ltx{flex:1;min-width:0;display:flex;flex-direction:column}.lbr .ltx b{font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lbr .ltx span{font-size:.7rem;color:var(--mut);-webkit-text-fill-color:var(--mut)}
html body#stp.lt .lbr .lpv{width:38px;height:38px;padding:0!important;justify-content:center;border-radius:50%!important}
html body#stp.lt .lbr .lpv.on{background:var(--pu)!important;color:#fff!important}
.lbr .lpv .ui-ic{width:18px;height:18px;fill:currentColor}
#mlibL{flex:0 0 auto;max-height:200px;overflow:auto;display:flex;flex-direction:column;gap:2px}
@media(min-width:761px){html body#stp.lt .main{grid-template-columns:minmax(0,1fr) 300px}html body#stp.lt #sc{border-radius:0}}
.sh-b>*{flex-shrink:0}
html body#stp.lt #tlg{min-height:100%}
html body#stp.lt .rg .rgx{background:#fff;border:0;box-shadow:0 1px 3px rgba(20,20,40,.25);color:#e11d48}
/* home / sign-in screen: full screen light card */
html body#stp.lt #home{position:fixed;inset:0;z-index:100004;background:var(--bg)!important;border-radius:0!important;padding:calc(14px + env(safe-area-inset-top,0px)) 14px 14px}
html body#stp.lt .lbox{background:#fff!important;border-radius:22px!important;box-shadow:0 10px 40px rgba(20,20,40,.1)!important}
html body#stp.lt .lbox .lt{background:linear-gradient(90deg,#2f9be0,#5ab4f0);-webkit-background-clip:text;background-clip:text}
html body#stp.lt .lbox a{color:var(--pu)}
html body#stp.lt .lbox .lmaint{color:#8a5a00;background:#fff6db;border-color:#f3d77a}
html body#stp.lt .lbox .lerr{color:#e11d48}
html body#stp.lt .hs{background:#fff;border:1px solid #ececf1}
html body#stp.lt .hs.pl{border-color:var(--pu)}
html body#stp.lt #home h2,html body#stp.lt #home .hs b{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
html body#stp.lt.homeon #ah,html body#stp.lt.homeon #dock,html body#stp.lt.homeon #sht,html body#stp.lt.homeon #mmenu,html body#stp.lt:has(#home) #ah,html body#stp.lt:has(#home) #dock{display:none!important}
/* ---- fix2: findability ---- */
html body#stp.lt .addln{visibility:visible;overflow:visible;z-index:9;padding:0 8px}
html body#stp.lt .addln .addold{display:none}
html body#stp.lt .addln .addtr{white-space:nowrap;min-height:38px;padding:0 16px!important;border-radius:999px!important;background:#fff!important;border:1.5px dashed var(--pu)!important;color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important;font-size:.85rem!important;font-weight:800!important;box-shadow:0 2px 8px rgba(20,20,40,.08)!important;position:relative;z-index:9}
html body#stp.lt .trow.add .ln{height:56px!important}
html body#stp.lt .trow.add .addln{height:56px}
html body#stp.lt.empty-proj .addln .addtr{visibility:visible}
html body#stp.lt .sch{display:flex;align-items:baseline;justify-content:space-between;padding-right:16px}
html body#stp.lt #scHint{font-size:.72rem;font-weight:700;color:var(--pu);-webkit-text-fill-color:var(--pu);white-space:nowrap}
html body#stp.lt #scHint[hidden]{display:none}
html body#stp.lt #sc .row{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:68px;gap:8px 10px;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent);padding-right:40px}
html body#stp.lt .tl{width:68px}
html body#stp.lt .tl .tic{width:50px;height:50px;border-radius:16px}
html body#stp.lt .tl.hot .tic{background:var(--pu);color:#fff}
html body#stp.lt .tl.hot .tlb{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important;font-weight:800}
html body#stp.lt .fxr .tic.sm{width:36px;height:36px;border-radius:10px;background:#e8f4fd;display:grid;place-items:center;flex:0 0 36px;color:var(--pu)}
html body#stp.lt .fxr .tic.sm .ui-ic{width:20px;height:20px}
html body#stp.lt #toast{top:calc(58px + env(safe-area-inset-top,0px));bottom:auto}
html body#stp.lt .sfoot{display:none!important}
#mmenu .mfoot{display:flex;gap:14px;justify-content:center;padding:8px 6px 4px;border-top:1px solid #f0f0f4;margin-top:4px}
#mmenu .mfoot a{font-size:.74rem;color:var(--mut);-webkit-text-fill-color:var(--mut);text-decoration:none}
html body#stp.lt #mlibL h4{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:.78rem;text-transform:none;letter-spacing:0;color:var(--ink)!important}
html body#stp.lt #mlibL .lbm{min-height:28px;font-size:.7rem!important;padding:2px 10px!important}
@media(max-width:760px){html body#stp.lt #sc h2{font-size:1.15rem;margin-bottom:6px}html body#stp.lt.empty-proj #sc h2{font-size:1.3rem}}
#sht .segk{display:flex;gap:6px;background:#e8f4fd;border-radius:12px;padding:4px;margin-bottom:8px}
#sht .segk button{flex:1;min-height:36px;border:0!important;border-radius:9px!important;background:transparent!important;color:#2f9be0!important;-webkit-text-fill-color:#2f9be0!important;font-weight:700!important}
#sht .segk button.on{background:#2f9be0!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt #mlibL .lbs{margin:8px 0 4px;font-size:.72rem;color:var(--mut);-webkit-text-fill-color:var(--mut);font-weight:700}
#ahLib{flex:0 0 auto;min-height:36px;padding:0 14px;border:0;border-radius:999px;background:#2f9be0;color:#fff;-webkit-text-fill-color:#fff;font-weight:800;font-size:.82rem;box-shadow:0 4px 14px rgba(47,155,224,.4);white-space:nowrap;margin-right:6px;cursor:pointer}
#ahLib[hidden]{display:none}
@media(max-width:760px){html body#stp.lt.is-master #ahTime{display:none}#ahLib{font-size:.76rem;padding:0 12px}}
#home #homeLib{background:#2f9be0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;box-shadow:0 4px 14px rgba(47,155,224,.4)}
/* ---- name pill lives on the sticky track card; clips are plain waves ---- */
html body#stp.lt .rg .rn{display:none!important}
html body#stp.lt .th .nm{display:inline-flex;align-items:center;max-width:100%;padding:4px 10px;border-radius:999px;background:#fff;color:var(--dk)!important;-webkit-text-fill-color:var(--dk)!important;font-size:.68rem;font-weight:700;box-shadow:0 1px 4px rgba(20,20,40,.16);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;z-index:6}
/* lt24: FX on the left (~1/4), name fills the rest and stays fully readable; M/S stay on the row below */
.th .r1-nm{display:flex;align-items:center;gap:4px;flex-wrap:nowrap!important;min-width:0}
.th .r1-nm .th-fx{flex:0 0 25%;width:25%;max-width:25%;box-sizing:border-box;min-width:0;padding:0 2px!important;font-weight:700;position:relative;z-index:1}
.th .r1-nm .nm{flex:1 1 auto;min-width:0;max-width:none;position:relative;z-index:1}
html body#stp.lt .th .r1-nm{flex-wrap:nowrap!important}
html body#stp.lt .th .r1-nm .th-fx,html body#stp.lt .th .r1-nm [data-a=fx]{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 25%;width:25%;max-width:25%;box-sizing:border-box;min-width:0;min-height:22px;padding:0 3px!important;border-radius:999px!important;font-size:.58rem!important;font-weight:700;letter-spacing:.02em;position:relative;z-index:1}
html body#stp.lt .th .r1-nm .nm{flex:1 1 auto;min-width:0;max-width:none!important;position:relative;z-index:1}
@media(max-width:760px){
html body#stp.lt .th .nm,html body#stp.lt .th .r1-nm .nm{
  font-size:14px!important;
  line-height:1.2;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  display:block;
  max-width:none!important;
  overflow-wrap:break-word;
  word-break:normal;
  padding:3px 7px;
  -webkit-line-clamp:unset;
}
html body#stp.lt .th .r1-nm{align-items:center}
}


html body#stp.lt .th.sel .nm{background:var(--dk);color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt.empty-proj .th .nm{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
/* single horizontally scrolling row with a faded edge */
html body#stp.lt #sc .row{display:flex!important;flex-wrap:nowrap!important;grid-auto-flow:unset;grid-template-rows:none;overflow-x:auto;overflow-y:hidden;gap:8px;-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 90%,transparent);padding-right:44px;scrollbar-width:none}
html body#stp.lt #sc .row::-webkit-scrollbar{display:none}
html body#stp.lt #sc .row .tl{flex:0 0 66px;width:66px}
@media(max-width:440px){html body#stp.lt #sc .row{gap:4px}html body#stp.lt #sc .row .tl{flex-basis:62px;width:62px}html body#stp.lt .tl .tic{width:48px;height:48px}html body#stp.lt .tl .tlb{font-size:.64rem}}
/* ---- Projects home ---- */
html body#stp.lt #pjx{position:fixed!important;inset:0!important;z-index:100003!important;background:#f2f2f3!important;color:#1d1d22!important;display:flex!important;flex-direction:column!important;font-family:inherit!important}
html body#stp.lt #pjx[hidden]{display:none!important}
html body#stp.lt.pjon #sht[hidden],html body#stp.lt.pjon #fadecard{display:none!important}
html body#stp.lt #pjx .pj-ic{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body#stp.lt #pjx .pj-main{flex:1!important;overflow-y:auto!important;padding:calc(18px + env(safe-area-inset-top,0px)) 18px 150px!important;max-width:720px!important;width:100%!important;margin:0 auto!important;box-sizing:border-box!important}
html body#stp.lt #pjx .pj-h{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:6px 0 10px!important}
html body#stp.lt #pjx h1{font-size:2.1rem!important;font-weight:800!important;letter-spacing:-.02em!important;margin:0!important;color:#1d1d22!important;-webkit-text-fill-color:#1d1d22!important}
html body#stp.lt #pjx button,html body#stp.lt #pjx a{font:inherit!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important}
html body#stp.lt #pjx .pj-sb{width:42px!important;height:42px!important;border-radius:50%!important;border:0!important;background:transparent!important;color:#1d1d22!important;display:grid!important;place-items:center!important}
html body#stp.lt #pjx .pj-q{width:100%!important;box-sizing:border-box!important;border:1px solid #e2e2e8!important;border-radius:12px!important;padding:10px 12px!important;font-size:1rem!important;margin-bottom:8px!important;background:#fff!important;color:#1d1d22!important}
html body#stp.lt #pjx .pj-q[hidden]{display:none!important}
html body#stp.lt #pjx .pj-g{font-size:.78rem!important;font-weight:700!important;color:#6b6b76!important;margin:14px 2px 6px!important}
html body#stp.lt #pjx .pj-it{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 4px!important;border-radius:14px!important;cursor:pointer!important}
html body#stp.lt #pjx .pj-it:active{background:#e9e9ee!important}
html body#stp.lt #pjx .pj-pl{flex:0 0 44px!important;width:44px!important;height:44px!important;border-radius:50%!important;border:0!important;background:#fff!important;color:#1d1d22!important;display:grid!important;place-items:center!important;box-shadow:0 2px 8px rgba(20,20,40,.1)!important}
html body#stp.lt #pjx .pj-pl .pj-ic{width:18px!important;height:18px!important}
html body#stp.lt #pjx .pj-pl.on{background:#2f9be0!important;color:#fff!important}
html body#stp.lt #pjx .pj-tx{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important}
html body#stp.lt #pjx .pj-tx b{font-size:.98rem!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#1d1d22!important;-webkit-text-fill-color:#1d1d22!important}
html body#stp.lt #pjx .pj-tx span{font-size:.78rem!important;color:#6b6b76!important;-webkit-text-fill-color:#6b6b76!important}
html body#stp.lt #pjx .pj-th{flex:0 0 44px!important;width:44px!important;height:32px!important;fill:#5ab4f0!important}
html body#stp.lt #pjx .pj-dt{flex:0 0 36px!important;width:36px!important;height:36px!important;border:0!important;background:transparent!important;color:#1d1d22!important;display:grid!important;place-items:center!important;border-radius:50%!important}
html body#stp.lt #pjx .pj-empty{color:#6b6b76!important;text-align:center!important;margin-top:40px!important}
html body#stp.lt #pjx .pj-pop{position:fixed!important;z-index:40!important;background:#fff!important;border-radius:14px!important;box-shadow:0 12px 40px rgba(20,20,40,.2)!important;padding:6px!important;display:flex!important;flex-direction:column!important;min-width:160px!important}
html body#stp.lt #pjx .pj-pop[hidden]{display:none!important}
html body#stp.lt #pjx .pj-pop button{border:0!important;background:transparent!important;text-align:left!important;padding:11px 14px!important;border-radius:10px!important;font-size:.95rem!important;color:#1d1d22!important}
html body#stp.lt #pjx .pj-pop button:hover{background:#eef6fc!important}
html body#stp.lt #pjx .pj-pop .dng{color:#e11d48!important}
html body#stp.lt #pjx .pj-fab{position:fixed!important;right:18px!important;bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;display:flex!important;align-items:center!important;gap:10px!important;flex-direction:row-reverse!important}
html body#stp.lt #pjx .pj-fab[hidden]{display:none!important}
html body#stp.lt #pjx .pj-new{height:52px!important;padding:0 22px 0 16px!important;border:0!important;border-radius:999px!important;background:#2f9be0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:800!important;font-size:1.05rem!important;display:flex!important;align-items:center!important;gap:6px!important;box-shadow:0 8px 22px rgba(47,155,224,.45)!important}
html body#stp.lt #pjx .pj-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;display:flex!important;justify-content:space-around!important;background:#fff!important;border-top:1px solid #ececf1!important;padding:6px 0 calc(6px + env(safe-area-inset-bottom,0px))!important}
html body#stp.lt #pjx .pj-nav button{border:0!important;background:transparent!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;font-size:.7rem!important;color:#8a8a94!important;padding:4px 18px!important}
html body#stp.lt #pjx .pj-nav button.on{color:#2f9be0!important}
html body#stp.lt #pjx .pj-card{background:#fff!important;border-radius:18px!important;padding:14px!important;margin:12px 0!important;display:flex!important;flex-direction:column!important;gap:8px!important;box-shadow:0 1px 4px rgba(20,20,40,.05)!important}
html body#stp.lt #pjx .pj-lbl{font-size:.74rem!important;font-weight:700!important;color:#6b6b76!important;text-transform:uppercase!important;letter-spacing:.04em!important}
html body#stp.lt #pjx .pj-row{display:flex!important;flex-direction:column!important}
html body#stp.lt #pjx .pj-row span{font-size:.8rem!important;color:#6b6b76!important}
html body#stp.lt #pjx .pj-btn{display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #e2e2e8!important;border-radius:12px!important;background:#fff!important;padding:12px 14px!important;color:#1d1d22!important;-webkit-text-fill-color:#1d1d22!important;text-decoration:none!important;font-size:.95rem!important;font-weight:600!important;text-align:left!important}
html body#stp.lt #pjx .pj-btn.pri{background:#2f9be0!important;border-color:#2f9be0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;justify-content:center!important}
html body#stp.lt #pjx .pj-plan{font-size:1.6rem!important;font-weight:800!important}
html body#stp.lt #pjx .plan.life{background:linear-gradient(135deg,#d6ecfb,#fff)!important}
html body#stp.lt #pjx .plan p{margin:0!important;color:#45454f!important;font-size:.9rem!important}

html body#stp.lt #ahLib{background:#2f9be0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;border-radius:999px!important;box-shadow:0 4px 14px rgba(47,155,224,.4)!important;font-weight:800!important}
html body#stp.lt .th.sel .nm,html body#stp.lt.empty-proj .th.sel .nm{background:var(--dk)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt #pjx .pj-it .pj-pl.on{background:#2f9be0!important;color:#fff!important}
html body#stp.lt #pjx .pj-nav button.on{background:transparent!important;color:#2f9be0!important;-webkit-text-fill-color:#2f9be0!important}
html body#stp.lt #pjx .pj-nav button span{color:inherit!important;-webkit-text-fill-color:inherit!important}
html body#stp.lt #pjx .pj-new:hover,html body#stp.lt #pjx .pj-btn.pri:hover,html body#stp.lt #ahLib:hover,html body#stp.lt #sht .segk button.on:hover,html body#stp.lt #pjx .pj-pl.on:hover{background:#2f9be0!important}
html body#stp.lt #sht .segk button{background:transparent!important;color:#1f7fc0!important;-webkit-text-fill-color:#1f7fc0!important;border:0!important}
html body#stp.lt #sht .segk button.on{background:#2f9be0!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
/* ---- brand: flat light-blue mark + dark wordmark ---- */
html body#stp.lt .lbox .lt,html body#stp.lt .logo{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:none!important;color:#123a5c!important;-webkit-text-fill-color:#123a5c!important;font-weight:800;letter-spacing:-.01em}
html body#stp.lt .lbox .lt::before,html body#stp.lt .logo::before{content:"";width:1.6em;height:1.6em;flex:0 0 1.6em;border-radius:.4em;background:#f2f2f3 url(/favicon.svg?v=lg1) center/100% no-repeat;box-shadow:0 1px 4px rgba(18,58,92,.12)}
html body#stp.lt #pjx .pj-brand{display:flex!important;align-items:center!important;gap:8px!important;font-size:.9rem!important;font-weight:800!important;color:#123a5c!important;-webkit-text-fill-color:#123a5c!important;margin:0 0 2px!important}
html body#stp.lt #pjx .pj-brand img{width:26px!important;height:26px!important;border-radius:7px!important;box-shadow:0 1px 4px rgba(18,58,92,.12)!important}

.ref-box{border:1px solid rgba(90,180,240,.5);border-radius:12px;padding:8px 10px;display:flex;flex-direction:column;gap:6px;background:rgba(90,180,240,.06)}
.ref-box>b{font-size:.8rem}
.ref-list{display:flex;flex-direction:column;gap:4px}
.ref-row{display:flex;align-items:center;gap:6px}
.ref-row.on{outline:1px solid rgba(90,180,240,.85);border-radius:8px;background:rgba(90,180,240,.14)}
.ref-row .ref-name{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ref-wave{width:100%;height:56px;display:block;border-radius:8px;background:rgba(0,0,0,.25);touch-action:none;cursor:pointer}
.ref-pick{display:flex;flex-direction:column;gap:6px}
.ref-pick input[type=range]{width:100%}

/* 1.1.1 bar.beat.tick sits to the left of the play buttons; clock time sits to the right (phone + desktop). */
html body#stp.lt .tplay{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:0 0 auto}
html body#stp.lt #tBar{display:block!important;position:static;transform:none;pointer-events:none;z-index:2;font:700 .68rem/1 ui-monospace,Menlo,Consolas,monospace;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;letter-spacing:-.02em;padding:0;margin:0;background:none!important;border:0!important;box-shadow:none!important;min-width:0;text-align:left;white-space:nowrap}
html body#stp.lt #tdisp{gap:0;min-width:0}
html body#stp.lt #tdisp #tSec,html body#stp.lt #tSec{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-size:.86rem;font-weight:800;font-style:normal}
html body#stp.lt #mlibL{max-height:320px}
html body#stp.lt .shl{font-size:.72rem;font-weight:800;margin:8px 0 4px;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html body#stp.lt .cl-lic{margin-top:10px}
html body#stp.lt .cl-lic a{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important}
html body#stp.lt #clAmtL{margin:4px 0 10px}
html body#stp.lt #sht .segk.cl-str button{font-size:.78rem;padding:0 4px}
html body#stp.lt .secadd{min-height:28px!important;padding:0 10px!important;border-radius:999px!important;background:#fff!important;border:1px solid #e2e2e8!important;color:var(--ink)!important;font-size:.72rem!important;font-weight:800!important;white-space:nowrap}
html body#stp.lt #secl{position:absolute;left:0;top:2px;right:0;height:14px;pointer-events:none;z-index:3}
html body#stp.lt #secl .secb{position:absolute;top:0;height:12px;border-radius:4px;background:rgba(47,155,224,.22);border:1px solid rgba(47,155,224,.45);overflow:hidden;pointer-events:none}
html body#stp.lt #secl .secb em{display:block;padding:0 6px;font-size:.58rem;font-style:normal;font-weight:700;color:var(--wv);line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ruler{position:relative}

/* ---------- desktop studio layout (wide screens only) ---------- */
@media(min-width:761px){
html body#stp.lt.desk{--hw:200px;--lh:80px;--rh:36px}
html body#stp.lt.desk .th .r1-nm .nm,html body#stp.lt.desk .th .nm{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  display:block;
  max-width:none!important;
  overflow-wrap:break-word;
  word-break:normal;
}
html body#stp.lt.desk .th .r1-nm .ty,html body#stp.lt.desk .th .ty{flex:0 1 auto;max-width:34%;min-width:0;overflow:hidden;text-overflow:ellipsis}

html body#stp.lt.desk .wrap{padding:0;gap:0;flex:1;min-height:0}
html body#stp.lt.desk #ah{display:grid;grid-template-columns:auto auto auto auto 1fr auto auto auto;align-items:center;gap:6px 8px;padding:4px 10px 4px 8px;min-height:44px;background:#fff;border-bottom:1px solid #ececf1;box-shadow:0 1px 0 rgba(20,20,40,.04);position:relative;z-index:40}
html body#stp.lt.desk #ahBack{order:0}
html body#stp.lt.desk #dLogo{order:1;font-weight:800;font-size:.92rem;color:#123a5c!important;-webkit-text-fill-color:#123a5c!important;letter-spacing:-.01em;white-space:nowrap;padding:0 6px 0 2px}
html body#stp.lt.desk #dNav{order:2;display:flex;align-items:center;gap:2px}
html body#stp.lt.desk #dHist{order:3;display:flex;gap:2px}
html body#stp.lt.desk .ah-g{order:4;flex:1;min-width:8px}
html body#stp.lt.desk .ah-t{order:5;position:absolute;left:50%;transform:translateX(-50%);text-align:center;max-width:36vw;z-index:1;pointer-events:auto}
html body#stp.lt.desk .ah-t b{max-width:36vw;font-size:.95rem}
html body#stp.lt.desk .ah-t small{display:none}
html body#stp.lt.desk #ahTime{display:none}
html body#stp.lt.desk #ahLib{order:6}
html body#stp.lt.desk #dRight{order:7;display:flex;align-items:center;gap:6px}
html body#stp.lt.desk #ahMenu,html body#stp.lt.desk #ahAcct{display:none!important}
html body#stp.lt.desk #dNav .dmen{position:relative}
html body#stp.lt.desk #dNav .dmt{min-height:32px!important;padding:0 10px!important;border:0!important;background:transparent!important;border-radius:8px!important;font-weight:700!important;font-size:.82rem!important;color:var(--ink)!important}
html body#stp.lt.desk #dNav .dmt:hover,html body#stp.lt.desk #dNav .dmt.on{background:#eef6fc!important}
html body#stp.lt.desk #dNav .dmw{position:absolute;top:calc(100% + 4px);left:0;z-index:100010;min-width:200px;background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(20,20,40,.16);padding:6px;display:flex;flex-direction:column}
html body#stp.lt.desk #dNav .dmw[hidden]{display:none!important}
html body#stp.lt.desk #dNav .dmi{min-height:36px!important;justify-content:flex-start;padding:0 12px!important;border:0!important;background:transparent!important;border-radius:8px!important;font-weight:600!important;font-size:.86rem!important}
html body#stp.lt.desk #dNav .dmi:hover{background:#f4f4f7!important}
html body#stp.lt.desk #dRight .dfront{min-height:32px!important;padding:0 10px!important;border-radius:999px!important;font-weight:800!important;font-size:.78rem!important;background:#e8f4fd!important;border:0!important;color:var(--wv)!important;-webkit-text-fill-color:var(--wv)!important}
html body#stp.lt.desk #dInvite{min-height:32px!important;padding:0 12px!important;border-radius:999px!important;background:#fff!important}
html body#stp.lt.desk #dExp{min-height:32px!important;padding:0 14px!important;border-radius:999px!important}
html body#stp.lt.desk .main{flex:1;min-height:0;grid-template-columns:minmax(0,1fr)!important;padding-right:92px}html body#stp.lt.desk.desk-side-on .main{padding-right:calc(92px + min(340px,calc(100vw - 220px)))}
html body#stp.lt.desk #arr{min-height:0;position:relative}
html body#stp.lt.desk #side{position:fixed;top:48px;right:92px;bottom:58px;width:min(340px,calc(100vw - 220px));z-index:35;display:none;flex-direction:column;border-radius:16px 0 0 16px!important;overflow:auto}
html body#stp.lt.desk.desk-side-on #side{display:flex}
html body#stp.lt.desk #dSideX{position:absolute;top:8px;right:8px;z-index:2;width:32px;height:32px;padding:0!important;border-radius:50%!important}
html body#stp.lt.desk #drail{display:flex;flex-direction:column;align-items:center;gap:4px;position:fixed;top:48px;right:0;bottom:58px;width:92px;z-index:36;background:#fff;border-left:1px solid #ececf1;padding:8px 4px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
html body#stp.lt.desk #drail button{width:84px;min-height:44px;padding:4px 2px!important;border:0!important;background:transparent!important;border-radius:12px!important;flex-direction:column;gap:1px;font-size:.6rem!important;font-weight:700!important;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;white-space:nowrap;line-height:1.15;text-align:center}
html body#stp.lt.desk #drail button .ui-ic{width:20px;height:20px;color:var(--pu);stroke:var(--pu)}
html body#stp.lt.desk #drail button:hover{background:#eef6fc!important}
html body#stp.lt.desk #drail button.on{background:#e8f4fd!important;color:var(--wv)!important;-webkit-text-fill-color:var(--wv)!important}
html body#stp.lt.desk #dstart{display:none;position:absolute;inset:36px 0 0 var(--hw);z-index:8;align-items:center;justify-content:center;pointer-events:none}
html body#stp.lt.desk.empty-proj #dstart{display:flex}
html body#stp.lt.desk #dstart .dpills{pointer-events:auto;display:grid;grid-template-columns:repeat(3,minmax(200px,240px));gap:14px 16px}
html body#stp.lt.desk #dstart .dpill{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 22px 0 16px!important;border:0!important;border-radius:999px!important;background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;box-shadow:0 4px 16px rgba(20,20,40,.10),0 1px 3px rgba(20,20,40,.06)!important;font-weight:700!important;font-size:.92rem!important;justify-content:flex-start}
html body#stp.lt.desk #dstart .dpill .ui-ic{width:22px;height:22px;color:var(--pu);stroke:var(--pu);flex:0 0 22px}
html body#stp.lt.desk #dstart .dpill:hover{background:#f7fbfe!important;box-shadow:0 6px 18px rgba(47,155,224,.16)!important}
html body#stp.lt.desk #sc,html body#stp.lt.desk #trn,html body#stp.lt.desk .ahd,html body#stp.lt.desk .sfoot{display:none!important}
html body#stp.lt.desk #dock{background:#fff;border-top:1px solid #ececf1;padding:0;z-index:38}
html body#stp.lt.desk #ab{border-bottom:1px solid #f0f0f4;padding:4px 10px}
html body#stp.lt.desk #ab .abs{display:flex;gap:4px;overflow-x:auto;flex-wrap:nowrap}
html body#stp.lt.desk #dtrn{display:flex;align-items:center;gap:8px;padding:6px 12px;min-height:56px;position:relative}
html body#stp.lt.desk #dtrn #dZoom{margin-left:auto;display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}
html body#stp.lt.desk #dtrn #dZoom button{min-width:36px;min-height:32px;padding:0 8px!important;border-radius:8px!important;border:1px solid rgba(20,20,40,.14)!important;background:#fff!important;color:var(--ink)!important}
html body#stp.lt.desk #dtrn #dZoom button:hover{background:#eef6fc!important}
html body#stp.lt.desk #dtrn #dZLvl{min-width:64px;text-align:center;font-size:.72rem;font-weight:700;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}

html body#stp.lt.desk #dtrn button{min-height:34px;padding:0 10px!important;border-radius:10px!important;background:#fff!important}
html body#stp.lt.desk #dtrn .tplay{margin:0 4px}
html body#stp.lt.desk #dtrn button#dPlay,html body#stp.lt.desk #dtrn button#dPlay.big{width:56px;height:56px;min-width:56px;min-height:56px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:inherit!important;-webkit-text-fill-color:inherit!important;border:0!important;justify-content:center;box-shadow:0 2px 10px rgba(20,20,40,.12)!important}
html body#stp.lt.desk #dtrn button#dPlay .ui-ic{fill:currentColor;stroke:none;width:24px;height:24px}
html body#stp.lt.desk #dtrn #tBar{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html body#stp.lt.desk #dTime,html body#stp.lt.desk #dClock{flex:0 0 auto;min-width:64px;display:flex;align-items:center}
html body#stp.lt.desk #dTime #tBar{font-size:.78rem;font-weight:800;text-align:left}
html body#stp.lt.desk #dClock #tdisp{box-shadow:none;background:transparent;padding:0;min-width:64px}
html body#stp.lt.desk #dMaster,html body#stp.lt.desk .dval{font-weight:700!important;font-size:.8rem!important}
html body#stp.lt.desk #dRec{color:#e11d48!important;-webkit-text-fill-color:#e11d48!important;font-weight:800!important}
html body#stp.lt.desk #dRec.on{background:#e11d48!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt.desk #dLoop.on,html body#stp.lt.desk #dMet.on{background:var(--dk)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt.desk #dtrn #dImp,html body#stp.lt.desk #dtrn #dKb,html body#stp.lt.desk #dtrn #dBM{font-weight:700!important;font-size:.8rem!important;white-space:nowrap}
html body#stp.lt.desk #dtrn #dImp .ui-ic,html body#stp.lt.desk #dtrn #dKb .ui-ic,html body#stp.lt.desk #dtrn #dBM .ui-ic{width:16px;height:16px;margin-right:4px}
html body#stp.lt.desk #tlg{display:flex;flex-direction:column}
html body#stp.lt.desk .trow{order:2}
html body#stp.lt.desk .trow.head{order:0}
html body#stp.lt.desk .trow.add{order:1}
html body#stp.lt.desk #ph{order:3;position:absolute}
html body#stp.lt.desk .addln{align-items:flex-start;padding-top:8px}
html body#stp.lt.desk #ed{border-radius:0!important}
html body#stp.lt.desk.empty-proj #ed{display:none}
}
@media(max-width:760px){
html body#stp.lt #dLogo,html body#stp.lt #dNav,html body#stp.lt #dHist,html body#stp.lt #dRight,html body#stp.lt #drail,html body#stp.lt #dstart,html body#stp.lt #dtrn,html body#stp.lt #dSideX{display:none!important}
}

/* lt11: header no longer hosts Add to Library */
#ahLib{display:none!important}
html body#stp.lt #updbar,html body#stp #updbar{position:static;left:auto;bottom:auto;transform:none;z-index:6;padding:0 12px;min-height:32px;margin:0 6px 0 0;border-radius:999px;border:1px solid rgba(47,155,224,.45);background:#2f9be0;color:#fff!important;-webkit-text-fill-color:#fff;font:700 .75rem Inter,system-ui;box-shadow:0 2px 8px rgba(47,155,224,.35);cursor:pointer;flex:0 0 auto;white-space:nowrap}
html body#stp.lt.desk #dRight #updbar{order:-1;margin-right:8px}
html body#stp.lt #ahLibBtn{flex:0 0 auto;min-height:32px;padding:0 12px!important;border-radius:999px!important;border:1px solid rgba(20,20,40,.14)!important;background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-weight:800!important;font-size:.78rem!important;white-space:nowrap;margin:0 2px 0 0;cursor:pointer}
html body#stp.lt #ahLibBtn:hover{background:#eef6fc!important}
html body#stp.lt.desk #ahLibBtn{display:none!important}
html body#stp.lt #ahAcct,html body#stp.lt.desk #dRight #dAcct{flex:0 0 auto;min-height:32px!important;padding:0 12px!important;border-radius:999px!important;border:1px solid rgba(20,20,40,.14)!important;background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-weight:800!important;font-size:.78rem!important;white-space:nowrap}
html body#stp.lt #ahAcct:hover,html body#stp.lt.desk #dRight #dAcct:hover{background:#eef6fc!important}
html body#stp.lt #ahAcct[data-auth="in"],html body#stp.lt.desk #dRight #dAcct[data-auth="in"]{background:#2f9be0!important;border-color:#2f9be0!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#stp.lt.desk #dRight #dAcct{order:8}

html body#stp.lt #ah #updbar{margin-left:auto}
.floatcard{position:fixed;z-index:100012;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 24px));height:min(80vh,720px);max-height:min(80vh,720px);background:var(--card,#fff);color:inherit;border-radius:22px;box-shadow:0 18px 50px rgba(16,24,40,.28);border:1px solid rgba(20,20,40,.08);overflow:hidden;display:flex;flex-direction:column}
.floatcard .sh-b{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
.floatcard .sh-h,.floatcard .eqfloat-h,.floatcard .float-h{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;cursor:grab;touch-action:none;background:var(--bg,#f6f7fb);border-bottom:1px solid rgba(20,20,40,.06);border-radius:16px 16px 0 0}
.floatcard .sh-h b,.floatcard .eqfloat-h b{flex:1;min-width:0}
.floatcard .sh-b{padding:10px 12px 14px}
.sh-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:auto}
.kbinst{display:flex;align-items:center;gap:6px;font:600 .75rem Inter,system-ui}
.kbinst select,#kbInst{max-width:180px;min-height:32px;border-radius:8px;border:1px solid rgba(20,20,40,.15);padding:0 8px;background:#fff}
#kbcard .kbk,#sht #osk.kbk{position:relative;height:160px;width:100%;touch-action:none;margin:8px 0;user-select:none}
#kbOctL{font:700 .75rem Inter,system-ui;white-space:nowrap;color:var(--mut)}
@media(max-width:760px){
 .floatcard{display:none!important}
 html body#stp.lt #trn{padding-bottom:8px}
}

@media(max-width:760px){
 html body#stp.lt #ahTime:empty{display:none}
 html body#stp.lt #trn #tSec,html body#stp.lt #trn #tdisp #tSec{font-size:.78rem;font-weight:800}
 html body#stp.lt #trn #tdisp small{margin:0;padding:0}
}

html body#stp.lt .floatcard .shc,html body#stp.lt .floatcard [data-s="kbx"],html body#stp.lt .floatcard [data-s="close"],html body#stp.lt #ab .abx{flex:0 0 auto;position:relative;z-index:2;pointer-events:auto}
html body#stp.lt.desk #ab{position:absolute!important;left:0;right:0;bottom:100%;z-index:40;pointer-events:auto;margin:0;border-radius:0!important;box-shadow:0 -2px 10px rgba(20,20,40,.08)!important}
html body#stp.lt.desk #selbar{position:absolute!important;left:0;right:0;top:0;z-index:20;flex:0 0 auto}
html body#stp.lt .bmk{left:0;right:0;top:0;bottom:0;align-items:center;justify-content:center;padding:16px;z-index:100015}
html body#stp.lt .bmk .bmb,html body#stp.lt .bmk .gl.bmb{width:min(960px,calc(100vw - 24px));height:min(80vh,720px);max-height:min(80vh,720px);flex:0 1 auto;border-radius:22px!important}
html body#stp.lt .bmk [data-b="x"]{flex:0 0 auto;position:relative;z-index:3;min-width:42px;min-height:42px;pointer-events:auto}
/* lt29: wave card = name across the whole top, FX / M / S in one full-width row along the bottom */
html body#stp.lt .th{display:flex;flex-direction:column}
html body#stp.lt .th .r1-nm{flex:1 1 auto;min-height:0;align-items:flex-start!important;flex-wrap:nowrap!important}
html body#stp.lt .th .r1-nm .nm{flex:1 1 auto;width:100%;font-size:14px!important;line-height:1.2;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-width:none!important;overflow-wrap:anywhere;word-break:normal;padding:3px 8px;border-radius:12px}
html body#stp.lt .th .r1-bt{display:flex!important;flex-wrap:nowrap!important;align-items:stretch;gap:4px;width:100%;margin-top:auto}
html body#stp.lt .th .r1-bt button{flex:0 0 auto;min-height:30px!important;font-size:.8rem!important;font-weight:800;padding:0 6px!important;border-radius:8px!important;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
html body#stp.lt .th .r1-bt .th-fx,html body#stp.lt .th .r1-bt .m,html body#stp.lt .th .r1-bt .s{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0}
@media(min-width:761px){
html body#stp.lt.desk{--lh:104px}
html body#stp.lt.desk .th .r1-bt .ty{flex:0 1 auto;max-width:26%;min-width:0;overflow:hidden;text-overflow:ellipsis;align-self:center;font-size:.66rem!important}
html body#stp.lt.desk .th .r1-bt [data-a=a],html body#stp.lt.desk .th .r1-bt .th-tone,html body#stp.lt.desk .th .r1-bt [data-a=ab]{flex:0 0 auto;min-width:30px}
html body#stp.lt.desk .th .r1-bt{margin-top:2px}
html body#stp.lt.desk .th .r1-nm{flex:0 0 auto}
}
/* lt33 Projects mini player */
#pjx .pj-mp{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(64px + env(safe-area-inset-bottom,0px));width:min(704px,calc(100% - 20px));box-sizing:border-box;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #ececf1;border-radius:14px;box-shadow:0 4px 18px rgba(20,20,40,.14);padding:8px 10px;z-index:3}
#pjx .pj-mp[hidden]{display:none}
#pjx .pj-mpb{flex:0 0 40px;width:40px;height:40px;border-radius:50%;border:0;background:#2f9be0;color:#fff;display:grid;place-items:center;cursor:pointer}
#pjx .pj-mpb .pj-ic{width:18px;height:18px}
#pjx .pj-mpm{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#pjx .pj-mpn{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pjx .pj-mpr{display:flex;align-items:center;gap:8px;font-size:12px;color:#6b6b78;font-variant-numeric:tabular-nums}
#pjx .pj-mps{flex:1;min-width:0;height:28px;margin:0;accent-color:#2f9be0;cursor:pointer;touch-action:none}
#pjx .pj-mpx{flex:0 0 32px;width:32px;height:32px;border:0;background:none;color:#6b6b78;font-size:16px;cursor:pointer}
body.pjmp .pj-fab{bottom:calc(148px + env(safe-area-inset-bottom,0px))!important}
body.pjmp #pjx .pj-main{padding-bottom:230px!important}
/* lt34 Projects refresh button */
#pjx .pj-hc{display:flex;align-items:center;gap:6px}
#pjx .pj-rf{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:0;border-radius:18px;background:#fff;color:#1d1d22;font:inherit;font-size:14px;cursor:pointer;box-shadow:0 1px 4px rgba(20,20,40,.08)}
#pjx .pj-rf .pj-ic{width:18px!important;height:18px!important}
#pjx .pj-rf:disabled{opacity:.6;cursor:default}
#pjx .pj-rf.spin .pj-ic{animation:pjspin .9s linear infinite}
@keyframes pjspin{to{transform:rotate(360deg)}}

html body#stp.lt #fadecard{left:50%!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(420px,calc(100vw - 24px))!important}

/* lt79: phone-only lightweight visuals — desktop rules unchanged */
html body#stp.lt.phonelite,html body#stp.lt.phonelite *{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
}
/* lt80g library browse: light app theme, same layout */
html body#stp.lt #sht.libui{background:var(--bg);color:var(--ink);-webkit-text-fill-color:var(--ink)}
html body#stp.lt #sht.libui .sh-h.libh{display:flex;grid-template-columns:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px 8px;flex:0 0 auto}
html body#stp.lt #sht.libui .sh-h.libh b{text-align:left;flex:1;min-width:0;font-size:1.28rem;font-weight:800;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
html body#stp.lt #sht.libui .sh-h.libh .shc{justify-self:end;margin-left:auto;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;background:transparent!important;border:0!important}
html body#stp.lt #sht.libui .sh-b.libbrowse{padding:0 14px 12px;gap:10px;overflow:hidden}
html body#stp.lt #sht.libui .libsrc{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex:0 0 auto;padding:2px 0}
html body#stp.lt #sht.libui .libsrcb{flex:0 0 auto;min-height:32px;padding:0 12px!important;border-radius:999px!important;background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;border:1px solid #e2e2e8!important;font-size:.78rem!important;font-weight:700}
html body#stp.lt #sht.libui .libsrcb:hover{background:var(--lav)!important}
html body#stp.lt #sht.libui .libsrcb.on,html body#stp.lt #sht.libui .libsrcb.pri.on{background:var(--pu)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--pu)!important}
html body#stp.lt #sht.libui .libsearch{position:relative;flex:0 0 auto}
html body#stp.lt #sht.libui .libsearch .libsi{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;pointer-events:none;color:var(--mut)}
html body#stp.lt #sht.libui .libsearch .libsi .ui-ic{width:18px;height:18px}
html body#stp.lt #sht.libui #libQ,html body#stp.lt #sht.libui .libsearch input{width:100%;box-sizing:border-box;min-height:44px;padding:10px 14px 10px 40px!important;border:1px solid #e2e2e8!important;border-radius:14px!important;background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-size:.95rem;margin:0}
html body#stp.lt #sht.libui #libQ::placeholder{color:var(--mut);-webkit-text-fill-color:var(--mut)}
html body#stp.lt #sht.libui .libpills{display:flex;gap:8px;align-items:center;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;flex:0 0 auto}
html body#stp.lt #sht.libui .libpill,html body#stp.lt #sht.libui select.libpill{flex:0 0 auto;min-height:36px;padding:0 12px!important;border-radius:999px!important;background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;border:1px solid #e2e2e8!important;font-size:.8rem!important;font-weight:700;appearance:none;-webkit-appearance:none}
html body#stp.lt #sht.libui .libpill:hover,html body#stp.lt #sht.libui select.libpill:hover{background:var(--lav)!important}
html body#stp.lt #sht.libui select.libpill{padding-right:26px!important;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236b6b76' stroke-width='1.6' stroke-linecap='round'/></svg>");background-repeat:no-repeat;background-position:right 10px center}
html body#stp.lt #sht.libui select.libpill option{background:#fff;color:var(--ink)}
html body#stp.lt #sht.libui .libpill.libheart{width:36px;min-width:36px;padding:0!important;display:grid;place-items:center}
html body#stp.lt #sht.libui .libpill.libheart .ui-ic,html body#stp.lt #sht.libui .lfav .ui-ic{width:18px;height:18px}
html body#stp.lt #sht.libui .libpill.libheart.on,html body#stp.lt #sht.libui .lfav.on{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important;border-color:var(--pu)!important;background:var(--lav)!important}
html body#stp.lt #sht.libui .libpill.libheart.on .ui-ic,html body#stp.lt #sht.libui .lfav.on .ui-ic{fill:currentColor}
html body#stp.lt #sht.libui .libtags{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}
html body#stp.lt #sht.libui .libtag{min-height:28px;padding:0 10px!important;border-radius:999px!important;background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;border:1px solid #e2e2e8!important;font-size:.72rem!important;font-weight:600}
html body#stp.lt #sht.libui .libtag:hover{background:var(--lav)!important}
html body#stp.lt #sht.libui .libtag.on{background:var(--lav)!important;color:var(--wv)!important;-webkit-text-fill-color:var(--wv)!important;border-color:var(--cl)!important}
html body#stp.lt #sht.libui #libL,html body#stp.lt #sht.libui .librows{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:8px;padding:2px 0 8px}
html body#stp.lt #sht.libui .lbs{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;margin:8px 0 2px}
html body#stp.lt #sht.libui .shn{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html body#stp.lt #sht.libui .lbr{display:flex;align-items:center;gap:8px;padding:10px 10px;border:1px solid #e2e2e8;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(20,20,40,.06)}
html body#stp.lt #sht.libui .lbr .ltx{flex:1;min-width:0}
html body#stp.lt #sht.libui .lbr .ltx b{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-size:.92rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body#stp.lt #sht.libui .lbr .ltx span{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;font-size:.68rem}
html body#stp.lt #sht.libui .lbr .lpv{width:28px;height:28px;padding:0!important;justify-content:center;border:0!important;background:transparent!important;color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important;border-radius:8px!important;flex:0 0 28px}
html body#stp.lt #sht.libui .lbr .lpv .ui-ic{width:16px;height:16px;fill:currentColor;stroke:none}
html body#stp.lt #sht.libui .lbr .lpv.on{color:var(--cl)!important;-webkit-text-fill-color:var(--cl)!important}
html body#stp.lt #sht.libui .lwave{display:grid;place-items:center;color:var(--mut);flex:0 0 22px}
html body#stp.lt #sht.libui .lwave .ui-ic{width:16px;height:16px}
html body#stp.lt #sht.libui .lbr .lfav,html body#stp.lt #sht.libui .lbr .ladd{width:32px;height:32px;padding:0!important;justify-content:center;border:0!important;background:transparent!important;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;border-radius:8px!important;flex:0 0 32px}
html body#stp.lt #sht.libui .lbr .ladd{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important}
html body#stp.lt #sht.libui .lbr .ladd .ui-ic{width:18px;height:18px}
html body#stp.lt #sht.libui .lbr button.dng,html body#stp.lt #sht.libui .lbr button[data-lb="ren"],html body#stp.lt #sht.libui .lbr button[data-lb="sren"],html body#stp.lt #sht.libui .lbr button[data-lb="sdel"],html body#stp.lt #sht.libui .lbr button[data-lb="sdl"],html body#stp.lt #sht.libui .lbr button[data-lb="sbuy"]{background:#fff!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;border:1px solid #e2e2e8!important;min-height:28px;font-size:.7rem}
@media(max-width:760px){
 html body#stp.lt #sht.libui{left:0;right:0;top:0;bottom:0;transform:none;width:100%;height:100%;max-height:none;min-height:0;border-radius:0;box-shadow:none;padding:calc(8px + env(safe-area-inset-top,0px)) 0 calc(10px + env(safe-area-inset-bottom,0px));background:var(--bg)}
}
/* shared row extras for light manager / side pane */
#sht:not(.libui) .libsrc,#sht:not(.libui) .libpills,#sht:not(.libui) .libtags{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}
#sht:not(.libui) .libsearch{position:relative;flex:0 0 auto}
#sht:not(.libui) .libsearch .libsi{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--mut);display:grid;place-items:center;pointer-events:none}
#sht:not(.libui) .libsearch .libsi .ui-ic{width:18px;height:18px}
#sht:not(.libui) #libQ{padding-left:40px!important}
#sht:not(.libui) .libsrc{flex-wrap:nowrap;overflow-x:auto;max-height:46px}
#sht:not(.libui) .lbr .lwave{display:grid;place-items:center;color:var(--mut);flex:0 0 20px}
#sht:not(.libui) .lbr .lwave .ui-ic,#sht:not(.libui) .lbr .lfav .ui-ic,#sht:not(.libui) .lbr .ladd .ui-ic{width:16px;height:16px}
#sht:not(.libui) .lbr .lfav.on{color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important}
#sht:not(.libui) .lbr .lfav.on .ui-ic{fill:currentColor}
#mlibL .lbr{display:flex;align-items:center;gap:6px}
#mlibL .lwave{display:grid;place-items:center;color:var(--mut)}
#mlibL .lwave .ui-ic,#mlibL .lfav .ui-ic,#mlibL .ladd .ui-ic{width:16px;height:16px}
#mlibL .lfav.on{color:var(--pu)!important}
#mlibL .lfav.on .ui-ic{fill:currentColor}

/* lt80h: phone-only floating timeline zoom buttons */
#zFloat{display:none}
@media(max-width:760px){
html body#stp.lt #zFloat{display:flex;flex-direction:column;gap:8px;position:absolute;right:10px;top:0;transform:translateY(calc(-100% - 10px));z-index:40;pointer-events:none}
html body#stp.lt #zFloat button{pointer-events:auto;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;border:0!important;border-radius:50%!important;background:#fff!important;color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important;box-shadow:0 2px 10px rgba(20,20,40,.16)!important;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
html body#stp.lt #zFloat button .ui-ic{width:22px;height:22px;stroke:currentColor}
html body#stp.lt #zFloat button:active{background:#eef6fc!important}
html body#stp.lt.desk #zFloat,html body#stp.lt.pjon #zFloat,html body#stp.lt.sheet-open #zFloat,html body#stp.lt.homeon #zFloat,html body#stp.lt:has(#pjx:not([hidden])) #zFloat{display:none!important}
}

/* lt80i: phone-only floating Library button */
#libFloat,html body#stp.lt #libFloat{display:none!important}
@media(max-width:760px){
html body#stp.lt #libFloat{display:grid!important;place-items:center;position:fixed;right:10px;top:calc(88px + env(safe-area-inset-top,0px));z-index:40;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;border:0!important;border-radius:50%!important;background:#fff!important;color:var(--pu)!important;-webkit-text-fill-color:var(--pu)!important;box-shadow:0 2px 10px rgba(20,20,40,.16)!important;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
html body#stp.lt #libFloat .ui-ic{width:22px;height:22px;stroke:currentColor}
html body#stp.lt #libFloat:active{background:#eef6fc!important}
html body#stp.lt.desk #libFloat,html body#stp.lt.pjon #libFloat,html body#stp.lt.sheet-open #libFloat,html body#stp.lt.homeon #libFloat,html body#stp.lt:has(#pjx:not([hidden])) #libFloat{display:none!important}
}

/* lt80j: phone header Library button hidden; floating #libFloat replaces it */
@media(max-width:760px){
html body#stp.lt #ahLibBtn{display:none!important}
}

/* lt80m: phone top bar hides the account button in every state; Sign in lives on Projects. */
@media(max-width:760px){
html body#stp.lt #ahAcct{display:none!important}
}
#pjx .pj-in{height:36px;padding:0 14px;border:0;border-radius:18px;background:#2f9be0;color:#fff;-webkit-text-fill-color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap;box-shadow:0 1px 4px rgba(47,155,224,.35)}

/* lt80n: phone Projects page cannot be pinch or double-tap zoomed; workspace timeline zoom is unchanged */
@media(max-width:760px){
html body#stp.lt.pjon #pjx,html body#stp.lt #pjx:not([hidden]){touch-action:manipulation;overscroll-behavior:contain}
}
