.app-shell{--brand:#0fb5ae;--brand-2:#5b5bf0;--grad-brand:linear-gradient(135deg,#12c6be,#5b5bf0);--brand-t:rgba(15,181,174,.15);--side:linear-gradient(180deg,#0b3b44,#0c2e39);--topbg:hsla(0,0%,100%,.72);--surface:#fff;--line:#e0e7e8;--line-soft:#edf2f2;--ink:#0e2429;--ink-soft:#48606a;--ink-faint:#7e969e;--side-ink:#c3d8db;--side-ink-strong:#fff;--side-ink-faint:#8fb5ba;--side-active-ink:#fff;--side-hover:hsla(0,0%,100%,.07);--side-hover-strong:hsla(0,0%,100%,.14);--side-line:hsla(0,0%,100%,.22);--disp:var(--font-disp),"Space Grotesk",sans-serif;--sans:var(--font-sans-app),"Inter",sans-serif;--mono:var(--font-mono-app),"IBM Plex Mono",monospace;font-family:var(--sans);font-size:14px;line-height:1.55}.dark .app-shell,[data-theme=dark] .app-shell,[data-theme=glass-dark] .app-shell{--topbg:hsl(var(--background)/0.72);--surface:hsl(var(--card));--line:hsl(var(--border));--line-soft:hsl(var(--border));--ink:hsl(var(--foreground));--ink-soft:hsl(var(--muted-foreground));--ink-faint:hsl(var(--muted-foreground))}.app-shell .side{background:var(--side);color:var(--side-ink)}.app-shell .side__brand{display:flex;gap:10px;align-items:center;padding:18px 16px 14px}.app-shell .logo{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex:none}.app-shell .logo img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.app-shell .side__brand b{font-family:var(--disp);font-size:16px;color:var(--side-ink-strong);display:block;line-height:1.1}.app-shell .side__brand>span span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--side-ink-faint)}.app-shell .nav{padding:4px 10px 12px;flex:1;display:flex;flex-direction:column}.app-shell .nav__item{position:relative;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:var(--side-ink);font-size:13px;font-weight:500;text-decoration:none;text-align:left;margin:1px 0;min-height:44px}@media (min-width:640px){.app-shell .nav__item{min-height:36px}}.app-shell .nav__item svg{width:20px;height:20px;flex:none;opacity:.8}.app-shell .nav__item:hover{background:var(--side-hover);color:var(--side-ink-strong)}.app-shell .nav__item.active{background:var(--side-hover-strong);color:var(--side-ink-strong);font-weight:600}.app-shell .nav__item.active svg{opacity:1}.app-shell .nav__item.active:before{content:"";position:absolute;left:var(--nav-edge,-10px);top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--brand)}.app-shell .nav__item:focus-visible{outline:2px solid var(--side-ink-strong);outline-offset:-2px}.app-shell .nav__rule{height:1px;margin:8px;background:var(--side-line);flex:none}.app-shell .nav__foot{margin-top:auto;padding-top:8px}.app-shell .nav__fold{width:100%;cursor:pointer}.app-shell .nav__item svg.nav__chev{width:16px;height:16px;transition:transform .15s ease-out}.app-shell .nav__sub{--nav-edge:-39px;margin:0 0 4px 19px;padding-left:9px;border-left:1px solid var(--side-line)}.app-shell .nav__cap{padding:10px 10px 3px;font-size:12px;font-weight:600;color:var(--side-ink-faint)}@media (prefers-reduced-motion:reduce){.app-shell .nav__item svg.nav__chev{transition:none}}.app-shell .top.tb-host{position:sticky;top:0;z-index:40;display:flex;align-items:center;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));box-shadow:0 1px 2px hsl(var(--foreground)/.04)}.app-shell .tb{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.app-shell .tb__left{display:flex;align-items:center;gap:6px;flex-shrink:0}.app-shell .tb__icon{display:grid;place-items:center;width:36px;height:36px;border-radius:6px;color:hsl(var(--muted-foreground));background:transparent;border:0;cursor:pointer;position:relative}.app-shell .tb__icon:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}@media (min-width:768px){.app-shell .tb__icon{display:none}}@media (max-width:767px){.app-shell .tb__icon{width:44px;height:44px}}.app-shell .tb__dot{position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:9999px;background:hsl(var(--destructive));box-shadow:0 0 0 2px hsl(var(--card))}.app-shell .tb__brand{display:flex;align-items:center;gap:8px;padding:0 8px 0 4px;color:hsl(var(--foreground));font-weight:600;font-size:16px;text-decoration:none;white-space:nowrap}.app-shell .tb__logo{width:26px;height:26px;-o-object-fit:contain;object-fit:contain}.app-shell .tb__nav{display:none;align-items:stretch;gap:2px;height:56px;min-width:0;flex:1 1 auto;overflow:hidden}@media (min-width:768px){.app-shell .tb__nav{display:flex}}.app-shell .tb__item{position:relative;display:flex;align-items:center;gap:4px;flex-shrink:0;padding:0 10px;font-size:14px;font-weight:500;color:hsl(var(--muted-foreground));text-decoration:none;white-space:nowrap;border-radius:4px;background:transparent;border:0;cursor:pointer}.app-shell .tb__item:hover,.app-shell .tb__item[data-state=open]{color:hsl(var(--foreground));background:hsl(var(--muted)/.6)}.app-shell .tb__item--active,.app-shell .tb__item--active:hover{color:hsl(var(--primary))}.app-shell .tb__item--active:after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:hsl(var(--primary))}.app-shell .tb__chev{display:inline-flex;opacity:.7}.app-shell .tb__brand:focus-visible,.app-shell .tb__icon:focus-visible,.app-shell .tb__item:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}.app-shell .tb__right{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0}.app-shell .tb__search>button{width:40px;max-width:none;height:40px;padding:0;justify-content:center}.app-shell .tb__search kbd{display:none}@media (min-width:640px){.app-shell .tb__search{width:180px;margin-right:6px}.app-shell .tb__search>button{width:100%;height:32px;padding:0 12px;justify-content:flex-start}}@media (min-width:1101px){.app-shell .tb__search{width:240px}}@media (min-width:768px) and (max-width:1100px){.app-shell .tb__brand span{display:none}}.app-shell .side__acting{margin:0 10px 8px;padding:10px;border-radius:12px;border:1px solid var(--side-line);background:var(--side-hover);font-size:12px;color:var(--side-ink)}.app-shell .side__acting-who{display:flex;align-items:center;gap:8px;color:var(--side-ink-strong)}.app-shell .side__acting-who svg{width:16px;height:16px;flex:none}.app-shell .side__acting p+p{margin:2px 0 8px 24px}.app-shell .side__acting-back,.app-shell .side__acting-rail{width:100%;background:var(--side-hover-strong);color:var(--side-ink-strong)}.app-shell .side__acting-back{justify-content:center}.app-shell .side__acting-rail{width:auto}.app-shell.bottom-bar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:40;grid-template-columns:repeat(auto-fit,minmax(0,1fr));padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}@media (max-width:767px){.app-shell.bottom-bar{display:grid}.app-shell main.with-bottom-bar{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.app-shell main.with-bottom-bar [data-work-dock],.app-shell main.with-bottom-bar [data-work-foot]{bottom:calc(61px + env(safe-area-inset-bottom))}}.app-shell main:has(>*>*>[data-work-dock]:not(:empty)){display:flex;flex-direction:column}.app-shell main:has(>*>*>[data-work-dock]:not(:empty))>*,.app-shell main>*>:has(>[data-work-dock]:not(:empty)){flex:1 0 auto;min-width:0}.app-shell [data-work-dock]:not(:empty){margin-top:auto}.app-shell .bottom-bar__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;min-width:0;padding:4px 2px;border-radius:10px;font-size:11px;font-weight:600;color:var(--ink-soft)}.app-shell .bottom-bar__item svg{width:22px;height:22px}.app-shell .bottom-bar__item.active{color:var(--ink);box-shadow:inset 0 3px 0 var(--brand)}.app-shell .bottom-bar__item:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.app-shell .safe-bottom{padding-bottom:calc(10px + env(safe-area-inset-bottom))}