.shell{min-height:100dvh;display:flex}.sidebar{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;flex:none;gap:4px;width:216px;height:100dvh;padding:22px 14px;display:none;position:sticky;top:0}.sidebar-brand{border-bottom:1px solid var(--border);align-items:center;gap:10px;margin-bottom:6px;padding:0 8px 18px;display:flex}.sidebar-brand .mark{flex:none;width:32px;height:32px}.sidebar-brand .mark img{width:100%;height:100%;display:block}.sidebar-brand .name{letter-spacing:.02em;font-size:15px;font-weight:700}.sidebar-brand .sub{color:var(--text-faint);letter-spacing:.14em;text-transform:uppercase;font-size:10px}.nav-link{border-radius:var(--radius);color:var(--text-muted);border-left:2px solid #0000;align-items:center;gap:11px;padding:10px;font-size:14px;transition:background .15s,color .15s;display:flex}.nav-link:hover{background:var(--surface-2);color:var(--text)}.nav-link.active{background:var(--surface-2);border-left-color:var(--nav-accent,var(--accent));color:var(--text);font-weight:600}.nav-link .glyph,.tabbar a .glyph,.tile-glyph{flex:none;place-items:center;width:16px;height:16px;line-height:0;display:grid}.nav-link .glyph{color:var(--nav-accent,var(--accent))}.nav-link .glyph svg,.tabbar a .glyph svg,.tile-glyph svg{fill:currentColor;width:16px;height:16px;display:block}.sidebar-spacer{flex:1}.main{flex-direction:column;flex:1;min-width:0;display:flex;overflow-x:clip}.main-scroll{padding:calc(18px + var(--safe-top)) 16px calc(var(--tabbar-h) + var(--safe-bottom) + 24px);flex:1;width:100%;max-width:1180px;margin:0 auto}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:22px;display:flex}.page-head .eyebrow{font-family:var(--font-mono);letter-spacing:.2em;text-transform:uppercase;color:var(--accent);margin-bottom:4px;font-size:10.5px;font-weight:700}.page-head h1{letter-spacing:-.01em;margin:0;font-size:25px;font-weight:600;line-height:1.15}.page-head .page-actions{flex-wrap:wrap;gap:8px;display:flex}.tabbar{z-index:60;background:var(--surface);border-top:1px solid var(--border);padding:0 10px var(--safe-bottom);justify-content:space-evenly;align-items:stretch;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar a{max-width:67px;height:var(--tabbar-h);color:var(--text-faint);border-top:2px solid #0000;flex:1;justify-content:center;align-items:center;transition:color .15s;display:flex}.tabbar a .glyph{color:inherit;width:19px;height:19px}.tabbar a .glyph svg{width:19px;height:19px}.tabbar a.active{color:var(--nav-accent,var(--accent));border-top-color:var(--nav-accent,var(--accent))}.sync-badge{color:var(--text-faint);font-size:11px;font-family:var(--font-mono);letter-spacing:.04em;align-items:center;gap:6px;display:inline-flex}.sync-badge .dot{background:var(--text-faint);border-radius:50%;flex:none;width:7px;height:7px}.sync-badge[data-status=synced] .dot{background:var(--success)}.sync-badge[data-status=syncing] .dot{background:var(--warning);animation:1.1s ease-in-out infinite pulse}.sync-badge[data-status=offline] .dot,.sync-badge[data-status=local] .dot{background:var(--text-faint)}.sync-badge[data-status=error] .dot{background:var(--danger)}@keyframes pulse{50%{opacity:.25}}.banner{background:color-mix(in srgb, var(--accent) 12%, var(--surface));border:1px solid color-mix(in srgb, var(--accent) 40%, var(--border));border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;padding:11px 13px;font-size:13px;display:flex}@media (width>=860px){.sidebar{display:flex}.tabbar{display:none}.main-scroll{padding:26px 26px 60px}}
