
#houseBtn{display:none!important}
html.lhlock,html.lhlock body{overflow:hidden!important;overscroll-behavior:none}
#bagOv .bagp{max-height:calc(100dvh - 24px);overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
#bagOv .gsob{touch-action:none;overscroll-behavior:contain}
@media (max-width:760px){#bagOv .bagp{max-height:calc(100dvh - 96px - env(safe-area-inset-bottom))}}
header #muteBtn,header #themeBtn{display:none!important}
nav.tabs .tab .bni{margin-right:6px}
#setBtn{position:relative}
#bagBtn{position:relative}#bagBtn.hnew .hnewdot{content:"";position:absolute;top:5px;right:7px;width:9px;height:9px;border-radius:50%;background:#ff4d5e;box-shadow:0 0 0 2px #130a25;z-index:2}
.baghouse{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0 0 12px;padding:10px 14px;border-radius:14px;border:1px solid rgba(160,140,255,.28);background:linear-gradient(90deg,rgba(141,123,255,.16),rgba(141,123,255,.04));color:inherit;font:inherit;text-align:left;cursor:pointer;position:relative}
.baghouse img{width:40px;height:32px;image-rendering:pixelated;flex:none}.baghouse b{display:block;font-size:15px}.baghouse small{color:var(--muted,#9aa0b0);font-size:12.5px}
.baghouse .bhdot{position:absolute;top:10px;left:46px;width:10px;height:10px;border-radius:50%;background:#ff4d5e;box-shadow:0 0 0 2px #130a25}
.baghouse::after{content:"›";margin-left:auto;font-size:24px;opacity:.6}
#setOv{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center}
#setOv .sob{position:absolute;inset:0;background:rgba(5,3,12,.62)}
#setOv .sop{position:relative;width:min(560px,94vw);max-height:86vh;overflow:auto;background:var(--panel,#1c1830);border-radius:20px;padding:16px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 20px 60px rgba(0,0,0,.5)}
#setOv .soh{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}#setOv .soh b{font-size:18px}
#setOv .sox{min-width:44px;min-height:44px;border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer}
#setOv .sorow{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
#setOv .sorow button{min-height:52px;border-radius:14px;border:1px solid rgba(160,140,255,.25);background:var(--bg,#130a25);color:inherit;font:600 15px inherit;cursor:pointer}
#setOv .settings{margin:0!important}
@media (max-width:760px){
 body{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
 nav.tabs{position:fixed!important;left:0;right:0;bottom:0;z-index:900;margin:0!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(5,1fr);gap:0!important;flex-wrap:nowrap!important;
  padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;background:rgba(19,10,37,.93);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid rgba(160,140,255,.22);box-shadow:0 -8px 24px rgba(0,0,0,.35)}
 nav.tabs>.tab,nav.tabs>#gsPill.gsq{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;min-height:52px;width:auto;padding:6px 0 4px;border-radius:14px;color:#a9a3c7;font-family:inherit;font-size:10.5px;font-weight:600;line-height:1.1;-webkit-tap-highlight-color:transparent}
 nav.tabs>.tab[hidden]{display:none!important}
 nav.tabs>.tab .bni,nav.tabs>#gsPill{font-size:21px}
 nav.tabs>.tab .bni{margin:0;height:26px;display:flex;align-items:center;line-height:1}
 nav.tabs>.tab .bnl{font-size:10.5px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
 nav.tabs>#gsPill .bnl{font-size:10.5px;line-height:1.1}
 nav.tabs>#bagBtn::after{content:"Bag";font-size:10.5px;line-height:1.1}
 nav.tabs>#bagBtn img.tbi{height:24px;width:auto}nav.tabs>#bagBtn .tbw{display:inline-block;height:26px}
 nav.tabs>#gsPill small{position:absolute;top:2px;left:56%;right:auto;bottom:auto;font-size:7px}
 nav.tabs>.tab.on{color:#fff}
 nav.tabs>.tab.on::before{content:"";position:absolute;inset:2px 8%;border-radius:14px;background:rgba(141,123,255,.22);box-shadow:0 0 14px rgba(141,123,255,.45);z-index:-1}
 nav.tabs>#bagBtn.hnew .hnewdot{top:4px;right:22%}
 #gsOv .gsop{top:auto!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 150px)!important;display:flex;flex-direction:column}#gsOv .gsoc{overflow-y:auto!important;min-height:0}
 #lhTest{bottom:calc(84px + env(safe-area-inset-bottom))!important}
 /* toasts clear the bottom nav (nav = 52px tab + 12px padding + 1px border, ~72px) */
 .toasts{z-index:960!important}.toasts:not(.lhTop){bottom:calc(84px + var(--lhqt,0px) + env(safe-area-inset-bottom))!important}
 #lhQT{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;z-index:961!important}
 .lhtt{bottom:calc(84px + env(safe-area-inset-bottom))!important;z-index:962!important}
 #lhUpd{bottom:calc(84px + env(safe-area-inset-bottom))!important}#lhUpd.top{top:calc(env(safe-area-inset-top) + 8px)!important;bottom:auto!important}#lhUpd.mini span{display:none}#lhUpd.side{left:auto!important;right:8px!important;transform:none!important}#lhUpd.lside{left:8px!important;right:auto!important;transform:none!important}#lhUpd.mini{padding:4px}html.lhUpdOn body{padding-bottom:calc(84px + 64px + env(safe-area-inset-bottom))!important}
 #setOv{align-items:flex-end}#setOv .sop{width:100%;border-radius:20px 20px 0 0;max-height:88vh}
 /* compact habit rows */
 .hgrid{gap:6px!important}
 .hcard{padding:7px 10px!important;border-radius:12px!important;min-height:46px!important;gap:2px!important}
 .hcard .hrow{gap:8px!important;align-items:center!important}
 .hcard .hcheck{width:30px!important;height:30px!important;min-width:30px!important;min-height:0!important;max-height:30px!important;padding:0!important;flex:none!important;font-size:15px!important;border-radius:9px!important;position:relative;overflow:visible!important}
 .hcard .hcheck::after{content:"";position:absolute;inset:-7px}.lhChkFit #v-today .hcard[data-h] .hrow>.hcheck::after{inset:0}/*LHCHKFIT*/
 .hcard .hdrag{display:none!important}
 .hcard .hname{display:flex!important;align-items:baseline;gap:8px;min-width:0;flex:1;font-size:14.5px!important;white-space:nowrap}
 .hcard .hname>.nm{overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}
 .hcard .hname small{display:inline!important;margin:0!important;font-size:11.5px!important;opacity:.8;white-space:nowrap;flex:0 2 auto;min-width:0;max-width:45%;overflow:hidden;text-overflow:ellipsis}
 .hcard .hbtns{display:none!important}
 .hcard .dots{display:flex!important;position:static!important;transform:none!important;width:auto!important;gap:3px!important;margin:3px 0 0 38px!important;padding:0!important;grid-column:1/-1!important}
 .hcard .dots .dot{width:15px!important;height:15px!important;min-width:0!important;font-size:8.5px!important;line-height:15px!important;border-radius:4px!important;padding:0!important;text-align:center;opacity:.75}
 .hcard .dots .dot.on{opacity:1}.hcard .dots .dot.today{box-shadow:0 0 0 1px rgba(169,155,255,.9)!important}
 .hcard .doses{margin:4px 0 0 38px!important;gap:4px!important}.hcard .dose{padding:3px 8px!important;font-size:12px!important;min-height:32px}
 .hcard .hmore{min-width:44px;min-height:44px;top:50%!important;transform:translateY(-50%)}
}
