` wraps a semi-transparent overlay `` that appears when `drawerOpen` is true and calls `drawerOpen = false` on click. Uses `data-test="drawer-backdrop"`.
- **Sidebar wrapper:** `fixed inset-y-0 left-0 z-50` positioning for mobile, `lg:static lg:z-auto lg:translate-x-0` for desktop. Transition: `translate-x-0` (open) / `-translate-x-full` (closed) via `transition-transform duration-200`. Attribute `data-test="app-sidebar-wrapper"`.
- **Main content:** `pt-[53px] lg:pt-0` offset on `` so mobile content doesn't hide under the fixed header.
### Task 4 — AdminLayout.vue: admin layout responsive shell (RESP-05)
`frontend/src/layouts/AdminLayout.vue` mirrors the user layout pattern exactly:
- `drawerOpen = ref(false)` + `watch(() => route.fullPath, ...)` for auto-close on navigation.
- Mobile header shows "DocuVault" + "Admin" label with `data-test="admin-hamburger-btn"`.
- Teleport backdrop with `data-test="admin-drawer-backdrop"`.
- Sidebar wrapper with `data-test="admin-sidebar-wrapper"` and identical transition classes.
- `useRoute` import added; no `useRouter` needed (AdminLayout itself doesn't navigate).
### Tasks 5-6 — StorageBrowser.vue: responsive grid and touch targets (RESP-02, RESP-03)
`frontend/src/components/storage/StorageBrowser.vue` updated:
**Responsive grid templates** (replaces fixed `grid-cols-[2rem_1fr_6rem_8rem_6rem]` everywhere):
| Breakpoint | Grid template | Visible columns |
|---|---|---|
| Default (< sm, 375px) | `grid-cols-[2rem_1fr_6rem]` | icon, name, actions |
| sm (640px+) | `sm:grid-cols-[2rem_1fr_8rem_6rem]` | + modified date |
| md (768px+) | `md:grid-cols-[2rem_1fr_6rem_8rem_6rem]` | + size |
Applied to: list header row, new-folder input row, folder rows, file rows, skeleton rows.
Added `data-test="list-header"` to the column header row for testability.
**Touch targets** (RESP-03, satisfies 36px minimum):
All inline action buttons (Rename, Delete for folders; Share, Move, Delete for files) now have:
- `min-w-[36px] min-h-[36px]` — enforces 36×36px minimum hit area on mobile
- `md:min-w-0 md:min-h-0` — removes the override at desktop so padding-only sizing applies
- `flex items-center justify-center` — keeps icon centered within the larger target
### Task 7 — Tests
**`frontend/src/components/storage/__tests__/StorageBrowser.skeleton.test.js`** updated:
- Replaced old `grid-cols-[2rem_1fr_6rem_8rem_6rem]` assertion (now broken by responsive refactor) with two tests: mobile base class `grid-cols-[2rem_1fr_6rem]` and md breakpoint class `md:grid-cols-[2rem_1fr_6rem_8rem_6rem]`.
- Added new `RESP-02/RESP-03` describe block (8 tests): list header mobile/md classes, folder row, file row, `hidden md:block` size column, `hidden sm:block` modified column, file action button `min-w-[36px]`/`min-h-[36px]`, folder action button touch targets.
**`frontend/src/__tests__/keyboard.test.js`** extended:
- Added `RESP-01: App drawer` describe (2 tests): hamburger open/backdrop-close behavior via stub component; route-change watcher closes drawer.
- Added `RESP-05: AdminLayout drawer` describe (3 tests): admin hamburger renders, admin backdrop-close, admin route-change watcher.
- `afterEach` import added; `nextTick` import added.
## Verification
- `npm test`: 30 test files, 233 tests pass (219 baseline + 14 new from this plan)
- `npm run build`: succeeds — 5 JS chunks + main bundle, no new errors
## Deviations from Plan
None — plan executed exactly as written.
## Known Stubs
None.
## Threat Flags
None — no network endpoints, auth paths, or schema changes in this plan. All changes are frontend layout/presentation only.
## Self-Check: PASSED
- `frontend/src/App.vue`: modified — hamburger header + drawer + Teleport backdrop
- `frontend/src/layouts/AdminLayout.vue`: modified — admin responsive shell
- `frontend/src/components/storage/StorageBrowser.vue`: modified — responsive grid + touch targets
- `frontend/src/__tests__/keyboard.test.js`: modified — drawer tests added
- `frontend/src/components/storage/__tests__/StorageBrowser.skeleton.test.js`: modified — responsive assertions
- Commit `d914761` exists in git log: confirmed
- All 30 test files pass: confirmed
- Build succeeds: confirmed