Skip to content

The OSINT investigator's workbench. One case, one folder, every tool. Local-first: your media and your investigations never leave your machine.

JavaScript

UI/UX polish + sidebar/workspace consolidation (#10)

OsintMeThatf0c6811282ad
diff --git a/docs/SPEC.md b/docs/SPEC.md
index 2b92be7..fcdafee 100644
--- a/docs/SPEC.md
+++ b/docs/SPEC.md
@@ -158,7 +158,7 @@ get media in, annotate the match, publish the proof.
| ✅ **Satellite** | Enter/click coordinates, then **Save place** (a navigable `place` — coordinates only, no image, clickable to fly back) **or Capture** (a sourced imagery crop → `capture` image entity, **filed in `media/`** so it also lists in the Media Library and opens in Inspect). A single **split capture button** re-runs whichever mode was used last — **Capture** for a centred **standard size** (Tweet 16:9 / Square / OG card / Wide / custom), or **Select area**, which arms a **mouse marquee** to drag a rectangle (live px/dimension readout) for an optional **ratio lock** (16:9 / 4:3 / 1:1 / free) — with its arrow opening a compact **mode/size/ratio/resolution popover** (closes on outside click) and a **resolution** control (1× / 2× / provider max-zoom, sized so 2×/max always yield a sharper file on every built-in preset) that captures a deeper zoom. **Marker style** (crosshair / Google-Maps pin / none) baked in; centred-Capture **frame outline** previewed on hover. **Map rotation** — **middle-drag turns the map around the grabbed point** (sober target marker, Google-Earth style), click the bearing to **type an exact angle**, click the compass rose to reset north (capture matches the on-screen heading, bearing in provenance). **Move-pin mode** decouples the marker from center — drag it anywhere in frame (e.g. bottom of shot) and the **recorded coordinates follow the pin** for both actions. **Two dates per capture**: the **capture timestamp** and the **imagery acquisition date** (Esri best-effort, if known) — both recorded and shown. **Map workspace**: toggle an **OSM labels overlay** (roads / place names over the imagery — disabled over a street base map, where it'd only double the labels), read the imagery acquisition date under the crosshair (shown as an unobtrusive corner pill), go **true browser fullscreen** (dialogs follow the map in, and actions that would leave it — another tool, another tab — grey out), **measure** distance / area / **angle** (reported as the acute + obtuse pair), and float **reference windows** over the map (pick any case **image or video**; drag / roll-up / resize — images wheel-zoom & pan, videos get a native player) to eyeball the shot you're geolocating against the imagery — a **session-only scratch aid, never captured or saved**. The tool's side panel lists both in **collapsible** sections — **Places** (fly the map back) and **Captures** (open the full image, or **go to** their coordinates — also from the case sidebar) — each with an inline **title + note editor**; the case sidebar's info panel is the same editor for any capture/place/media. A collapsible **Open in…** list jumps to external maps we can't embed (Google/Earth, Apple, Bing, Yandex, Satellites.pro, Copernicus, Zoom Earth) at the current target. Provenance (provider, zoom, both dates, bearing, marker, center) recorded — feeds the composer. XYZ tile-provider abstraction (see note below). Editable title + notes per capture. |
| ✅ **Proof Composer** | The heart of v1. Compose panels in a **multi-row grid** (frames, photos, satellite crops, imported screenshots) — arrange side by side *and* stack rows (select a panel — canvas click or side list — and move it with **on-canvas arrows**) so the composite stays near-square instead of a wide bandeau. Each panel can be **resized** (corner-drag the selected panel, or ± in the side list; 40–250%) — its drawn elements scale with it, and shorter panels bottom-align in their row. A grid/free **mode switcher** can drop the grid for a **free layout**: **drag panels anywhere** (their elements follow), **overlap allowed** with array order as **z-order** (front/back per panel), select a panel to **corner-drag resize** it (aspect locked, no rotation); saved per proof, magic tweet-fit snaps back to the grid. A toggleable **tweet-crop guide** (16:9 / 4:5) dims whatever X would centre-crop; a **magic tweet-fit** button auto-repacks the panels into rows to land closest to the active guide's aspect (16:9 default) and resets panel sizes. Draw colored boxes/ellipses/lines/arrows, multi-point **curves** (rounded, click points + double-click to finish) and **text labels** (optional **frame and/or background box**, from the Elements tab) with the mouse — same color = same feature across panels. Every element stays **editable after placing**: boxes/ellipses/text via transformer handles (text corner-drag = font size), lines/arrows/curves via draggable per-vertex handles; selecting an element lets you change its **color and stroke/font size live**, **copy/paste/duplicate** it (Ctrl+C/V/D, cascading offset), and **drag it onto any panel** (it re-binds to whatever panel it's dropped over). Palette presets **+ custom color picker**. Legend **annotations are written per color** (one note per feature), **manually reorderable** from the Annotations tab, and auto-flow into up to 3 columns; a separate **element list** (id + kind) selects/copies/deletes/**reorders** individual shapes (order = z-order within their panel). Optional per-panel captions (**off by default**; a satellite crop auto-captions with provider · coordinates · **imagery acquisition date** — the date omitted when unknown, never the fetch date). A **Coordinates + Source** header (above the panels) auto-fills from them: coordinates from the first satellite panel (falls back to the next if it's deleted), source **traced through the derivation chain** back to the downloaded original (a collage/frame from a video resolves to that video's link) — a source is **always a link**, so a disk-uploaded file counts as none; both are editable and flag a **!** while empty. These carry into the **Post Composer** (on *To Post* export or when attaching the proof there). An **Advanced** panel exposes the trickier knobs: independent **caption / legend / footer font sizes** and an **editable footer** (blank = automatic imagery/source attribution). Feature legend (color dot only, numbered in the Annotations tab for reference); export `proof.png` + re-editable JSON spec (`notes`/`legendOrder` per color, `layout`, panel `row`/`scale`/`x,y`, `coords`/`coordsText`, `source`, `caption/legend/footerSize`, `footer`) saved in `proofs/`. |
| ✅ **Post Composer** | Build a GeoConfirmed-style thread from a proof. Tweet 1 = `Place - Plus code`, description, decimal coordinates (6 digits), `@GeoConfirmed` mention, source. Tweet 2 = optional media (Video / Image(s), removable), with media picked from the case library. Add extra context tweets; per-tweet character count; copy-per-tweet or copy-all. **Save drafts** (in `exports/`, reopenable from the sidebar as `post` entities) and **Publish** (copies the thread and opens X compose prefilled). Copy-paste ready — Azimut never posts on your behalf. |
-| ✅ **Case sidebar** | Always visible, three sections. **Case Notes** (`notes.md`). **Saved work** — every artifact, auto-grouped by the tool that produced it (Media Library / Inspect / Satellite / Proof Composer / Post Composer, from `provenance.by`); suggested entities pinned on top to confirm/dismiss; deleting here removes the item **everywhere** (drops its file — danger confirm). **My work** — the analyst's own **nested folders** (`/`-separated, e.g. `Sources/Telegram`), empty until you **drag** items in from Saved work; an item filed here stays in Saved work too (lives in both); deleting here only **unfiles** it (light confirm), and removing a folder cascades its subtree back to Saved work. Styled confirm dialogs, not browser popups. Create/open/promote/**rename**/**delete** cases from the switcher — names must be **unique** (case-insensitive, enforced on create/rename/promote); delete wipes the **whole case folder** and everything in it, gated behind typing `DELETE` in uppercase. |
+| ✅ **Case sidebar** | Always visible. **Case Notes** (`notes.md`). **Suggestions** — tool-suggested entities, confirm or dismiss. **My work** — every saved artifact under the analyst's own **nested folders** (`/`-separated, e.g. `Sources/Telegram`) plus an **Unfiled** inbox; file items by **dragging onto a folder** or from the **details panel** (folder field); unfiling deletes nothing, removing a folder just unfiles its subtree. **Details panel** — selection editor for any artifact: preview, title/notes, provenance (created by/at, source), My-work folder, open-in-tool / open-file / go-to-coords, and **Delete everywhere** (drops the file — danger confirm). Saved artifacts are reopened **in their tools** (Open lists in Proof/Post/Inspect — each row deletable — plus the Media & Satellite shelves); the sidebar no longer duplicates a by-tool listing. Styled confirm dialogs, not browser popups. Create/open/promote/**rename**/**delete** cases from the switcher — names must be **unique** (case-insensitive, enforced on create/rename/promote); delete wipes the **whole case folder** and everything in it, gated behind typing `DELETE` in uppercase. |
v1 notes:
@@ -246,8 +246,10 @@ it stops making sense. One line each.
- **Weather / METAR history** — corroborate a claimed date+coords from free archives; pairs with Shadow Clock into a chronolocation panel.
- **GIF maker** — before/after with annotations.
- **Tools links page** — a page of curated OSINT tool links.
+- **Command palette** (Ctrl+K) — every tool/action one keystroke away, once the v2 tabs multiply.
**Toward v3 (investigation layer):**
+- **Dependency-aware delete** — deleting a media that proofs/sessions/posts derive from: never cascade; confirm dialog lists dependents (needs real `derived-from` links written at save time); dependents keep a provenance tombstone (sha256 + source URL); Inspect opens missing sources as placeholders.
- **Archive-on-download** — optional Wayback push on URL import, archive URL into provenance (early Evidence Locker slice).
- **Extension for saving a web page** — web extension for saving a web page.
- **Case bundle export/import** — one-click **.zip** of the whole case a recipient opens in their own workbench; a zip, not a hosted link (principle 1).
diff --git a/docs/UI.md b/docs/UI.md
index e13c4fc..25e8c8c 100644
--- a/docs/UI.md
+++ b/docs/UI.md
@@ -1,92 +1,93 @@
-# Azimut — UI direction & information architecture
+# Azimut — UI & UX reference
-Status: **direction v1** (2026-07-15). Companion to [SPEC.md](SPEC.md) §6–7 — the
-spec says *what* tools exist; this doc says *where they live on screen* and *what
-they look like*. Nothing here is implemented yet; rollout order at the bottom.
+How the interface is organized (UX) and styled (UI). This is the contract new
+tools and future agents follow — not a roadmap. Feature phasing lives in
+[SPEC.md](SPEC.md).
-## 1. The two problems
+## Layout anatomy
-1. **Look & feel**: the current skin is the generic "AI dashboard" — navy-blue
- dark theme, glowing accents, display font, rounded floating cards, marketing
- copy in the chrome. It undermines trust in a tool for evidence work.
-2. **Scale**: a flat left rail works at 5 tools. The spec promises ~20 more
- (v2–v4). A flat rail of 25 entries is the GIMP-toolbox failure mode: tools
- mixed together, no visible order, nobody knows where to click next.
+```
+┌ topbar: rose+wordmark · case switcher · (spacer) · settings gear · sidebar toggle ┐
+├ rail ┬ tab strip (only when the workspace has several tools) ┬ case sidebar ┤
+│ │ tool canvas │ │
+└──────┴───────────────────────────────────────────────────────┴──────────────┘
+```
-## 2. Design direction — the "pro desk" look
+## Workspace model (UX)
-Reference points our users already trust: QGIS, Google Earth Pro, DaVinci
-Resolve, Lightroom, Obsidian. Dense, flat, sober instruments — not SaaS
-landing pages. Everything is tokenized in `frontend/src/app.css`, so this is a
-token + shared-primitives pass, not a rewrite.
+The rail holds a **fixed set of activity workspaces in investigation-pipeline
+order**. Tools are tabs inside a workspace — **a new tool never adds a rail
+entry**; it registers in `frontend/src/lib/workspaces.js`.
-| Element | Today (AI tell) | Target |
+| Workspace | Tools today | Future tools land here |
|---|---|---|
-| Font | Oxanium display, uppercase, 0.22em tracking | One workhorse UI font everywhere (system stack or Inter); mono for data (coords, hashes — already good, keep) |
-| Palette | Blue-tinted navy + amber + glows | Neutral gray dark theme; **one** accent reserved for selection & the primary action only; no glow, ever |
-| Shape | 6/10/14px radii, floating cards, pill badges | 2–4px radii, flat panels with visible splitters, rectangular badges |
-| Density | Card grids, generous padding | Dense rows, tighter spacing, list + grid toggle where cards exist |
-| Type hierarchy | Everything 600, uppercase micro-labels | Few weights; hierarchy by size and placement, not boldness |
-| Motion | fade-up, hover lifts | None — instant state changes |
-| Copy | Tagline in topbar, instructional italics in panels | No slogans in chrome (tagline → README/About); affordances discoverable, not explained in prose |
-| Rail | 76px icon-above-label buttons (mobile pattern) | Compact workspace rail, tooltips (see §3) |
-
-## 3. Information architecture — workspaces, not a tool list
-
-**Principle: the rail holds a fixed, small set of *workspaces* named by
-activity, in investigation-pipeline order. Tools ship as tabs/modes *inside*
-a workspace — never as new rail entries.** (DaVinci Resolve "pages" model:
-few pages in workflow order, media pool persistent across all of them.)
-
-The spec has already been converging on this organically — Frame Extractor and
-Panorama folded into Inspect, ELA into its Analyze fold-out, Reverse Search
-into Media Library, reference viewers into Satellite. This formalizes it.
-
-| Workspace | Today | Future tools land here as tabs/modes |
-|---|---|---|
-| **Collect** | Media Library (import, URL download) | Reverse Search launcher, Channel Monitor, Evidence Locker, archive-on-download |
-| **Examine** | Inspect (Selection / Frame / Collage / Analyze) | EXIF & Metadata, OCR, Image Compare, Manipulation Hints, Shadow Clock, audio analysis, auto-panorama |
-| **Map** | Satellite | **One persistent map, many modes**: Capture, Satellite Compare, Ground Imagery, Coordinates, Measures, Viewshed, OSM Query, Map Board pins/layers |
+| **Collect** | Media Library | Reverse Search, Channel Monitor, Evidence Locker |
+| **Examine** | Inspect (Selection / Frame / Collage / Analyze) | EXIF, OCR, Image Compare, Hints, Shadow Clock, audio |
+| **Map** | Satellite | **one map, many modes**: Compare, Ground Imagery, Coordinates, Measures, Viewshed, OSM Query, Map Board |
| **Compose** | Proof Composer, Post Composer | Report Builder, GIF maker |
-| **Case** | (sidebar only) | Notes, Case Board / Relations, Timeline, Search Orchestrator |
-
-Rules that keep it sane:
-
-- **Max two levels.** Workspace → tab. Never deeper. Preserves SPEC principle 3
- ("one tool, useful in 30 seconds").
-- **One Map.** Eight of the planned tools are "the map + a mode or layer".
- They are modes of a single map workspace (Google Earth model), sharing
- center/zoom/provider state — never separate rail entries.
-- **One media viewer.** The Examine analyzers are panels over the currently
- open media, like Analyze already is.
-- **Deep links target tabs** (`#map/capture`, `#examine/exif`), extending the
- existing `#satellite`-style scheme.
-- **Command palette (Ctrl+K)** — "capture satellite", "open EXIF" — the
- escape hatch that keeps 20+ tools one keystroke away.
-- **Navigation follows the object too**: from any media — "Examine", "Locate
- on map", "Add to proof"; the derivation-chain breadcrumb (SPEC §7) is the
- connective tissue. The rail is for starting; objects are for continuing.
-
-## 4. Sidebar consolidation
-
-Today the same items appear in three taxonomies: Media Library facets, Saved
-Work grouped by producing tool, and My Work folders. Under the workspace
-model, each workspace lists its own artifacts, so the case sidebar slims to:
-
-- **Notes** (unchanged)
-- **My Work** — the analyst's folders (the only user-owned taxonomy)
-- **Selection details** — provenance / derivation chain / entity editor for
- whatever is selected anywhere in the app
-
-Saved-work-grouped-by-tool disappears as a duplicate view once each workspace
-shows its own output.
-
-## 5. Rollout
-
-1. **Token pass** — fonts, radii, density, neutral palette, kill
- tagline/animations. No logic changes.
-2. **Workspace shell** — rail → 5 workspaces with tab strips; mostly moving
- existing components (Inspect is already internally tabbed — it's the
- template). Deep links extended.
-3. **Sidebar consolidation** (with or after step 2).
-4. **Command palette** — once tool count justifies it.
+| *(Case)* | — sidebar covers it | v3: Notes, Relations, Timeline, Orchestrator |
+
+Rules:
+
+- **Max two levels** (workspace → tab), preserving SPEC principle 3.
+- **`uiState.tool` is the single source of truth**; the active workspace is
+ derived from it, so cross-tool handoffs (`uiState.tool = 'proof'`) never
+ care about workspaces. Clicking a workspace returns to its last-used tab.
+- **Deep links**: `#<tool>` (stable), `#<workspace>`, `#<workspace>/<tool>`.
+- **Navigation follows the object too**: from any artifact — open in tool,
+ locate on map, add to proof. The rail is for starting; objects continue.
+- Settings is app plumbing: behind the topbar gear, not on the rail.
+
+## Case sidebar
+
+Four sections; tools list (and delete) their own saved artifacts via their
+Open lists / shelves — the sidebar never duplicates a by-tool listing.
+
+- **Case Notes** — `notes.md`.
+- **Suggestions** — tool-suggested entities; confirm or dismiss (only shown
+ when non-empty).
+- **My work** — every saved artifact: the analyst's nested folders (the only
+ user-owned taxonomy) plus an **Unfiled** inbox for the rest. File by
+ dragging a row onto a folder or from the details panel (folder field).
+ Unfiling deletes nothing.
+- **Details** — selection editor for any artifact: preview, title/notes,
+ provenance (created by/at, source), My-work folder, open-in-tool /
+ open-file / go-to-coords, Delete everywhere (danger confirm).
+
+## Visual language (UI)
+
+Tokens live in `frontend/src/app.css`; components never hardcode colors.
+Reference points: QGIS, Google Earth Pro, Resolve, Lightroom — dense, flat,
+sober instruments.
+
+- **Type**: one workhorse font (system stack); mono for data (coords, hashes,
+ dates); few weights; uppercase micro-labels only as panel-section headers.
+- **Palette**: neutral gray darks (`--bg-0…3`), white-alpha borders, muted
+ status colors. **One accent (azimuth amber), three roles only**: the single
+ primary action per view, selection (picker borders, focus rings), and 2px
+ active-edge indicators on rail/tabs. Never as a background wash, never as
+ decoration, no glows.
+- **Shape**: radii 3/4/6px, flat panels with 1px borders, rectangular badges.
+- **Motion**: none. Color-only transitions ≤0.15s; no entrance animations,
+ no hover lifts. Transient functional feedback (locate-flash) is the one
+ exception.
+- **Copy**: no slogans or self-explanation in chrome; empty states are one
+ short sentence; **no em-dashes in visible UI strings** (use `·`, `:`, or a
+ period; hover tooltips are tolerated); "(one-shot mode)" style parentheses
+ over dash suffixes.
+- **Brand**: compass rose (`Logo.svelte`) + vector wordmark
+ (`Wordmark.svelte`), both extracted from
+ `frontend/src/assets/logo-source.svg`; favicon derives from the same rose.
+ No other place uses brand lettering.
+
+## Adding a tool (checklist for future agents)
+
+1. Add the component under `frontend/src/tools/`, register it in
+ `App.svelte`'s `TOOLS` and in its workspace's `tools` array
+ (`lib/workspaces.js`) — rail and deep links follow automatically.
+2. Consume tokens and shared primitives (`.btn`, `.input`, `.card`,
+ `.tool-header`); respect the accent roles above.
+3. The tool owns its artifacts: list, reopen and delete them in-tool; file
+ entities with provenance so Suggestions/Details work.
+4. Tests accompany the tool (repo rule); pure logic goes in `lib/` with a
+ `.test.js`.
diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg
index 1c4423c..e3ca239 100644
--- a/frontend/public/favicon.svg
+++ b/frontend/public/favicon.svg
@@ -1,68 +1,30 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
- <circle cx="50" cy="50" r="46" fill="none" stroke="#5d6b84" stroke-width="2.4" opacity="0.4"/>
- <circle cx="50" cy="50" r="30" fill="none" stroke="#5d6b84" stroke-width="1.2" opacity="0.5"/>
- <line x1="50.00" y1="19.00" x2="50.00" y2="9.00" stroke="#5d6b84" stroke-width="1.6" opacity="0.85"/>
- <line x1="53.55" y1="16.19" x2="53.97" y2="12.21" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="57.07" y1="16.74" x2="57.90" y2="12.83" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="60.51" y1="17.66" x2="61.74" y2="13.86" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="63.83" y1="18.94" x2="65.46" y2="15.29" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="67.00" y1="20.56" x2="69.00" y2="17.09" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="69.98" y1="22.49" x2="72.34" y2="19.26" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="72.75" y1="24.73" x2="75.43" y2="21.76" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="75.27" y1="27.25" x2="78.24" y2="24.57" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="77.51" y1="30.02" x2="80.74" y2="27.66" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="79.44" y1="33.00" x2="82.91" y2="31.00" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="81.06" y1="36.17" x2="84.71" y2="34.54" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="82.34" y1="39.49" x2="86.14" y2="38.26" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="83.26" y1="42.93" x2="87.17" y2="42.10" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="83.81" y1="46.45" x2="87.79" y2="46.03" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="81.00" y1="50.00" x2="91.00" y2="50.00" stroke="#5d6b84" stroke-width="1.6" opacity="0.85"/>
- <line x1="83.81" y1="53.55" x2="87.79" y2="53.97" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="83.26" y1="57.07" x2="87.17" y2="57.90" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="82.34" y1="60.51" x2="86.14" y2="61.74" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="81.06" y1="63.83" x2="84.71" y2="65.46" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="79.44" y1="67.00" x2="82.91" y2="69.00" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="77.51" y1="69.98" x2="80.74" y2="72.34" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="75.27" y1="72.75" x2="78.24" y2="75.43" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="72.75" y1="75.27" x2="75.43" y2="78.24" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="69.98" y1="77.51" x2="72.34" y2="80.74" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="67.00" y1="79.44" x2="69.00" y2="82.91" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="63.83" y1="81.06" x2="65.46" y2="84.71" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="60.51" y1="82.34" x2="61.74" y2="86.14" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="57.07" y1="83.26" x2="57.90" y2="87.17" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="53.55" y1="83.81" x2="53.97" y2="87.79" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="50.00" y1="81.00" x2="50.00" y2="91.00" stroke="#5d6b84" stroke-width="1.6" opacity="0.85"/>
- <line x1="46.45" y1="83.81" x2="46.03" y2="87.79" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="42.93" y1="83.26" x2="42.10" y2="87.17" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="39.49" y1="82.34" x2="38.26" y2="86.14" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="36.17" y1="81.06" x2="34.54" y2="84.71" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="33.00" y1="79.44" x2="31.00" y2="82.91" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="30.02" y1="77.51" x2="27.66" y2="80.74" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="27.25" y1="75.27" x2="24.57" y2="78.24" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="24.73" y1="72.75" x2="21.76" y2="75.43" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="22.49" y1="69.98" x2="19.26" y2="72.34" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="20.56" y1="67.00" x2="17.09" y2="69.00" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="18.94" y1="63.83" x2="15.29" y2="65.46" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="17.66" y1="60.51" x2="13.86" y2="61.74" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="16.74" y1="57.07" x2="12.83" y2="57.90" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="16.19" y1="53.55" x2="12.21" y2="53.97" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="19.00" y1="50.00" x2="9.00" y2="50.00" stroke="#5d6b84" stroke-width="1.6" opacity="0.85"/>
- <line x1="16.19" y1="46.45" x2="12.21" y2="46.03" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="16.74" y1="42.93" x2="12.83" y2="42.10" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="17.66" y1="39.49" x2="13.86" y2="38.26" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="18.94" y1="36.17" x2="15.29" y2="34.54" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="20.56" y1="33.00" x2="17.09" y2="31.00" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="22.49" y1="30.02" x2="19.26" y2="27.66" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="24.73" y1="27.25" x2="21.76" y2="24.57" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="27.25" y1="24.73" x2="24.57" y2="21.76" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="30.02" y1="22.49" x2="27.66" y2="19.26" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="33.00" y1="20.56" x2="31.00" y2="17.09" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="36.17" y1="18.94" x2="34.54" y2="15.29" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="39.49" y1="17.66" x2="38.26" y2="13.86" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="42.93" y1="16.74" x2="42.10" y2="12.83" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <line x1="46.45" y1="16.19" x2="46.03" y2="12.21" stroke="#5d6b84" stroke-width="1" opacity="0.5"/>
- <path d="M50 7 L56 44 L84 50 L58 58 L50 84 L42 58 L16 50 L44 44 Z" fill="#e8edf6"/>
- <path d="M50 7 L56 45 L50 48 L44 45 Z" fill="#e8a33d"/>
- <circle cx="50" cy="50" r="8" fill="#e8a33d"/>
- <circle cx="50" cy="50" r="4" fill="#0b0f17"/>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="640 388 770 770">
+<rect x="640" y="388" width="770" height="770" rx="150" fill="rgb(13,17,21)"/>
+<defs>
+ <linearGradient id="az-rose-sw" gradientUnits="userSpaceOnUse" x1="980.33" y1="1089.47" x2="713.831" y2="804.709">
+ <stop offset="0" stop-color="rgb(56,70,84)" />
+ <stop offset="1" stop-color="rgb(78,97,115)" />
+ </linearGradient>
+ <linearGradient id="az-rose-se" gradientUnits="userSpaceOnUse" x1="1022.76" y1="1008" x2="1358.11" y2="863.001">
+ <stop offset="0" stop-color="rgb(134,126,116)" />
+ <stop offset="1" stop-color="rgb(183,176,164)" />
+ </linearGradient>
+ <linearGradient id="az-rose-needle" gradientUnits="userSpaceOnUse" x1="882.665" y1="969.827" x2="1126.82" y2="706.013">
+ <stop offset="0" stop-color="rgb(51,49,46)" />
+ <stop offset="1" stop-color="rgb(121,113,103)" />
+ </linearGradient>
+ </defs>
+<path fill="rgb(47,48,51)" d="M 1192.76 642.326 C 1200.18 647.327 1207.85 662.083 1212.28 669.861 C 1232.15 704.76 1240.66 743.287 1238.85 783.325 C 1236.02 839.245 1211.1 891.754 1169.58 929.314 C 1132.5 962.951 1076.82 986.1 1026.56 983.71 C 1030.38 1019.86 1025.27 1061.22 1027.87 1097.78 C 1028.19 1102.33 1028.29 1107.83 1025.12 1111.23 L 1022.96 1110.57 C 1020.96 1105.83 1022.19 997.602 1022.29 983.964 C 997.132 984.345 969.41 978.328 946.015 969.16 C 938.351 966.156 909.252 952.706 905.425 946.073 L 906.594 944.688 C 910.731 943.999 909.863 944.456 912.76 942.386 C 915.021 940.772 928.406 949.594 930.78 950.95 C 960.801 967.191 988.477 972.724 1022.11 974.287 C 1021.9 963.026 1020.71 884.96 1024.29 879.904 C 1026.41 882.401 1027.75 887.053 1027.68 890.22 C 1027 918.06 1028.29 946.605 1027.46 974.376 C 1091.24 972.296 1147.86 947.054 1186.95 895.774 C 1213.66 860.738 1229.03 819.005 1229.09 774.843 C 1216.96 775.067 1142.61 776.582 1135.28 774.324 L 1134.46 772.668 L 1135.66 770.802 C 1139.84 767.809 1159.57 769.053 1165.69 769.079 C 1186.76 769.287 1207.83 769.24 1228.9 768.937 C 1228.12 726.053 1215.31 689.01 1190.57 653.862 C 1191.11 650.055 1191.99 646.11 1192.76 642.326 z" />
+<path fill="rgb(47,48,51)" d="M 1023.56 427.442 C 1024.55 427.807 1026.62 428.52 1026.67 429.35 C 1028.09 453.915 1028.84 542.842 1026.75 560.007 C 1067.49 560.37 1110.56 573 1144.58 596.303 C 1146.92 597.905 1146.5 597.435 1146.79 599.597 C 1143.08 598.826 1133.85 590.248 1128.46 587.695 C 1107.31 577.682 1089.19 569.92 1065.91 565.387 C 1010.09 554.97 952.414 567.019 905.435 598.914 C 862.393 628.219 831.785 672.482 819.56 723.099 C 816.353 736.373 814.972 750.552 812.996 764.026 C 812.248 769.128 814.672 796.449 815.432 801.246 C 819.883 829.342 828.716 858.521 844.697 882.311 C 847.841 886.991 846.911 889.644 850.913 892.628 C 853.833 892.726 852.384 893.003 855.146 890.847 C 855.451 888.992 856.001 887.133 854.705 885.352 C 832.287 854.551 820.673 811.743 821 774 L 879 774 C 886.613 774.028 908.779 775.516 914.024 772.099 C 910.709 770.31 831.323 770.998 821 771 C 820.972 768.412 820.97 765.824 820.993 763.235 C 821.288 714.104 846.786 661.236 881.656 627.092 C 919.444 590.236 970.216 569.729 1023 570 C 1022.94 575.347 1023.14 581.491 1023.37 586.883 C 1024.37 610.02 1019.93 638.659 1025.07 660.925 C 1027.91 657.878 1023.71 575.961 1026.99 570.436 L 1029.75 570 C 1056.68 569.494 1085.16 575.831 1109.81 586.384 C 1116.75 589.356 1135.88 599.653 1141.74 603.881 L 1141.22 604.436 C 1135.79 603.072 1121.37 593.672 1114.89 590.637 C 1086.54 577.34 1059.15 571.314 1028.05 570.979 C 1027.59 583.757 1029.01 658.978 1025.88 664.119 L 1024.38 664.096 C 1020.41 659.525 1022.07 639.224 1022.08 631.86 L 1021.9 570.942 C 970.714 571.477 921.63 591.401 884.55 626.696 C 845.385 664.021 822.827 715.497 821.931 769.592 C 834.387 769.18 911.299 767.571 917.55 771.178 L 915.66 770.04 L 916.251 772.472 C 906.156 777.045 887.666 775.134 876.001 775.094 L 822.312 775.108 C 823.149 810.447 830.972 840.376 847.217 871.852 C 850.027 877.297 860.278 888.863 859.658 893.918 L 858.693 892.508 L 857.351 892.309 C 854.266 895.513 855.231 894.342 854.086 899.191 L 852.794 898.951 L 854.274 898.044 L 851.964 897.769 C 828.77 861.204 814.926 828.545 812.209 784.428 C 809.223 727.945 828.807 672.592 866.651 630.555 C 908.195 584.144 961.695 563.49 1022.74 560.194 C 1021.61 548.622 1020.92 432.239 1023.56 427.442 z" />
+<path fill="rgb(47,48,51)" d="M 683.889 769.546 C 700.993 768.842 722.491 769.394 739.895 769.462 C 758.503 769.535 792.856 768.305 810.571 770.899 L 811.104 772.567 L 809.671 773.004 C 775.959 776.654 742.332 774.638 708.41 775.181 C 704.001 775.251 682.502 775.588 679.619 773.975 L 679.443 772.324 C 681.597 769.303 680.177 770.221 683.889 769.546 z" />
+<path fill="rgb(47,48,51)" d="M 1262.95 769.419 C 1286.17 768.587 1310.69 770.197 1334.09 769.441 C 1344.57 769.103 1358.15 769.121 1368.41 770.211 L 1369.61 772.23 C 1364.26 776.087 1359.84 775.295 1353.3 775.148 C 1338.95 774.996 1251.54 776.456 1244.38 773.492 C 1248.98 769.403 1256.95 769.609 1262.95 769.419 z" />
+<path fill="rgb(174,145,110)" d="M 1048.47 465.87 C 1114.42 465.733 1185.21 498.054 1234.21 541.356 C 1293.6 594.557 1329.33 669.24 1333.5 748.867 C 1319.01 748.611 1304.06 748.785 1289.53 748.773 C 1287.61 696.749 1262.7 636.812 1228.29 598.112 C 1178.68 542.309 1121.51 515.963 1048.46 510.187 C 1048.37 495.415 1048.37 480.642 1048.47 465.87 z" />
+<path fill="rgb(203,193,181)" d="M 997.517 467.424 C 1000.49 467.14 999.299 466.671 1001.38 468.216 C 1002.96 475.01 1002.18 503.418 1002.1 511.662 C 954.811 515.143 901.995 536.481 864.837 565.599 C 803.873 613.372 771.809 673.186 761.809 748.875 C 749.319 748.64 736.283 748.838 723.75 748.858 L 720.18 748.447 C 717.043 743.897 721.456 723.766 722.664 717.553 C 732.187 667.784 753.917 621.158 785.905 581.859 C 838.343 517.001 914.534 475.798 997.517 467.424 z" />
+<path fill="url(#az-rose-se)" d="M 1289.25 795.949 L 1332.89 796.039 C 1327.48 849.421 1311.73 897.547 1281.23 942.11 C 1235.69 1008.94 1165.38 1054.85 1085.87 1069.67 C 1074.09 1072.12 1060.39 1073.61 1048.41 1074.67 C 1048.49 1060.14 1048.48 1045.62 1048.38 1031.09 C 1180.01 1018.19 1273.05 926.957 1289.25 795.949 z" />
+<path fill="url(#az-rose-sw)" d="M 718.719 795.968 L 762.601 796.01 C 765.423 844.66 791.223 900.082 822.425 937.046 C 867.523 990.852 932.188 1024.49 1002.13 1030.52 L 1002.09 1074.18 C 943.935 1071.36 879.034 1044.96 834.217 1008.63 C 765.319 952.789 728.817 882.792 718.719 795.968 z" />
+<path fill="rgb(203,193,181)" d="M 849.463 955.024 L 848.074 955.646 L 847.678 954.653 C 852.011 944.457 871.897 911.572 878.066 900.781 C 899.33 863.039 920.906 825.474 942.791 788.088 C 948.342 778.607 954.574 768.415 959.813 758.717 C 965.567 748.067 969.999 738.042 977.087 728.115 C 986.729 714.612 1003.31 712.43 1016.1 704.241 C 1034.59 692.406 1203.03 583.022 1204.46 582.805 L 1203.93 585.09 C 1199.65 595.348 1183.1 622.104 1176.81 632.84 C 1162.47 657.73 1148.37 682.755 1134.51 707.912 C 1121.46 731.261 1108.42 754.609 1095.45 778.029 C 1088.53 790.523 1083.97 804.712 1074.93 815.709 C 1063.27 829.904 1049.73 832.35 1034.49 840.724 C 1025.89 845.455 1015.6 852.163 1007.06 857.461 L 905.739 920.454 C 895.621 926.841 856.923 952.607 849.463 955.024 z" />
+<path fill="url(#az-rose-needle)" d="M 1110.53 682.315 L 1111.19 684.205 C 1108.86 686.868 1106.8 688.065 1106.87 690.69 C 1109.72 692.169 1115.29 694.969 1117.65 696.855 C 1123.16 701.261 1123.27 710.06 1130.9 710.092 L 1134.51 707.912 C 1121.46 731.261 1108.42 754.609 1095.45 778.029 C 1088.53 790.523 1083.97 804.712 1074.93 815.709 C 1063.27 829.904 1049.73 832.35 1034.49 840.724 C 1025.89 845.455 1015.6 852.163 1007.06 857.461 L 905.739 920.454 C 895.621 926.841 856.923 952.607 849.463 955.024 C 854.952 946.492 878.753 922.785 887.184 913.778 C 924.329 874.425 961.711 835.297 999.328 796.395 C 988.514 784.1 988.27 766.925 997.429 753.613 C 1002.93 745.462 1011.57 739.958 1021.28 738.411 C 1032.51 736.675 1040 739.991 1048.71 746.165 C 1069.04 725.375 1089.49 702.188 1110.53 682.315 z" />
+<path fill="rgb(125,118,108)" d="M 1110.53 682.315 C 1114.69 675.669 1144.02 646.116 1151.08 639.522 C 1167.15 624.497 1187.5 598.081 1203.93 585.09 C 1199.65 595.348 1183.1 622.104 1176.81 632.84 C 1162.47 657.73 1148.37 682.755 1134.51 707.912 L 1130.9 710.092 C 1123.27 710.06 1123.16 701.261 1117.65 696.855 C 1115.29 694.969 1109.72 692.169 1106.87 690.69 C 1106.8 688.065 1108.86 686.868 1111.19 684.205 L 1110.53 682.315 z" />
+<path fill="rgb(13,17,21)" d="M 999.328 796.395 C 988.514 784.1 988.27 766.925 997.429 753.613 C 1002.93 745.462 1011.57 739.958 1021.28 738.411 C 1032.51 736.675 1040 739.991 1048.71 746.165 C 1057.76 757.154 1059.87 762.696 1058.49 777.494 C 1052.5 795.549 1040.57 806.652 1020.62 805.792 C 1015.97 803.196 1010.81 806.377 999.328 796.395 z" />
+<path fill="rgb(125,118,108)" d="M 1058.49 777.494 C 1061.18 796.015 1037.08 810.999 1019.38 807.232 L 1019.27 806.259 L 1020.62 805.792 C 1040.57 806.652 1052.5 795.549 1058.49 777.494 z" />
+</svg>
diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte
index b6025f5..2afb455 100644
--- a/frontend/src/App.svelte
+++ b/frontend/src/App.svelte
@@ -1,7 +1,9 @@
<script>
import { uiState, initSession } from './lib/state.svelte.js';
+ import { WORKSPACES, workspaceOf, toolFromHash } from './lib/workspaces.js';
import Icon from './components/Icon.svelte';
import Logo from './components/Logo.svelte';
+ import Wordmark from './components/Wordmark.svelte';
import CaseSwitcher from './components/CaseSwitcher.svelte';
import CaseSidebar from './components/CaseSidebar.svelte';
import Toasts from './components/Toasts.svelte';
@@ -12,27 +14,42 @@
import Inspector from './tools/Inspector.svelte';
import Settings from './tools/Settings.svelte';
- // the left rail carries the investigation tools; Settings lives behind the
- // topbar gear instead — app plumbing, not part of the working flow
+ // The rail holds workspaces (docs/UI.md §3); tools are tabs inside them.
+ // Settings lives behind the topbar gear instead — app plumbing, not part
+ // of the working flow.
const TOOLS = [
- { id: 'media', label: 'Media', icon: 'media', component: MediaLibrary },
- { id: 'inspect', label: 'Inspect', icon: 'inspect', component: Inspector },
- { id: 'satellite', label: 'Satellite', icon: 'satellite', component: Satellite },
- { id: 'proof', label: 'Proof', icon: 'proof', component: ProofComposer },
- { id: 'post', label: 'Post', icon: 'post', component: PostComposer },
+ { id: 'media', label: 'Media', component: MediaLibrary },
+ { id: 'inspect', label: 'Inspect', component: Inspector },
+ { id: 'satellite', label: 'Satellite', component: Satellite },
+ { id: 'proof', label: 'Proof', component: ProofComposer },
+ { id: 'post', label: 'Post', component: PostComposer },
];
const ALL_TOOLS = [
...TOOLS,
- { id: 'settings', label: 'Settings', icon: 'settings', component: Settings },
+ { id: 'settings', label: 'Settings', component: Settings },
];
+ const TOOL_IDS = ALL_TOOLS.map((t) => t.id);
+ const toolLabel = (id) => ALL_TOOLS.find((t) => t.id === id)?.label ?? id;
- // deep-linkable tools: #media #satellite #proof #post #settings
- const fromHash = location.hash.slice(1);
- if (ALL_TOOLS.some((t) => t.id === fromHash)) uiState.tool = fromHash;
+ // deep links: tool ids (#media, #proof, …) plus workspace aliases
+ // (#compose, #compose/post) — see lib/workspaces.js
+ const fromHash = toolFromHash(location.hash, TOOL_IDS);
+ if (fromHash) uiState.tool = fromHash;
$effect(() => {
history.replaceState(null, '', `#${uiState.tool}`);
});
+ // Workspace navigation: clicking a workspace returns to its last-used tab.
+ const activeWs = $derived(workspaceOf(uiState.tool));
+ const lastTool = $state({});
+ $effect(() => {
+ const ws = workspaceOf(uiState.tool);
+ if (ws) lastTool[ws.id] = uiState.tool;
+ });
+ function openWorkspace(ws) {
+ uiState.tool = lastTool[ws.id] ?? ws.tools[0];
+ }
+
// Tools mount lazily on first visit, then stay mounted (hidden via CSS) so
// unsaved editor state — a half-composed proof, a collage in progress —
// survives switching tabs to grab another capture or media.
@@ -48,18 +65,15 @@
<div class="shell">
<header class="topbar">
<div class="brand">
- <Logo size={26} />
- <span class="brand-name">Azimut</span>
+ <Logo size={28} />
+ <span class="brand-name"><Wordmark height={12} /></span>
</div>
<CaseSwitcher />
<div class="spacer"></div>
- <span class="local-badge" title="Everything stays on your machine — no accounts, no telemetry, no servers">
- Your investigation. Your machine.
- </span>
<button
class="btn btn-ghost btn-sm"
class:gear-active={uiState.tool === 'settings'}
- title="Settings — API keys & usage"
+ title="Settings"
onclick={() => (uiState.tool = 'settings')}
>
<Icon name="settings" size={16} />
@@ -75,27 +89,42 @@
<div class="main">
<nav class="rail">
- {#each TOOLS as tool (tool.id)}
+ {#each WORKSPACES as ws (ws.id)}
<button
class="rail-btn"
- class:active={uiState.tool === tool.id}
- onclick={() => (uiState.tool = tool.id)}
- title={tool.label}
+ class:active={activeWs?.id === ws.id}
+ onclick={() => openWorkspace(ws)}
+ title={ws.label}
>
- <Icon name={tool.icon} size={21} />
- <span>{tool.label}</span>
+ <Icon name={ws.icon} size={19} />
+ <span>{ws.label}</span>
</button>
{/each}
</nav>
<main class="canvas">
- {#each ALL_TOOLS as tool (tool.id)}
- {#if visited[tool.id]}
- <div class="tool-host" class:hidden={uiState.tool !== tool.id}>
- <tool.component />
- </div>
- {/if}
- {/each}
+ {#if activeWs && activeWs.tools.length > 1}
+ <div class="tabstrip">
+ {#each activeWs.tools as toolId (toolId)}
+ <button
+ class="tab-btn"
+ class:active={uiState.tool === toolId}
+ onclick={() => (uiState.tool = toolId)}
+ >
+ {toolLabel(toolId)}
+ </button>
+ {/each}
+ </div>
+ {/if}
+ <div class="canvas-body">
+ {#each ALL_TOOLS as tool (tool.id)}
+ {#if visited[tool.id]}
+ <div class="tool-host" class:hidden={uiState.tool !== tool.id}>
+ <tool.component />
+ </div>
+ {/if}
+ {/each}
+ </div>
</main>
{#if uiState.sidebarOpen}
@@ -133,37 +162,15 @@
padding-right: 6px;
}
.brand-name {
- font-family: 'Oxanium', var(--font-sans);
- font-weight: 600;
- text-transform: uppercase;
- letter-spacing: 0.22em;
- /* trailing tracking pushes the word off-center; nudge it back */
- margin-right: -0.22em;
- font-size: var(--fs-md);
- color: var(--text-1);
- }
- .spacer {
- flex: 1;
- }
- .local-badge {
display: flex;
align-items: center;
- gap: 6px;
- font-size: var(--fs-xs);
- font-weight: 600;
- color: var(--text-3);
- user-select: none;
}
- .dot {
- width: 7px;
- height: 7px;
- border-radius: 50%;
- background: var(--ok);
- box-shadow: 0 0 6px var(--ok);
+ .spacer {
+ flex: 1;
}
.gear-active {
- color: var(--accent);
- background: var(--accent-soft);
+ color: var(--text-1);
+ background: var(--bg-2);
}
.main {
flex: 1;
@@ -175,36 +182,63 @@
flex-shrink: 0;
display: flex;
flex-direction: column;
- gap: 4px;
- padding: 10px 8px;
+ padding: 4px 0;
border-right: 1px solid var(--border);
background: var(--bg-1);
}
+ /* flat, full-bleed segments — active state is the edge bar, not a card */
.rail-btn {
display: flex;
flex-direction: column;
align-items: center;
- gap: 4px;
- padding: 10px 4px 8px;
- border-radius: var(--r-md);
+ gap: 3px;
+ padding: 10px 0 8px;
+ border-left: 2px solid transparent;
+ border-right: 2px solid transparent;
color: var(--text-3);
font-size: var(--fs-xs);
- font-weight: 600;
- transition: background 0.15s var(--ease), color 0.15s var(--ease);
+ font-weight: 500;
}
.rail-btn:hover {
color: var(--text-1);
- background: var(--bg-2);
}
.rail-btn.active {
- color: var(--accent);
- background: var(--accent-soft);
+ color: var(--text-1);
+ border-left-color: var(--accent);
}
.canvas {
flex: 1;
min-width: 0;
+ display: flex;
+ flex-direction: column;
background: var(--bg-0);
}
+ .tabstrip {
+ flex-shrink: 0;
+ display: flex;
+ align-items: stretch;
+ gap: 2px;
+ padding: 0 10px;
+ background: var(--bg-1);
+ border-bottom: 1px solid var(--border);
+ }
+ .tab-btn {
+ padding: 7px 12px;
+ font-size: var(--fs-sm);
+ font-weight: 500;
+ color: var(--text-3);
+ }
+ .tab-btn:hover {
+ color: var(--text-1);
+ }
+ .tab-btn.active {
+ color: var(--text-1);
+ box-shadow: inset 0 -2px 0 var(--accent);
+ }
+ .canvas-body {
+ flex: 1;
+ min-height: 0;
+ }
.tool-host {
width: 100%;
height: 100%;
diff --git a/frontend/src/app.css b/frontend/src/app.css
index 3ab2b37..876617f 100644
--- a/frontend/src/app.css
+++ b/frontend/src/app.css
@@ -1,33 +1,35 @@
/* ============================================================
- Azimut design system — dark, focused, an investigator's desk.
+ Azimut design system — the investigator's desk.
+ Neutral, dense, flat: an instrument, not a dashboard.
Every component consumes these tokens; no hardcoded colors.
+ Direction: docs/UI.md §2.
============================================================ */
:root {
/* -- palette ------------------------------------------------ */
- --bg-0: #0b0f17; /* app background (deep night) */
- --bg-1: #101623; /* panels, sidebar */
- --bg-2: #161e2e; /* raised: cards, inputs */
- --bg-3: #1d2739; /* hover states, active rows */
- --border: rgba(148, 163, 196, 0.14);
- --border-strong: rgba(148, 163, 196, 0.28);
-
- --text-1: #e8edf6; /* primary text */
- --text-2: #9aa7bd; /* secondary text */
- --text-3: #5d6b84; /* hints, placeholders */
-
- --accent: #e8a33d; /* azimuth amber */
+ --bg-0: #151515; /* app background */
+ --bg-1: #1c1c1c; /* panels, sidebar */
+ --bg-2: #252525; /* raised: cards, inputs */
+ --bg-3: #2f2f2f; /* hover states, active rows */
+ --border: rgba(255, 255, 255, 0.09);
+ --border-strong: rgba(255, 255, 255, 0.18);
+
+ --text-1: #e3e3e3; /* primary text */
+ --text-2: #9f9f9f; /* secondary text */
+ --text-3: #6c6c6c; /* hints, placeholders */
+
+ --accent: #e8a33d; /* azimuth amber — selection & primary action only */
--accent-hover: #f4b558;
--accent-soft: rgba(232, 163, 61, 0.14);
- --accent-text: #0b0f17; /* text on accent */
+ --accent-text: #141414; /* text on accent */
- --ok: #4ade80;
- --ok-soft: rgba(74, 222, 128, 0.12);
- --warn: #fbbf24;
- --danger: #f87171;
- --danger-soft: rgba(248, 113, 113, 0.12);
- --info: #60a5fa;
- --info-soft: rgba(96, 165, 250, 0.12);
+ --ok: #66b578;
+ --ok-soft: rgba(102, 181, 120, 0.12);
+ --warn: #d9a53f;
+ --danger: #d97070;
+ --danger-soft: rgba(217, 112, 112, 0.12);
+ --info: #6f9fd8;
+ --info-soft: rgba(111, 159, 216, 0.12);
/* annotation palette — high-contrast on both photo & satellite */
--anno-1: #ff5252;
@@ -50,12 +52,12 @@
--fs-xl: 1.35rem;
/* -- geometry ------------------------------------------------ */
- --r-sm: 6px;
- --r-md: 10px;
- --r-lg: 14px;
- --rail-w: 76px;
+ --r-sm: 3px;
+ --r-md: 4px;
+ --r-lg: 6px;
+ --rail-w: 64px;
--sidebar-w: 320px;
- --topbar-h: 52px;
+ --topbar-h: 44px;
--shadow-1: 0 1px 3px rgba(0, 0, 0, 0.4);
--shadow-2: 0 8px 28px rgba(0, 0, 0, 0.5);
@@ -154,16 +156,14 @@ a:hover {
display: inline-flex;
align-items: center;
gap: 7px;
- padding: 7px 14px;
+ padding: 5px 12px;
border-radius: var(--r-sm);
font-size: var(--fs-sm);
- font-weight: 600;
- letter-spacing: 0.01em;
+ font-weight: 500;
background: var(--bg-2);
border: 1px solid var(--border);
color: var(--text-1);
- transition: background 0.15s var(--ease), border-color 0.15s var(--ease),
- transform 0.1s var(--ease);
+ transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
white-space: nowrap;
user-select: none;
}
@@ -171,9 +171,6 @@ a:hover {
background: var(--bg-3);
border-color: var(--border-strong);
}
-.btn:active:not(:disabled, .disabled) {
- transform: translateY(1px);
-}
/* an <a class="btn"> can never match :disabled — it opts out with .disabled
instead (and drops its href, so it doesn't navigate either) */
.btn:disabled,
@@ -186,6 +183,7 @@ a:hover {
background: var(--accent);
border-color: transparent;
color: var(--accent-text);
+ font-weight: 600;
}
.btn-primary:hover:not(:disabled, .disabled) {
background: var(--accent-hover);
@@ -211,7 +209,7 @@ a:hover {
}
.btn-sm {
- padding: 4px 9px;
+ padding: 3px 8px;
font-size: var(--fs-xs);
}
@@ -219,7 +217,7 @@ a:hover {
.textarea,
.select {
width: 100%;
- padding: 8px 11px;
+ padding: 6px 10px;
border-radius: var(--r-sm);
background: var(--bg-2);
border: 1px solid var(--border);
@@ -236,7 +234,7 @@ a:hover {
.select:focus {
outline: none;
border-color: var(--accent);
- box-shadow: 0 0 0 3px var(--accent-soft);
+ box-shadow: 0 0 0 2px var(--accent-soft);
}
.textarea {
resize: vertical;
@@ -252,9 +250,9 @@ a:hover {
.label {
display: block;
font-size: var(--fs-xs);
- font-weight: 600;
+ font-weight: 500;
text-transform: uppercase;
- letter-spacing: 0.07em;
+ letter-spacing: 0.05em;
color: var(--text-3);
margin-bottom: 5px;
}
@@ -269,10 +267,10 @@ a:hover {
display: inline-flex;
align-items: center;
gap: 4px;
- padding: 2px 8px;
- border-radius: 99px;
+ padding: 2px 7px;
+ border-radius: var(--r-sm);
font-size: var(--fs-xs);
- font-weight: 600;
+ font-weight: 500;
background: var(--bg-3);
color: var(--text-2);
}
@@ -328,12 +326,12 @@ a:hover {
display: flex;
align-items: center;
gap: 12px;
- padding: 14px 20px 12px;
+ padding: 10px 16px 9px;
border-bottom: 1px solid var(--border);
}
.tool-header h2 {
font-size: var(--fs-lg);
- font-weight: 700;
+ font-weight: 600;
letter-spacing: -0.01em;
}
.tool-header .sub {
@@ -345,17 +343,3 @@ a:hover {
min-height: 0;
overflow: auto;
}
-
-@keyframes fade-up {
- from {
- opacity: 0;
- transform: translateY(6px);
- }
- to {
- opacity: 1;
- transform: none;
- }
-}
-.fade-up {
- animation: fade-up 0.22s var(--ease);
-}
diff --git a/frontend/src/assets/logo-source.svg b/frontend/src/assets/logo-source.svg
new file mode 100644
index 0000000..53bccda
--- /dev/null
+++ b/frontend/src/assets/logo-source.svg
@@ -0,0 +1,83 @@
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" style="display: block;" viewBox="0 0 2048 2048" width="1254" height="1254" preserveAspectRatio="none">
+<defs>
+ <linearGradient id="Gradient1" gradientUnits="userSpaceOnUse" x1="767.616" y1="1571.39" x2="755.479" y2="1533.9">
+ <stop class="stop0" offset="0" stop-opacity="1" stop-color="rgb(75,93,115)"/>
+ <stop class="stop1" offset="1" stop-opacity="1" stop-color="rgb(91,115,136)"/>
+ </linearGradient>
+ <linearGradient id="Gradient2" gradientUnits="userSpaceOnUse" x1="980.33" y1="1089.47" x2="713.831" y2="804.709">
+ <stop class="stop0" offset="0" stop-opacity="1" stop-color="rgb(56,70,84)"/>
+ <stop class="stop1" offset="1" stop-opacity="1" stop-color="rgb(78,97,115)"/>
+ </linearGradient>
+ <linearGradient id="Gradient3" gradientUnits="userSpaceOnUse" x1="1022.76" y1="1008" x2="1358.11" y2="863.001">
+ <stop class="stop0" offset="0" stop-opacity="1" stop-color="rgb(134,126,116)"/>
+ <stop class="stop1" offset="1" stop-opacity="1" stop-color="rgb(183,176,164)"/>
+ </linearGradient>
+ <linearGradient id="Gradient4" gradientUnits="userSpaceOnUse" x1="882.665" y1="969.827" x2="1126.82" y2="706.013">
+ <stop class="stop0" offset="0" stop-opacity="1" stop-color="rgb(51,49,46)"/>
+ <stop class="stop1" offset="1" stop-opacity="1" stop-color="rgb(121,113,103)"/>
+ </linearGradient>
+</defs>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 0 0 L 2048 0 L 2048 2048 L 0 2048 L 0 0 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 849.463 955.024 L 848.074 955.646 L 847.678 954.653 C 852.011 944.457 871.897 911.572 878.066 900.781 C 899.33 863.039 920.906 825.474 942.791 788.088 C 948.342 778.607 954.574 768.415 959.813 758.717 C 965.567 748.067 969.999 738.042 977.087 728.115 C 986.729 714.612 1003.31 712.43 1016.1 704.241 C 1034.59 692.406 1203.03 583.022 1204.46 582.805 L 1203.93 585.09 C 1199.65 595.348 1183.1 622.104 1176.81 632.84 C 1162.47 657.73 1148.37 682.755 1134.51 707.912 C 1121.46 731.261 1108.42 754.609 1095.45 778.029 C 1088.53 790.523 1083.97 804.712 1074.93 815.709 C 1063.27 829.904 1049.73 832.35 1034.49 840.724 C 1025.89 845.455 1015.6 852.163 1007.06 857.461 L 905.739 920.454 C 895.621 926.841 856.923 952.607 849.463 955.024 z"/>
+<path transform="translate(0,0)" fill="url(#Gradient4)" d="M 1110.53 682.315 L 1111.19 684.205 C 1108.86 686.868 1106.8 688.065 1106.87 690.69 C 1109.72 692.169 1115.29 694.969 1117.65 696.855 C 1123.16 701.261 1123.27 710.06 1130.9 710.092 L 1134.51 707.912 C 1121.46 731.261 1108.42 754.609 1095.45 778.029 C 1088.53 790.523 1083.97 804.712 1074.93 815.709 C 1063.27 829.904 1049.73 832.35 1034.49 840.724 C 1025.89 845.455 1015.6 852.163 1007.06 857.461 L 905.739 920.454 C 895.621 926.841 856.923 952.607 849.463 955.024 C 854.952 946.492 878.753 922.785 887.184 913.778 C 924.329 874.425 961.711 835.297 999.328 796.395 C 988.514 784.1 988.27 766.925 997.429 753.613 C 1002.93 745.462 1011.57 739.958 1021.28 738.411 C 1032.51 736.675 1040 739.991 1048.71 746.165 C 1069.04 725.375 1089.49 702.188 1110.53 682.315 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 999.328 796.395 C 988.514 784.1 988.27 766.925 997.429 753.613 C 1002.93 745.462 1011.57 739.958 1021.28 738.411 C 1032.51 736.675 1040 739.991 1048.71 746.165 C 1057.76 757.154 1059.87 762.696 1058.49 777.494 C 1052.5 795.549 1040.57 806.652 1020.62 805.792 C 1015.97 803.196 1010.81 806.377 999.328 796.395 z"/>
+<path transform="translate(0,0)" fill="rgb(125,118,108)" d="M 1058.49 777.494 C 1061.18 796.015 1037.08 810.999 1019.38 807.232 L 1019.27 806.259 L 1020.62 805.792 C 1040.57 806.652 1052.5 795.549 1058.49 777.494 z"/>
+<path transform="translate(0,0)" fill="rgb(125,118,108)" d="M 1110.53 682.315 C 1114.69 675.669 1144.02 646.116 1151.08 639.522 C 1167.15 624.497 1187.5 598.081 1203.93 585.09 C 1199.65 595.348 1183.1 622.104 1176.81 632.84 C 1162.47 657.73 1148.37 682.755 1134.51 707.912 L 1130.9 710.092 C 1123.27 710.06 1123.16 701.261 1117.65 696.855 C 1115.29 694.969 1109.72 692.169 1106.87 690.69 C 1106.8 688.065 1108.86 686.868 1111.19 684.205 L 1110.53 682.315 z"/>
+<path transform="translate(0,0)" fill="rgb(174,145,110)" d="M 1048.47 465.87 C 1114.42 465.733 1185.21 498.054 1234.21 541.356 C 1293.6 594.557 1329.33 669.24 1333.5 748.867 C 1319.01 748.611 1304.06 748.785 1289.53 748.773 C 1287.61 696.749 1262.7 636.812 1228.29 598.112 C 1178.68 542.309 1121.51 515.963 1048.46 510.187 C 1048.37 495.415 1048.37 480.642 1048.47 465.87 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 997.517 467.424 C 1000.49 467.14 999.299 466.671 1001.38 468.216 C 1002.96 475.01 1002.18 503.418 1002.1 511.662 C 954.811 515.143 901.995 536.481 864.837 565.599 C 803.873 613.372 771.809 673.186 761.809 748.875 C 749.319 748.64 736.283 748.838 723.75 748.858 L 720.18 748.447 C 717.043 743.897 721.456 723.766 722.664 717.553 C 732.187 667.784 753.917 621.158 785.905 581.859 C 838.343 517.001 914.534 475.798 997.517 467.424 z"/>
+<path transform="translate(0,0)" fill="url(#Gradient3)" d="M 1289.25 795.949 L 1332.89 796.039 C 1327.48 849.421 1311.73 897.547 1281.23 942.11 C 1235.69 1008.94 1165.38 1054.85 1085.87 1069.67 C 1074.09 1072.12 1060.39 1073.61 1048.41 1074.67 C 1048.49 1060.14 1048.48 1045.62 1048.38 1031.09 C 1180.01 1018.19 1273.05 926.957 1289.25 795.949 z"/>
+<path transform="translate(0,0)" fill="url(#Gradient2)" d="M 718.719 795.968 L 762.601 796.01 C 765.423 844.66 791.223 900.082 822.425 937.046 C 867.523 990.852 932.188 1024.49 1002.13 1030.52 L 1002.09 1074.18 C 943.935 1071.36 879.034 1044.96 834.217 1008.63 C 765.319 952.789 728.817 882.792 718.719 795.968 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 1193.47 1206.69 L 1215.03 1206.77 L 1214.96 1387.94 L 1192.03 1388.11 L 1192 1275.5 L 1191.97 1243.2 C 1167.25 1269.32 1138.9 1301.68 1115.46 1328.96 L 1100.14 1328.98 C 1074.61 1301.76 1048.9 1271.14 1023.71 1243.12 C 1022.8 1290.98 1023.59 1340.01 1023.45 1388.02 L 1000.77 1388 L 1000.52 1206.69 L 1022.44 1206.87 C 1049.64 1235.2 1081.23 1273.04 1107.65 1302.94 C 1136.31 1272.08 1164.78 1238.14 1193.47 1206.69 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 593.024 1206.88 C 645.808 1205.92 701.57 1206.88 754.594 1206.92 L 754.545 1221.64 C 712.636 1269.72 668.106 1318.07 625.616 1365.98 L 755.368 1366.15 L 755.514 1388.04 C 700.985 1387 643.129 1388.01 588.33 1388.08 L 588.281 1373.82 C 630.958 1325.33 673.893 1277.08 717.085 1229.05 C 676.116 1228.57 634.048 1228.98 593.005 1228.97 L 593.024 1206.88 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 1326.08 1206.7 L 1349.39 1206.82 C 1350 1237.2 1349.71 1270.97 1349.27 1301.77 C 1346.75 1346.04 1365.31 1366.48 1409.68 1366.63 C 1479.42 1366.86 1477.23 1334.68 1477.18 1280.26 L 1477.09 1206.85 L 1499.94 1206.77 L 1499.9 1227.93 L 1500 1282.31 C 1500.04 1311.23 1503.24 1344.94 1481.12 1367.19 C 1450.39 1398.23 1375.76 1398.01 1344.91 1367.57 C 1322.02 1344.98 1326.06 1307.84 1326.09 1278.03 L 1326.08 1206.7 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 386.806 1206.85 L 406.791 1206.65 C 438.322 1267.19 471.856 1327.3 502.947 1387.95 L 476.826 1388 L 399.896 1244.09 C 398.633 1241.84 398.212 1241.38 396.679 1239.3 C 394.17 1241.25 322.694 1375.93 316.247 1388.03 L 290.282 1388 C 322.057 1327.4 354.232 1267.02 386.806 1206.85 z"/>
+<path transform="translate(0,0)" fill="rgb(47,48,51)" d="M 1192.76 642.326 C 1200.18 647.327 1207.85 662.083 1212.28 669.861 C 1232.15 704.76 1240.66 743.287 1238.85 783.325 C 1236.02 839.245 1211.1 891.754 1169.58 929.314 C 1132.5 962.951 1076.82 986.1 1026.56 983.71 C 1030.38 1019.86 1025.27 1061.22 1027.87 1097.78 C 1028.19 1102.33 1028.29 1107.83 1025.12 1111.23 L 1022.96 1110.57 C 1020.96 1105.83 1022.19 997.602 1022.29 983.964 C 997.132 984.345 969.41 978.328 946.015 969.16 C 938.351 966.156 909.252 952.706 905.425 946.073 L 906.594 944.688 C 910.731 943.999 909.863 944.456 912.76 942.386 C 915.021 940.772 928.406 949.594 930.78 950.95 C 960.801 967.191 988.477 972.724 1022.11 974.287 C 1021.9 963.026 1020.71 884.96 1024.29 879.904 C 1026.41 882.401 1027.75 887.053 1027.68 890.22 C 1027 918.06 1028.29 946.605 1027.46 974.376 C 1091.24 972.296 1147.86 947.054 1186.95 895.774 C 1213.66 860.738 1229.03 819.005 1229.09 774.843 C 1216.96 775.067 1142.61 776.582 1135.28 774.324 L 1134.46 772.668 L 1135.66 770.802 C 1139.84 767.809 1159.57 769.053 1165.69 769.079 C 1186.76 769.287 1207.83 769.24 1228.9 768.937 C 1228.12 726.053 1215.31 689.01 1190.57 653.862 C 1191.11 650.055 1191.99 646.11 1192.76 642.326 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 1596.67 1206.82 L 1764.23 1206.8 L 1764.33 1228.97 L 1691.95 1229.02 L 1691.77 1318.25 C 1691.84 1341.5 1691.8 1364.75 1691.64 1388 L 1668.84 1388.14 L 1668.88 1228.99 L 1596.58 1228.98 C 1596.41 1221.66 1596.58 1214.15 1596.67 1206.82 z"/>
+<path transform="translate(0,0)" fill="rgb(203,193,181)" d="M 862.025 1206.82 L 884.691 1206.83 L 884.787 1387.97 L 862.017 1387.98 L 862.025 1206.82 z"/>
+<path transform="translate(0,0)" fill="rgb(47,48,51)" d="M 1023.56 427.442 C 1024.55 427.807 1026.62 428.52 1026.67 429.35 C 1028.09 453.915 1028.84 542.842 1026.75 560.007 C 1067.49 560.37 1110.56 573 1144.58 596.303 C 1146.92 597.905 1146.5 597.435 1146.79 599.597 C 1143.08 598.826 1133.85 590.248 1128.46 587.695 C 1107.31 577.682 1089.19 569.92 1065.91 565.387 C 1010.09 554.97 952.414 567.019 905.435 598.914 C 862.393 628.219 831.785 672.482 819.56 723.099 C 816.353 736.373 814.972 750.552 812.996 764.026 C 812.248 769.128 814.672 796.449 815.432 801.246 C 819.883 829.342 828.716 858.521 844.697 882.311 C 847.841 886.991 846.911 889.644 850.913 892.628 C 853.833 892.726 852.384 893.003 855.146 890.847 C 855.451 888.992 856.001 887.133 854.705 885.352 C 832.287 854.551 820.673 811.743 821 774 L 879 774 C 886.613 774.028 908.779 775.516 914.024 772.099 C 910.709 770.31 831.323 770.998 821 771 C 820.972 768.412 820.97 765.824 820.993 763.235 C 821.288 714.104 846.786 661.236 881.656 627.092 C 919.444 590.236 970.216 569.729 1023 570 C 1022.94 575.347 1023.14 581.491 1023.37 586.883 C 1024.37 610.02 1019.93 638.659 1025.07 660.925 C 1027.91 657.878 1023.71 575.961 1026.99 570.436 L 1029.75 570 C 1056.68 569.494 1085.16 575.831 1109.81 586.384 C 1116.75 589.356 1135.88 599.653 1141.74 603.881 L 1141.22 604.436 C 1135.79 603.072 1121.37 593.672 1114.89 590.637 C 1086.54 577.34 1059.15 571.314 1028.05 570.979 C 1027.59 583.757 1029.01 658.978 1025.88 664.119 L 1024.38 664.096 C 1020.41 659.525 1022.07 639.224 1022.08 631.86 L 1021.9 570.942 C 970.714 571.477 921.63 591.401 884.55 626.696 C 845.385 664.021 822.827 715.497 821.931 769.592 C 834.387 769.18 911.299 767.571 917.55 771.178 L 915.66 770.04 L 916.251 772.472 C 906.156 777.045 887.666 775.134 876.001 775.094 L 822.312 775.108 C 823.149 810.447 830.972 840.376 847.217 871.852 C 850.027 877.297 860.278 888.863 859.658 893.918 L 858.693 892.508 L 857.351 892.309 C 854.266 895.513 855.231 894.342 854.086 899.191 L 852.794 898.951 L 854.274 898.044 L 851.964 897.769 C 828.77 861.204 814.926 828.545 812.209 784.428 C 809.223 727.945 828.807 672.592 866.651 630.555 C 908.195 584.144 961.695 563.49 1022.74 560.194 C 1021.61 548.622 1020.92 432.239 1023.56 427.442 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 366.62 1329.5 C 382.927 1329.25 399.236 1329.19 415.544 1329.31 C 418.249 1334.81 432.067 1356.51 430.802 1360.35 L 383.002 1360.66 C 380.02 1355.42 367.61 1334.32 366.62 1329.5 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 476.366 1533.21 C 500.542 1534.81 504.788 1563.58 481.342 1572.45 C 471.486 1572.11 463.766 1569.28 460.499 1558.91 C 458.815 1553.74 459.307 1548.11 461.863 1543.31 C 465.252 1536.99 469.879 1534.98 476.366 1533.21 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 476.873 1539.98 C 492.154 1542.15 492.763 1557.58 480.906 1565.99 C 463.804 1564.11 462.853 1545.71 476.873 1539.98 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1152.96 1534.2 C 1180.09 1531.12 1186.17 1559.86 1164.83 1571.84 C 1155.74 1572.56 1148.08 1571.68 1143.06 1562.87 C 1140.47 1558.25 1139.83 1552.79 1141.28 1547.69 C 1143.33 1540.36 1146.77 1537.77 1152.96 1534.2 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 1156.99 1539.85 C 1172.78 1541.17 1173.71 1556.66 1162.26 1565.89 C 1145.7 1565.26 1143.73 1548.12 1156.99 1539.85 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1407.84 1534.09 C 1417.42 1533.43 1424.88 1534.1 1429.88 1543.82 C 1432.35 1548.57 1432.82 1554.12 1431.18 1559.22 C 1428.91 1566.13 1425.16 1568.82 1418.99 1571.81 C 1409.63 1572.5 1402.58 1571.39 1397.57 1562.31 C 1395.03 1557.69 1394.45 1552.25 1395.97 1547.2 C 1398.05 1540.3 1401.87 1537.29 1407.84 1534.09 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 1408.76 1540.99 C 1426.74 1539.17 1429.37 1555.84 1417.62 1565.54 C 1413.74 1565.84 1410.69 1566.03 1407.38 1563.46 C 1404.66 1561.31 1403.03 1558.06 1402.94 1554.59 C 1402.71 1548.41 1404.69 1545.18 1408.76 1540.99 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1062.14 1464.48 C 1067.78 1463.1 1093.74 1463.51 1100.8 1463.51 L 1179.27 1463.63 L 1518.5 1464.51 C 1515.28 1466.06 1484.28 1465.89 1478.4 1465.95 L 1378.51 1466.23 C 1276.3 1466.33 1173.96 1466.47 1071.74 1466.38 C 1068.02 1466.38 1065.17 1466.59 1062.14 1464.48 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 538.49 1464.5 L 846.31 1463.53 L 936.182 1463.61 C 944.201 1463.62 981.14 1462.59 986.617 1465.49 C 978.297 1466.91 948.734 1466.4 939.075 1466.4 L 843.35 1466.39 L 656.977 1466.15 C 647.596 1466.14 542.629 1466.62 538.49 1464.5 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1542.81 1534.18 C 1549.22 1534 1562.86 1532.85 1567.54 1536.74 C 1575.88 1543.66 1567.43 1549.49 1567.92 1553.18 C 1572.9 1559.09 1572.62 1558.67 1571.53 1566.39 C 1563.53 1573.83 1553.63 1572.07 1542.72 1571.88 C 1542.66 1559.31 1542.69 1546.75 1542.81 1534.18 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 1550.19 1555.38 C 1554.95 1555.19 1559.57 1554.41 1563.24 1557.29 C 1564.76 1561.16 1564.23 1560.15 1563.45 1564.9 C 1559.56 1565.18 1554.73 1566.08 1551.42 1564.42 C 1549.35 1560.87 1550.16 1560.25 1550.19 1555.38 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 1549.98 1540.53 C 1554.13 1540.46 1557.21 1539.99 1560.94 1541.69 C 1563.32 1544.94 1562.58 1543.89 1563.11 1548.38 C 1559.19 1549.05 1555.26 1550.27 1551.71 1548.8 C 1549.26 1545.47 1550.11 1545.63 1549.98 1540.53 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1367.09 1561.54 C 1369.86 1553.49 1370.83 1537.37 1376.09 1532.96 C 1381.95 1533.49 1380.08 1538.59 1379.28 1542.24 C 1377.64 1548.68 1373.21 1571.24 1367.79 1573.26 C 1362.49 1570.32 1358.33 1553.43 1356.31 1546.98 C 1354.96 1552.39 1351.2 1574.23 1343.32 1572.43 C 1338.55 1567.59 1333.75 1542.3 1331.73 1533.89 C 1333.09 1533.96 1337.29 1533.88 1337.89 1534.67 C 1342.18 1540.4 1344.3 1553.73 1346.02 1560.47 C 1347.67 1553.99 1350.38 1534.6 1358.09 1535.43 C 1363.4 1540.62 1365.34 1553.82 1367.09 1561.54 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1195.03 1534.04 C 1201.54 1533.84 1213.94 1532.6 1218.82 1536.3 C 1226.89 1542.4 1225.58 1548.84 1218.77 1554.93 C 1213.93 1559.26 1222.27 1565.04 1223.41 1570.35 C 1221.3 1572.54 1220.77 1571.76 1216.63 1571.94 C 1213.96 1567.44 1210.19 1559.57 1205.52 1557.92 C 1201.91 1561.77 1204.88 1566.96 1200.03 1571.95 L 1196.67 1571.97 C 1194.09 1569.3 1195.03 1540.22 1195.03 1534.04 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 1202.97 1540.98 C 1207.2 1540.77 1211.34 1540.16 1214.74 1542.59 C 1216.55 1546.7 1215.97 1545.49 1215.48 1550.54 C 1211.16 1551.82 1207.95 1553.14 1204.06 1551.03 C 1202.13 1547.81 1202.79 1544.86 1202.97 1540.98 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1450.02 1534.14 C 1458.84 1533.9 1469.25 1532.78 1476.21 1539.25 C 1482.79 1545.37 1475.93 1553.69 1470.85 1557.63 C 1473.12 1561.93 1479.22 1567.78 1476.74 1571.56 L 1471.33 1571.9 C 1468.38 1566.52 1465.35 1559.76 1459.89 1556.98 L 1458.29 1557.54 C 1456.44 1561.17 1457.25 1566.18 1456.89 1570.52 C 1454.52 1572.63 1455.95 1571.83 1451.59 1571.62 C 1447.54 1567.33 1449.97 1541.14 1450.02 1534.14 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 1457.07 1540.58 C 1461.55 1540.57 1465.79 1540.05 1469.32 1542.63 C 1471.18 1545.72 1470.7 1546.77 1470.26 1550.37 C 1469.47 1550.62 1468.68 1550.87 1467.88 1551.11 C 1463.85 1552.29 1461.89 1552.88 1458.43 1551.01 C 1456.42 1547.9 1456.99 1544.39 1457.07 1540.58 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1633.82 1533.97 L 1638.56 1534.07 C 1644.82 1536.82 1651.16 1550.23 1656.49 1556.94 L 1657.3 1557.94 C 1657.24 1550.22 1655.16 1539.85 1659.49 1534.5 C 1663.11 1534.2 1661.8 1533.58 1663.98 1535.4 C 1665.28 1541.99 1664.56 1563.85 1664.5 1572.07 L 1659.94 1571.88 C 1654.24 1569.12 1645.17 1553.18 1641.05 1546.93 C 1640.76 1554.52 1642.22 1563.41 1639.74 1570.12 C 1637 1572.28 1638.55 1571.77 1634.86 1571.45 C 1632.07 1565.46 1633.6 1541.74 1633.82 1533.97 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 616.777 1558.5 C 616.619 1549.17 615.839 1542.8 619.053 1534.05 L 620.546 1533.37 C 626.03 1539.33 624.534 1563.87 623.476 1572.44 C 623.067 1572.41 619.969 1572.24 619.522 1572.07 C 613.317 1569.73 603.661 1551.55 600.41 1546.21 C 600.111 1553.71 602.283 1566.78 598.134 1571.69 C 594.962 1572.18 596.399 1572.48 593.685 1570.73 C 592.306 1562.65 593.078 1543.28 593.149 1533.97 C 593.984 1533.96 597.647 1533.99 598.079 1534.2 C 603.598 1536.83 613.015 1553.16 616.777 1558.5 z"/>
+<path transform="translate(0,0)" fill="url(#Gradient1)" d="M 770.092 1558.78 C 770.028 1552.25 768.279 1538.65 772.874 1534.31 L 776.019 1534.42 C 779.043 1538.93 777.53 1565.02 777.408 1572.49 C 776.652 1572.46 773.315 1572.26 772.912 1572.07 C 767.104 1569.37 757.54 1552.04 754.084 1546.68 C 754.105 1552.72 755.678 1568.14 751.254 1571.8 L 748.087 1571.42 C 745.552 1566.27 746.862 1540.92 747.008 1533.85 C 747.873 1533.84 751.039 1533.85 751.6 1534.04 C 757.2 1535.94 766.849 1553.63 770.092 1558.78 z"/>
+<path transform="translate(0,0)" fill="rgb(47,48,51)" d="M 683.889 769.546 C 700.993 768.842 722.491 769.394 739.895 769.462 C 758.503 769.535 792.856 768.305 810.571 770.899 L 811.104 772.567 L 809.671 773.004 C 775.959 776.654 742.332 774.638 708.41 775.181 C 704.001 775.251 682.502 775.588 679.619 773.975 L 679.443 772.324 C 681.597 769.303 680.177 770.221 683.889 769.546 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1063.14 1534.07 C 1066.68 1533.99 1068.18 1533.79 1071.69 1534.63 C 1075 1541.41 1086.47 1565.89 1082.05 1571.81 C 1078.83 1571.99 1080.14 1572.52 1077.8 1570.88 C 1076.79 1568.03 1076.4 1565.71 1073.97 1563.78 C 1069.61 1563.67 1062.71 1562.91 1059.4 1565.31 C 1058.64 1567.69 1058.22 1568.91 1057.22 1571.19 C 1054.02 1572.55 1053.79 1572.22 1050.4 1571.68 C 1050.24 1569.75 1050.04 1570.18 1050.57 1568.7 L 1063.14 1534.07 z"/>
+<path transform="translate(0,0)" fill="rgb(13,17,21)" d="M 1067.28 1542.69 C 1069.86 1545.39 1071.62 1552.44 1071.7 1556.32 L 1069.61 1558.31 C 1067.79 1557.88 1066.26 1557.41 1064.47 1556.85 C 1062.54 1551.88 1065.14 1548.08 1067.28 1542.69 z"/>
+<path transform="translate(0,0)" fill="rgb(47,48,51)" d="M 1262.95 769.419 C 1286.17 768.587 1310.69 770.197 1334.09 769.441 C 1344.57 769.103 1358.15 769.121 1368.41 770.211 L 1369.61 772.23 C 1364.26 776.087 1359.84 775.295 1353.3 775.148 C 1338.95 774.996 1251.54 776.456 1244.38 773.492 C 1248.98 769.403 1256.95 769.609 1262.95 769.419 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 357.857 1548.96 C 357.732 1544.18 357.14 1539.21 358.732 1534.85 C 361.515 1533.7 360.37 1534.05 363.755 1534.51 L 364.825 1536.13 C 365.512 1542.95 365.71 1566.5 364.148 1572.6 C 361.674 1572.2 361.564 1572.14 359.239 1571.17 C 356.998 1566.95 357.829 1560.93 357.94 1555.85 L 341.936 1555.86 C 342.044 1560.31 342.867 1568.54 340.473 1571.8 C 336.185 1571.92 337.876 1572.56 334.73 1570.85 C 333.575 1563.42 334.221 1542.81 334.215 1533.79 C 337.143 1533.85 337.798 1533.64 340.487 1534.83 C 342.907 1538.15 341.91 1544.47 341.775 1549.02 L 357.857 1548.96 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1732.06 1533.68 C 1735.2 1533.84 1735.28 1533.74 1738.21 1534.74 C 1740.96 1538.48 1739.85 1543.95 1739.66 1549 L 1755.83 1549.01 C 1755.67 1544.22 1755.13 1539.69 1756.46 1535.16 C 1758.91 1533.46 1757.58 1534.14 1761.63 1534.51 C 1764.15 1538.62 1763.26 1567.23 1762.18 1572.68 C 1759.87 1572.29 1759.42 1572.15 1757.2 1571.37 C 1754.59 1567.17 1755.53 1561.02 1755.7 1555.85 L 1739.56 1555.79 C 1739.67 1560.23 1740.46 1568.47 1737.95 1571.7 C 1733.8 1571.87 1735.28 1572.6 1732.63 1570.7 C 1731.53 1563.59 1732.11 1542.5 1732.06 1533.68 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1013.08 1534.25 C 1023.96 1532.7 1025.84 1533.02 1033.67 1540.44 L 1033.46 1542.54 C 1021.93 1543.21 1007.52 1535.25 1009.4 1556 C 1010.27 1565.63 1022.52 1568.06 1027.99 1562.73 C 1027.63 1559.19 1028.11 1560.92 1025.77 1557.58 C 1023.07 1557 1022.41 1556.69 1019.83 1555.63 L 1021.75 1552.84 C 1025.53 1551.32 1030.3 1551.86 1034.5 1551.94 C 1034.62 1557.07 1034.33 1562.51 1034.16 1567.66 C 1005.48 1583.48 988.456 1550.34 1013.08 1534.25 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 845.201 1534.17 C 851.188 1534.03 865.168 1533.22 870.47 1535.09 L 870.836 1538.14 C 866.95 1545.35 860.84 1536.68 853.369 1542.64 C 852.408 1545.83 852.311 1545.61 853.102 1548.81 C 857.786 1550.74 862.741 1548.1 867.894 1550.03 C 868.344 1553.29 868.607 1551.79 867.112 1554.69 C 863.711 1556.37 856.609 1555.81 852.408 1556.11 C 852.564 1558.83 852.869 1561.3 853.19 1564 C 858.033 1567.16 865.69 1563.27 870.679 1566 C 871.657 1568.99 871.682 1567.49 870.19 1570.62 C 866.791 1573 850.377 1571.93 845.108 1571.86 C 845.061 1559.29 845.092 1546.73 845.201 1534.17 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 387.557 1534.09 C 394.74 1534.09 402.39 1534 409.593 1534.15 C 412.522 1534.2 413.262 1535.82 414.522 1537.65 C 410.276 1540.95 400.382 1539.97 394.943 1543.92 C 394.396 1546.98 394.218 1545.53 395.632 1548.4 C 399.842 1550.49 402.93 1548.18 408.951 1549.3 C 411.343 1551.88 410.535 1550.32 410.714 1554.47 C 408.674 1556.32 398.384 1555.69 394.678 1555.73 C 394.39 1574.52 404.546 1560.03 412.974 1565.98 C 414.079 1568.69 414.157 1567.37 413.104 1570.03 C 408.417 1573.17 394.357 1571.97 387.506 1571.97 C 387.32 1559.55 387.538 1546.55 387.557 1534.09 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1590.04 1534.13 C 1595.41 1534.03 1610.63 1533.1 1615.03 1535.07 C 1615.57 1537.75 1615.4 1537.64 1614.54 1540.3 C 1610.34 1541.9 1604.75 1540.24 1598.61 1541.25 C 1597.15 1544.31 1597.49 1544.66 1597.87 1548.01 C 1600.81 1550.67 1606.51 1547.44 1612.44 1550.09 C 1613.21 1553.02 1613.07 1551.55 1612.31 1554.57 C 1606.48 1557.82 1601.35 1552.99 1597.16 1558.02 C 1597.29 1560.86 1597.47 1561.58 1598.08 1564.38 C 1601.38 1566.07 1608.67 1565 1613.21 1564.96 C 1616.12 1566.63 1615.25 1565.46 1616.28 1568.28 L 1614.79 1570.57 C 1610.51 1572.95 1595.89 1571.96 1590.07 1571.9 L 1590.04 1534.13 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1504.22 1550.61 C 1508.39 1545.29 1516.01 1534.31 1523.31 1533.98 C 1523.58 1539.72 1516.58 1546.22 1512.62 1550.81 L 1522.63 1564.89 C 1525.34 1568.69 1525.62 1567.78 1525.51 1571.49 L 1523.6 1573.04 C 1515.83 1571.6 1514.68 1562.58 1508.02 1557.08 C 1500.47 1559.72 1506.96 1566.11 1502.05 1571.73 C 1499.38 1572.04 1499.28 1572.35 1497.04 1571.06 C 1496.14 1564.37 1496.58 1541.68 1496.57 1533.87 C 1499.25 1533.92 1500.42 1533.63 1502.67 1534.98 C 1504.9 1539.08 1504.16 1545.44 1504.22 1550.61 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 528.028 1533.26 C 534.552 1533.84 537.75 1534.69 541.807 1539.94 C 538.808 1544.46 530.004 1539.3 524.113 1541.78 C 522.917 1544.39 523.004 1543.07 523.94 1545.86 C 529.354 1550.62 532.724 1549.7 539.036 1552.72 C 541.121 1553.87 542.767 1556.31 542.867 1558.69 C 543.354 1570.24 536.212 1571.53 527.128 1572.47 C 522.908 1571.84 515.945 1569.95 514.346 1565.62 C 517 1562.24 515.381 1563.05 518.923 1562.34 C 523.255 1564.33 531.312 1567.9 534.834 1562.78 C 531.506 1555.62 518.815 1554.9 514.066 1543.93 C 514.48 1536.7 521.604 1534.42 528.028 1533.26 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 899.298 1533.17 C 904.504 1533.65 912.459 1534.6 913.669 1540.76 C 908.731 1543.95 901.409 1538.1 895.704 1542.73 C 895.616 1548.98 914.346 1551.17 915.364 1559.43 C 916.415 1567.95 909.697 1570.89 903.167 1572.56 C 894.612 1571.95 892.507 1571.79 886.393 1565.7 L 886.718 1564.35 C 894.324 1562.34 901.582 1566.43 906.606 1563.66 C 907.586 1557.59 866.439 1542.36 899.298 1533.17 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1272.62 1534.15 C 1278.39 1533.46 1287.31 1533.05 1290.89 1538.51 L 1290.27 1540.43 C 1284.54 1542.97 1275.12 1539.13 1272.29 1543.4 C 1276.85 1551.13 1288.56 1549.54 1293.7 1560.38 C 1293.8 1566.98 1287.3 1570.43 1281.61 1572.37 C 1276.21 1572.24 1267.88 1571.49 1264.25 1567.11 C 1264.52 1564.04 1264.02 1565.45 1266.1 1562.86 C 1272.67 1560.84 1277.02 1570.02 1284.61 1563.01 L 1284.61 1561 C 1279.16 1554.46 1265.51 1554 1264.25 1544.29 C 1265.59 1538.67 1267.73 1537.26 1272.62 1534.15 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 811.23 1562.39 C 814.14 1555.51 818.009 1534.78 824.587 1533.49 C 827.14 1534.72 826.142 1533.83 827.611 1536.35 L 826.432 1540.25 C 823.943 1548.01 818.383 1572.54 809.401 1571.9 C 803.982 1567.43 796.604 1542.81 793.345 1534.05 C 796.253 1533.95 797.057 1534.01 799.956 1534.36 C 804.758 1538.38 808.858 1555.3 811.23 1562.39 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1693.94 1534.21 C 1701.19 1533.22 1713.29 1533.06 1713.92 1543.14 L 1712.56 1544.44 C 1704.24 1545.4 1690.2 1531.58 1689.99 1553.23 C 1689.88 1563.86 1695.46 1565.95 1704.89 1564.96 C 1708.55 1561.86 1707.38 1561.86 1711.22 1561.69 L 1712.78 1563.34 C 1711.25 1575.58 1691.22 1573.94 1686.16 1566.18 C 1678.22 1554 1682.36 1541.36 1693.94 1534.21 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 928.996 1534.17 C 936.47 1533.95 955.036 1532.37 960.043 1537.06 L 959.611 1538.78 C 953.79 1543.16 956.075 1539.26 948.568 1541.47 C 947.485 1544.89 947.716 1555.52 947.681 1559.75 C 947.753 1564.62 949.222 1570.92 943.983 1572.44 C 943.003 1572.08 942.023 1571.72 941.043 1571.36 C 938.862 1565.83 941.674 1544.57 938.826 1541.21 C 935.419 1541.21 934.461 1541.17 931.112 1540.68 C 928.464 1538.34 929.324 1539.02 928.996 1534.17 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 285.035 1534.09 C 292.686 1534.09 310.491 1531.48 315.377 1537.3 L 315.133 1539.66 C 312.227 1541.7 308.417 1541.14 304.695 1541.1 L 304.261 1560.83 C 304.337 1564.58 304.815 1568.14 303.203 1571.45 C 300.488 1572.33 301.83 1572.35 299.055 1571.17 C 295.168 1565 296.73 1549.28 296.735 1541 C 292.899 1541.12 290.743 1541.33 286.993 1540.69 C 284.592 1538.21 285.382 1538.57 285.035 1534.09 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1022.05 1453.58 C 1028.38 1452.3 1034.55 1456.38 1035.85 1462.7 C 1037.16 1469.02 1033.11 1475.21 1026.79 1476.54 C 1020.44 1477.88 1014.2 1473.8 1012.89 1467.44 C 1011.57 1461.08 1015.68 1454.86 1022.05 1453.58 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1096.04 1534.1 C 1103.75 1534 1121.63 1531.58 1126.49 1537.29 L 1126.24 1539.72 C 1123.17 1541.62 1119.17 1541.04 1115.4 1540.98 L 1115.2 1559.97 C 1115.37 1564.28 1115.94 1567.54 1114.28 1571.46 C 1111.92 1572.5 1113.18 1572.31 1110.36 1571.38 C 1106.17 1565.63 1107.83 1549.09 1107.86 1541 C 1104.21 1541.12 1102.19 1541.31 1098.53 1540.72 C 1095.99 1538.22 1096.77 1538.48 1096.04 1534.1 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 642.037 1534.12 C 650.688 1534.18 664.088 1532.22 671.156 1535.72 C 672.651 1538.42 672.489 1537.03 671.638 1540.01 C 668.623 1541.56 664.584 1541.05 661.039 1540.98 L 660.81 1560.76 C 660.948 1565.53 662.147 1569.54 658.307 1572.36 C 651.116 1572 653.381 1547.66 653.395 1541.05 C 650.026 1541.06 647.904 1541.09 644.506 1540.68 C 641.995 1538.24 642.765 1538.44 642.037 1534.12 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 563.231 1533.9 C 566.281 1533.94 567.803 1533.65 570.42 1535.21 C 571.639 1541.53 570.876 1564.21 570.772 1572.14 L 564.894 1571.54 C 562.507 1568.86 563.245 1539.69 563.231 1533.9 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 975.665 1533.93 C 978.57 1533.96 979.777 1533.75 982.442 1534.98 C 983.531 1542.86 983.143 1563.05 983.165 1571.98 C 979.806 1572.01 979.584 1572.05 976.332 1571.34 C 975.277 1567.02 975.661 1540.21 975.665 1533.93 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 719.062 1533.75 C 720.995 1533.98 723.043 1534.32 724.98 1534.61 C 727.3 1538.39 726.382 1566.43 726.352 1572.54 C 723.617 1572.27 721.619 1572.41 719.436 1570.83 C 718.421 1562.71 718.996 1542.7 719.062 1533.75 z"/>
+<path transform="translate(0,0)" fill="rgb(83,103,125)" d="M 1240.32 1533.84 C 1245.3 1533.79 1246.35 1533.12 1248.38 1537.76 C 1247.83 1542.56 1246.66 1544.01 1244.33 1548.41 C 1241.89 1548.75 1243.01 1548.96 1240.94 1547.92 C 1241.42 1542.12 1241.32 1540.78 1240.53 1535.25 L 1240.32 1533.84 z"/>
+</svg>
diff --git a/frontend/src/components/CaseSidebar.svelte b/frontend/src/components/CaseSidebar.svelte
index eac9d82..a19eafa 100644
--- a/frontend/src/components/CaseSidebar.svelte
+++ b/frontend/src/components/CaseSidebar.svelte
@@ -1,7 +1,7 @@
<script>
import { api } from '../lib/api.js';
import { caseState, uiState, reloadCase, toast } from '../lib/state.svelte.js';
- import { TOOL_GROUPS, groupKey } from '../lib/savedGrouping.js';
+ import { buildTree, subtreeCount, flattenPaths, folderOf } from '../lib/folderTree.js';
import Icon from './Icon.svelte';
import Modal from './Modal.svelte';
import ConfirmDialog from './ConfirmDialog.svelte';
@@ -50,7 +50,7 @@
let caseNotesLoadedFor = $state(null);
let saveTimer;
let saved = $state(true);
- let section = $state({ notes: false, saved: true, mywork: true });
+ let section = $state({ notes: false, suggestions: true, mywork: true });
$effect(() => {
const id = caseState.current?.id;
@@ -83,8 +83,6 @@
const suggested = $derived(entities.filter((e) => e.provenance?.status === 'suggested'));
const confirmed = $derived(entities.filter((e) => e.provenance?.status !== 'suggested'));
- const folderOf = (e) => e.attrs?.folder || null;
-
async function confirmEntity(entity) {
await api.patch(`/api/cases/${caseState.current.id}/entities/${entity.id}`, {
status: 'confirmed',
@@ -173,26 +171,6 @@
uiState.tool = 'satellite';
}
- // ── Saved work: every artifact, grouped by the tool that produced it ──────
- // The grouping is derived from provenance.by — the honest record of origin —
- // so it fills itself as you work and needs no manual upkeep. See
- // lib/savedGrouping.js for the actual bucketing rule (media/captures always
- // go under Media Library, regardless of which tool filed them).
- const savedGroups = $derived.by(() => {
- const buckets = new Map(TOOL_GROUPS.map(([k]) => [k, []]));
- for (const e of confirmed) buckets.get(groupKey(e)).push(e);
- return TOOL_GROUPS.map(([key, label, icon]) => ({
- key,
- label,
- icon,
- items: buckets.get(key),
- })).filter((g) => g.items.length > 0);
- });
-
- let groupOpen = $state({}); // group key -> bool (absent = collapsed)
- const isGroupOpen = (k) => groupOpen[k] === true;
- const toggleGroup = (k) => (groupOpen[k] = !isGroupOpen(k));
-
// ── My work: the analyst's own nested folder tree ('/'-separated paths) ────
let newFolder = $state(''); // top-level create input
let addingUnder = $state(undefined); // folder path currently gaining a child
@@ -202,44 +180,33 @@
let dragOverFolder = $state(undefined); // folder path being hovered
const caseFolders = $derived(caseState.current?.folders ?? []);
- const filedCount = $derived(confirmed.filter((e) => folderOf(e)).length);
-
- // Build a nested tree from flat '/'-separated folder paths + filed entities.
- // Entities with no folder live only in Saved work, so they are ignored here.
- function buildTree(folders, items) {
- const root = { name: '', path: '', children: new Map(), entities: [] };
- const ensure = (path) => {
- let node = root, acc = '';
- for (const seg of path.split('/')) {
- acc = acc ? `${acc}/${seg}` : seg;
- if (!node.children.has(seg))
- node.children.set(seg, { name: seg, path: acc, children: new Map(), entities: [] });
- node = node.children.get(seg);
- }
- return node;
- };
- for (const f of folders) if (f) ensure(f);
- for (const e of items) {
- const f = folderOf(e);
- if (f) ensure(f).entities.push(e);
- }
- const sortNodes = (map) =>
- [...map.values()]
- .sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()))
- .map((n) => ({ ...n, children: sortNodes(n.children) }));
- return sortNodes(root.children);
- }
const tree = $derived(buildTree(caseFolders, confirmed));
- const allFolders = $derived(
- (function flatten(nodes) {
- return nodes.flatMap((n) => [n.path, ...flatten(n.children)]);
- })(tree)
+ const allFolders = $derived(flattenPaths(tree));
+ // everything not yet filed — the inbox you file (or inspect) items from
+ const unfiled = $derived(confirmed.filter((e) => !folderOf(e)));
+ let unfiledOpen = $state(false);
+ let unfiledTypeFilter = $state(null);
+ const TYPE_LABEL = {
+ media: 'Media', capture: 'Satellite', note: 'Notes', proof: 'Proofs',
+ post: 'Posts', place: 'Places', 'inspect-session': 'Inspect',
+ };
+ // chip counts, in a stable order (declaration order of TYPE_LABEL, then anything unmapped)
+ const unfiledTypes = $derived.by(() => {
+ const counts = new Map();
+ for (const e of unfiled) counts.set(e.type, (counts.get(e.type) ?? 0) + 1);
+ return Object.keys(TYPE_LABEL)
+ .filter((t) => counts.has(t))
+ .concat([...counts.keys()].filter((t) => !(t in TYPE_LABEL)))
+ .map((t) => ({ type: t, label: TYPE_LABEL[t] ?? t, count: counts.get(t) }));
+ });
+ const unfiledFiltered = $derived(
+ unfiledTypeFilter ? unfiled.filter((e) => e.type === unfiledTypeFilter) : unfiled
);
-
- function subtreeCount(node) {
- return node.entities.length + node.children.reduce((s, c) => s + subtreeCount(c), 0);
- }
+ $effect(() => {
+ // drop a stale filter when its type disappears from Unfiled (e.g. filed away)
+ if (unfiledTypeFilter && !unfiled.some((e) => e.type === unfiledTypeFilter)) unfiledTypeFilter = null;
+ });
const isExpanded = (path) => expanded[path] === true;
function toggle(path) { expanded[path] = !isExpanded(path); }
@@ -323,11 +290,11 @@
}
// Delete everywhere: removes the entity and its underlying file(s). Used from
- // Saved work (and the note modal) — irreversible, danger tone.
+ // the details panel (and the note modal) — irreversible, danger tone.
function askDeleteEverywhere(entity, onDone) {
confirmState = {
title: 'Delete everywhere?',
- message: `“${entity.label}” will be removed from Saved work and My work.`,
+ message: `“${entity.label}” will be removed from the case and its tool.`,
detail: FILE_BACKED.has(entity.type)
? 'This permanently deletes the underlying file(s) on disk — it cannot be undone.'
: 'This permanently removes it from the case — it cannot be undone.',
@@ -343,12 +310,12 @@
};
}
- // Remove from My work: just clears the filing. The item stays in Saved work.
+ // Remove from My work: just clears the filing. The item stays in its tool.
function askRemoveFromMyWork(entity) {
confirmState = {
title: 'Remove from My work?',
- message: `“${entity.label}” goes back to Saved work — nothing is deleted.`,
- detail: 'It stays available under its tool in Saved work. Only your filing here is cleared.',
+ message: `“${entity.label}” is unfiled. Nothing is deleted.`,
+ detail: 'It stays available in the case and its tool. Only your filing here is cleared.',
confirmLabel: 'Remove from My work',
tone: 'default',
icon: 'folderMinus',
@@ -368,7 +335,7 @@
message: subs
? `“${path}” and its ${subs} subfolder(s) will be removed from My work.`
: `“${path}” will be removed from My work.`,
- detail: 'Items inside go back to Saved work — no files are deleted.',
+ detail: 'Items inside are unfiled. No files are deleted.',
confirmLabel: 'Remove folder',
tone: 'default',
icon: 'folderMinus',
@@ -382,15 +349,20 @@
};
}
- // ── entity info / edit modal ──────────────────────────────────────────────
+ // ── details panel (selection info + editor, docs/UI.md §4) ────────────────
let infoEntity = $state(null);
let infoData = $state(null); // resolved media/satellite listing item (or null)
let infoLoading = $state(false);
// editable fields (title + notes), like the dedicated tool's editor
let infoTitle = $state('');
let infoNotes = $state('');
+ let infoFolder = $state('');
let infoSaving = $state(false);
- // which types can be edited straight from the sidebar
+ let detailsEl = $state(null);
+ const detailsFilePath = $derived(
+ infoData?.path ?? (infoEntity?.type === 'capture' ? infoEntity.attrs?.path : null)
+ );
+ // which types get title/notes editors straight from the sidebar
const EDITABLE = new Set(['capture', 'place', 'media']);
async function openInfo(entity) {
@@ -398,6 +370,8 @@
infoData = null;
infoTitle = entity.label ?? '';
infoNotes = entity.attrs?.notes ?? '';
+ infoFolder = folderOf(entity) ?? '';
+ requestAnimationFrame(() => detailsEl?.scrollIntoView({ behavior: 'smooth', block: 'start' }));
const endpoint =
entity.type === 'media' ? 'media' : entity.type === 'capture' ? 'satellite' : null;
if (endpoint && entity.attrs?.path) {
@@ -438,15 +412,20 @@
title: infoTitle.trim(),
notes: infoNotes,
});
- } else {
+ } else if (EDITABLE.has(infoEntity.type)) {
// place (or any bare entity): retitle + note on the entity itself
await api.patch(`/api/cases/${cid}/entities/${infoEntity.id}`, {
label: infoTitle.trim() || infoEntity.label,
attrs: { notes: infoNotes.trim() },
});
}
- infoEntity = null;
+ // filing is part of the same Save: My work folder from the picker
+ if ((infoFolder.trim() || '') !== (folderOf(infoEntity) ?? '')) {
+ await assignFolder(infoEntity, infoFolder.trim());
+ }
await reloadCase();
+ // the panel stays open on the fresh entity (reload replaced the objects)
+ infoEntity = (caseState.current?.entities ?? []).find((x) => x.id === infoEntity.id) ?? null;
toast('Saved', 'ok', 1600);
} catch (e) {
toast(e.message, 'danger');
@@ -515,10 +494,7 @@
<div class="empty">
<div class="empty-icon"><Icon name="folder" size={34} /></div>
<h3>No case open</h3>
- <p>
- Use any tool right away — a scratch session is created when needed. Open or create a case
- to keep an investigation together.
- </p>
+ <p>Tools work without one. Create a case to keep the investigation together.</p>
</div>
{:else}
<div class="case-head">
@@ -543,22 +519,14 @@
></textarea>
{/if}
- <!-- 2 · Saved work (auto — grouped by the tool that produced each item) -->
- <div class="section-head-row">
- <button class="section-head" onclick={() => (section.saved = !section.saved)}>
- <Icon name={section.saved ? 'chevronDown' : 'chevronRight'} size={13} />
- <span>Saved work</span>
- <span class="count">{confirmed.length}</span>
- </button>
- <button class="btn btn-ghost btn-sm new-note-btn" title="New note" onclick={openNewNote}>
- <Icon name="plus" size={13} /><Icon name="note" size={13} />
+ <!-- 2 · Suggestions (tool-suggested entities: confirm or dismiss) -->
+ {#if suggested.length > 0}
+ <button class="section-head" onclick={() => (section.suggestions = !section.suggestions)}>
+ <Icon name={section.suggestions ? 'chevronDown' : 'chevronRight'} size={13} />
+ <span>Suggestions</span>
+ <span class="count">{suggested.length}</span>
</button>
- </div>
-
- {#if section.saved}
- <!-- suggested entities (pinned — confirm or dismiss) -->
- {#if suggested.length > 0}
- <div class="suggest-note">Suggested — confirm or dismiss:</div>
+ {#if section.suggestions}
{#each suggested as e (e.id)}
<div class="entity suggested">
<Icon name={entityIcon(e)} size={14} />
@@ -575,34 +543,19 @@
</div>
{/each}
{/if}
-
- <div class="tree">
- {#each savedGroups as g (g.key)}
- <button class="grow" onclick={() => toggleGroup(g.key)}>
- <Icon name={isGroupOpen(g.key) ? 'chevronDown' : 'chevronRight'} size={12} />
- <Icon name={g.icon} size={13} />
- <span class="fname">{g.label}</span>
- <span class="fcount">{g.items.length}</span>
- </button>
- {#if isGroupOpen(g.key)}
- {#each g.items as e (e.id)}
- {@render entityRow(e, 1, 'saved')}
- {/each}
- {/if}
- {/each}
-
- {#if savedGroups.length === 0 && suggested.length === 0}
- <div class="none">Tools file what you save here as you work.</div>
- {/if}
- </div>
{/if}
- <!-- 3 · My work (manual — your own folders, filled by drag & drop) -->
- <button class="section-head" onclick={() => (section.mywork = !section.mywork)}>
- <Icon name={section.mywork ? 'chevronDown' : 'chevronRight'} size={13} />
- <span>My work</span>
- <span class="count">{filedCount}</span>
- </button>
+ <!-- 3 · My work (your own folders; file items from their details panel) -->
+ <div class="section-head-row">
+ <button class="section-head" onclick={() => (section.mywork = !section.mywork)}>
+ <Icon name={section.mywork ? 'chevronDown' : 'chevronRight'} size={13} />
+ <span>My work</span>
+ <span class="count">{confirmed.length}</span>
+ </button>
+ <button class="btn btn-ghost btn-sm new-note-btn" title="New note" onclick={openNewNote}>
+ <Icon name="plus" size={13} /><Icon name="note" size={13} />
+ </button>
+ </div>
{#if section.mywork}
<!-- create a top-level folder -->
@@ -618,15 +571,199 @@
{@render folderNode(node, 0)}
{/each}
- {#if tree.length === 0}
+ {#if unfiled.length > 0}
+ <div
+ class="frow"
+ role="button"
+ tabindex="0"
+ onclick={() => (unfiledOpen = !unfiledOpen)}
+ onkeydown={(e) => e.key === 'Enter' && (unfiledOpen = !unfiledOpen)}
+ >
+ <Icon name={unfiledOpen ? 'chevronDown' : 'chevronRight'} size={12} />
+ <Icon name="layers" size={13} />
+ <span class="fname">Unfiled</span>
+ <span class="fcount">{unfiled.length}</span>
+ </div>
+ {#if unfiledOpen}
+ {#if unfiledTypes.length > 1}
+ <div class="chip-row">
+ {#each unfiledTypes as t (t.type)}
+ <button
+ class="chip"
+ class:active={unfiledTypeFilter === t.type}
+ onclick={() => (unfiledTypeFilter = unfiledTypeFilter === t.type ? null : t.type)}
+ >
+ {t.label}<span class="chip-count">{t.count}</span>
+ </button>
+ {/each}
+ </div>
+ {/if}
+ {#each unfiledFiltered as e (e.id)}
+ {@render entityRow(e, 1)}
+ {/each}
+ {/if}
+ {/if}
+
+ {#if tree.length === 0 && unfiled.length === 0}
<div class="none">
- Create a folder, then drag items from Saved work here to organize your investigation.
+ Everything you save lands here; create folders to organize it.
</div>
{/if}
</div>
- {#if tree.length > 0}
- <div class="hint">Drag an item from Saved work onto a folder to file it here.</div>
- {/if}
+ {/if}
+
+
+ <!-- 4 · Details (selection info + editor — docs/UI.md §4) -->
+ {#if infoEntity}
+ <div bind:this={detailsEl}>
+ <div class="section-head-row">
+ <div class="section-head static">
+ <Icon name="note" size={13} />
+ <span>Details</span>
+ </div>
+ <button class="btn btn-ghost btn-sm" title="Close details" onclick={() => (infoEntity = null)}>
+ <Icon name="x" size={13} />
+ </button>
+ </div>
+ <div class="details">
+ {#if infoLoading}
+ <div class="info-loading">Loading…</div>
+ {/if}
+
+ {#if infoData?.kind === 'image' && infoData.thumbnail}
+ <div class="info-preview">
+ <img src={`/files/${caseState.current.id}/${infoData.path}`} alt={infoEntity.label} />
+ </div>
+ {:else if infoData?.kind === 'video'}
+ <div class="info-preview">
+ <!-- svelte-ignore a11y_media_has_caption -->
+ <video src={`/files/${caseState.current.id}/${infoData.path}`} controls preload="metadata"></video>
+ </div>
+ {:else if infoEntity.type === 'capture' && infoEntity.attrs?.path}
+ <div class="info-preview">
+ <img src={`/files/${caseState.current.id}/${infoEntity.attrs.path}`} alt={infoEntity.label} />
+ </div>
+ {/if}
+
+ {#if EDITABLE.has(infoEntity.type)}
+ <label class="modal-label" for="info-title">Title</label>
+ <input
+ id="info-title"
+ class="input"
+ bind:value={infoTitle}
+ placeholder={infoEntity.attrs?.coords ?? 'Title'}
+ />
+ {:else}
+ <div class="details-title">{infoEntity.label}</div>
+ {/if}
+
+ <div class="info-rows">
+ <div class="info-row"><span class="info-k">Type</span><span>{infoEntity.type}</span></div>
+ {#if infoEntity.provenance?.by}
+ <div class="info-row"><span class="info-k">Created by</span><span>{infoEntity.provenance.by}</span></div>
+ {/if}
+ {#if infoEntity.provenance?.at}
+ <div class="info-row"><span class="info-k">Created</span><span class="mono">{infoEntity.provenance.at.slice(0, 10)}</span></div>
+ {/if}
+ {#if infoEntity.type === 'media' && infoData}
+ <div class="info-row"><span class="info-k">Kind</span><span>{infoData.kind}</span></div>
+ <div class="info-row"><span class="info-k">Size</span><span>{fmtSize(infoData.size)}</span></div>
+ {#if infoData.sha256}
+ <div class="info-row"><span class="info-k">SHA-256</span><span class="mono hash" title={infoData.sha256}>{infoData.sha256}</span></div>
+ {/if}
+ {#if infoData.source?.title}
+ <div class="info-row"><span class="info-k">Title</span><span>{infoData.source.title}</span></div>
+ {/if}
+ {#if infoData.source?.uploader}
+ <div class="info-row"><span class="info-k">Uploader</span><span>{infoData.source.uploader}</span></div>
+ {/if}
+ {#if infoData.source?.upload_date}
+ <div class="info-row"><span class="info-k">Published</span><span class="mono">{infoData.source.upload_date}</span></div>
+ {/if}
+ {#if infoData.source?.webpage_url ?? infoData.source?.url}
+ <div class="info-row">
+ <span class="info-k">Source</span>
+ <a class="mono src" href={infoData.source.webpage_url ?? infoData.source.url} target="_blank" rel="noreferrer">
+ {infoData.source.webpage_url ?? infoData.source.url}
+ </a>
+ </div>
+ {/if}
+ {:else if infoEntity.type === 'capture'}
+ {#if infoData?.provider_label}
+ <div class="info-row"><span class="info-k">Provider</span><span>{infoData.provider_label}</span></div>
+ {/if}
+ {#if infoEntity.attrs?.zoom != null}
+ <div class="info-row"><span class="info-k">Zoom</span><span>z{infoEntity.attrs.zoom}</span></div>
+ {/if}
+ {#if infoData?.fetched_at}
+ <div class="info-row"><span class="info-k">Captured</span><span class="mono">{infoData.fetched_at.slice(0, 10)}</span></div>
+ {/if}
+ {#if infoData?.imagery_date}
+ <div class="info-row"><span class="info-k">Imagery</span><span class="mono">{infoData.imagery_date}</span></div>
+ {/if}
+ {:else if infoEntity.attrs?.content}
+ <div class="info-note-body">{infoEntity.attrs.content}</div>
+ {/if}
+ {#if infoEntity.attrs?.coords}
+ <div class="info-row"><span class="info-k">Coords</span><span class="mono">{infoEntity.attrs.coords}</span></div>
+ {/if}
+ </div>
+
+ {#if EDITABLE.has(infoEntity.type)}
+ <label class="modal-label" for="info-notes">Notes</label>
+ <textarea
+ id="info-notes"
+ class="textarea"
+ rows="3"
+ bind:value={infoNotes}
+ placeholder="Add observations, links, context…"
+ ></textarea>
+ {/if}
+
+ <label class="modal-label" for="info-folder">Folder (My work)</label>
+ <input
+ id="info-folder"
+ class="input"
+ bind:value={infoFolder}
+ placeholder="none"
+ list="info-folder-suggestions"
+ />
+ <datalist id="info-folder-suggestions">
+ {#each allFolders as f (f)}<option value={f}></option>{/each}
+ </datalist>
+
+ <div class="details-actions">
+ {#if detailsFilePath}
+ <a class="btn btn-ghost btn-sm" href={`/files/${caseState.current.id}/${detailsFilePath}`} target="_blank" rel="noreferrer">
+ <Icon name="external" size={13} /> Open file
+ </a>
+ {/if}
+ {#if ENTITY_TOOL[infoEntity.type]}
+ <button class="btn btn-ghost btn-sm" onclick={() => openEntity(infoEntity)}>
+ <Icon name="arrowRight" size={13} /> Open in tool
+ </button>
+ {/if}
+ {#if infoEntity.type === 'capture' && infoEntity.attrs?.lat != null}
+ <button class="btn btn-ghost btn-sm" onclick={() => gotoCapture(infoEntity)}>
+ <Icon name="crosshair" size={13} /> Go to coords
+ </button>
+ {/if}
+ </div>
+ <div class="details-actions">
+ <button
+ class="btn btn-ghost btn-sm del"
+ title="Delete everywhere: removes the item and its file(s) from the case"
+ onclick={() => askDeleteEverywhere(infoEntity, () => (infoEntity = null))}
+ >
+ <Icon name="trash" size={13} /> Delete
+ </button>
+ <div style="flex:1"></div>
+ <button class="btn btn-primary btn-sm" onclick={saveInfo} disabled={infoSaving}>
+ {infoSaving ? 'Saving…' : 'Save'}
+ </button>
+ </div>
+ </div>
+ </div>
{/if}
</div>
@@ -695,13 +832,13 @@
{@render folderNode(child, depth + 1)}
{/each}
{#each node.entities as e (e.id)}
- {@render entityRow(e, depth + 1, 'mywork')}
+ {@render entityRow(e, depth + 1)}
{/each}
{/if}
{/snippet}
-<!-- one entity row. zone 'saved' → delete everywhere; 'mywork' → unfile only -->
-{#snippet entityRow(e, depth, zone)}
+<!-- one entity row (My work): activate, info, unfile -->
+{#snippet entityRow(e, depth)}
{@const isClickable = e.type === 'note' || e.type === 'capture' || !!ENTITY_TOOL[e.type]}
<div
class="entity"
@@ -750,22 +887,14 @@
>
<Icon name="note" size={13} />
</button>
- {#if zone === 'mywork'}
+ {#if folderOf(e)}
<button
class="btn btn-ghost btn-sm act del"
- title="Remove from My work"
+ title="Unfile from this folder"
onclick={(ev) => { ev.stopPropagation(); askRemoveFromMyWork(e); }}
>
<Icon name="folderMinus" size={13} />
</button>
- {:else}
- <button
- class="btn btn-ghost btn-sm act del"
- title="Delete everywhere"
- onclick={(ev) => { ev.stopPropagation(); askDeleteEverywhere(e); }}
- >
- <Icon name="trash" size={13} />
- </button>
{/if}
</div>
{/snippet}
@@ -825,131 +954,6 @@
</Modal>
{/if}
-<!-- Entity info modal (rich details, esp. media) -->
-{#if infoEntity}
- <Modal title={infoEntity.label} onclose={() => (infoEntity = null)} width="520px">
- {#if infoLoading}
- <div class="info-loading">Loading…</div>
- {/if}
-
- {#if infoData?.kind === 'image' && infoData.thumbnail}
- <div class="info-preview">
- <img src={`/files/${caseState.current.id}/${infoData.path}`} alt={infoEntity.label} />
- </div>
- {:else if infoData?.kind === 'video'}
- <div class="info-preview">
- <!-- svelte-ignore a11y_media_has_caption -->
- <video src={`/files/${caseState.current.id}/${infoData.path}`} controls preload="metadata"></video>
- </div>
- {:else if infoEntity.type === 'capture' && infoEntity.attrs?.path}
- <div class="info-preview">
- <img src={`/files/${caseState.current.id}/${infoEntity.attrs.path}`} alt={infoEntity.label} />
- </div>
- {/if}
-
- {#if EDITABLE.has(infoEntity.type)}
- <label class="modal-label" for="info-title">Title</label>
- <input
- id="info-title"
- class="input"
- bind:value={infoTitle}
- placeholder={infoEntity.attrs?.coords ?? 'Title'}
- />
- {/if}
-
- <div class="info-rows">
- <div class="info-row"><span class="info-k">Type</span><span>{infoEntity.type}</span></div>
- {#if folderOf(infoEntity)}
- <div class="info-row"><span class="info-k">Folder</span><span>{folderOf(infoEntity)}</span></div>
- {/if}
- {#if infoEntity.type === 'media' && infoData}
- <div class="info-row"><span class="info-k">Kind</span><span>{infoData.kind}</span></div>
- <div class="info-row"><span class="info-k">Size</span><span>{fmtSize(infoData.size)}</span></div>
- {#if infoData.added_at}
- <div class="info-row"><span class="info-k">Added</span><span>{infoData.added_at.slice(0, 10)}</span></div>
- {/if}
- {#if infoData.sha256}
- <div class="info-row"><span class="info-k">SHA-256</span><span class="mono hash" title={infoData.sha256}>{infoData.sha256}</span></div>
- {/if}
- {#if infoData.source?.title}
- <div class="info-row"><span class="info-k">Title</span><span>{infoData.source.title}</span></div>
- {/if}
- {#if infoData.source?.uploader}
- <div class="info-row"><span class="info-k">Uploader</span><span>{infoData.source.uploader}</span></div>
- {/if}
- {#if infoData.source?.upload_date}
- <div class="info-row"><span class="info-k">Published</span><span class="mono">{infoData.source.upload_date}</span></div>
- {/if}
- {#if infoData.source?.duration}
- <div class="info-row"><span class="info-k">Duration</span><span>{infoData.source.duration}s</span></div>
- {/if}
- {#if infoData.source?.webpage_url ?? infoData.source?.url}
- <div class="info-row">
- <span class="info-k">Source</span>
- <a class="mono src" href={infoData.source.webpage_url ?? infoData.source.url} target="_blank" rel="noreferrer">
- {infoData.source.webpage_url ?? infoData.source.url}
- </a>
- </div>
- {/if}
- {:else if infoEntity.type === 'capture'}
- {#if infoData?.provider_label}
- <div class="info-row"><span class="info-k">Provider</span><span>{infoData.provider_label}</span></div>
- {/if}
- {#if infoEntity.attrs?.zoom != null}
- <div class="info-row"><span class="info-k">Zoom</span><span>z{infoEntity.attrs.zoom}</span></div>
- {/if}
- {#if infoData?.fetched_at}
- <div class="info-row"><span class="info-k">Captured</span><span class="mono">{infoData.fetched_at.slice(0, 10)}</span></div>
- {/if}
- {#if infoData?.imagery_date}
- <div class="info-row"><span class="info-k">Imagery</span><span class="mono">{infoData.imagery_date}</span></div>
- {/if}
- {:else if infoEntity.attrs?.content}
- <div class="info-note-body">{infoEntity.attrs.content}</div>
- {/if}
- {#if infoEntity.attrs?.coords}
- <div class="info-row"><span class="info-k">Coords</span><span class="mono">{infoEntity.attrs.coords}</span></div>
- {/if}
- </div>
-
- {#if EDITABLE.has(infoEntity.type)}
- <label class="modal-label" for="info-notes" style="margin-top:10px">Notes</label>
- <textarea
- id="info-notes"
- class="textarea"
- rows="4"
- bind:value={infoNotes}
- placeholder="Add observations, links, context…"
- ></textarea>
- {/if}
-
- {@const filePath = infoData?.path ?? (infoEntity.type === 'capture' ? infoEntity.attrs?.path : null)}
- <div class="modal-row">
- {#if filePath}
- <a class="btn btn-ghost btn-sm" href={`/files/${caseState.current.id}/${filePath}`} target="_blank" rel="noreferrer">
- <Icon name="external" size={13} /> Open file
- </a>
- {/if}
- {#if ENTITY_TOOL[infoEntity.type]}
- <button class="btn btn-ghost btn-sm" onclick={() => { openEntity(infoEntity); infoEntity = null; }}>
- <Icon name="arrowRight" size={13} /> Open in tool
- </button>
- {/if}
- {#if infoEntity.type === 'capture' && infoEntity.attrs?.lat != null}
- <button class="btn btn-ghost btn-sm" onclick={() => { gotoCapture(infoEntity); infoEntity = null; }}>
- <Icon name="crosshair" size={13} /> Go to coords
- </button>
- {/if}
- <div style="flex:1"></div>
- <button class="btn" onclick={() => (infoEntity = null)}>Close</button>
- {#if EDITABLE.has(infoEntity.type)}
- <button class="btn btn-primary" onclick={saveInfo} disabled={infoSaving}>
- {infoSaving ? 'Saving…' : 'Save'}
- </button>
- {/if}
- </div>
- </Modal>
-{/if}
<!-- Confirmation dialog (delete everywhere / remove from My work / remove folder) -->
{#if confirmState}
@@ -1020,19 +1024,6 @@
width: calc(100% - 8px);
}
/* tool group header (Saved work) */
- .grow {
- display: flex;
- align-items: center;
- gap: 7px;
- width: 100%;
- padding: 6px 8px;
- border-radius: var(--r-sm);
- color: var(--text-2);
- font-size: var(--fs-sm);
- text-align: left;
- }
- .grow:hover { background: var(--bg-2); color: var(--text-1); }
- .grow > :global(svg:first-child) { color: var(--text-3); flex-shrink: 0; }
/* folder tree */
.new-folder { display: flex; gap: 6px; padding: 2px 8px 8px; }
.new-folder.sub { padding: 2px 8px 4px; }
@@ -1059,8 +1050,23 @@
.fact { opacity: 0; color: var(--text-3); display: flex; padding: 2px; border-radius: 4px; flex-shrink: 0; }
.fact:hover { color: var(--text-1); }
.fdel:hover { color: var(--danger, #e55); }
+ .chip-row { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 8px 6px 22px; }
+ .chip {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ padding: 2px 7px;
+ border-radius: var(--r-sm);
+ font-size: var(--fs-xs);
+ font-weight: 500;
+ background: var(--bg-2);
+ color: var(--text-2);
+ border: 1px solid transparent;
+ }
+ .chip:hover { color: var(--text-1); }
+ .chip.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
+ .chip-count { color: inherit; opacity: 0.65; font-weight: 600; }
.frow:hover .fact { opacity: 1; }
- .hint { font-size: var(--fs-xs); color: var(--text-3); padding: 2px 12px 8px; font-style: italic; }
/* entities */
.entity {
display: flex;
@@ -1097,10 +1103,28 @@
.act { opacity: 0; flex-shrink: 0; }
.entity:hover .act { opacity: 1; }
.del:hover { color: var(--danger, #e55); }
- .suggest-note { font-size: var(--fs-xs); color: var(--accent); padding: 2px 8px 6px; }
.none { font-size: var(--fs-xs); color: var(--text-3); padding: 4px 8px 12px; line-height: 1.45; }
/* note modal */
- .modal-label { display: block; font-size: var(--fs-xs); color: var(--text-3); margin-bottom: 5px; }
+ .modal-label { display: block; font-size: var(--fs-xs); color: var(--text-3); margin: 8px 0 4px; }
+ .section-head.static { cursor: default; }
+ .details {
+ padding: 4px 8px 10px;
+ border-bottom: 1px solid var(--border);
+ font-size: var(--fs-sm);
+ }
+ .details-title {
+ font-weight: 600;
+ margin-bottom: 6px;
+ overflow-wrap: anywhere;
+ }
+ .details-actions {
+ display: flex;
+ align-items: center;
+ gap: 4px;
+ flex-wrap: wrap;
+ margin-top: 8px;
+ }
+ .details-actions .del { color: var(--danger); }
.note-content { width: 100%; resize: vertical; font-family: var(--font-mono); font-size: var(--fs-xs); }
.modal-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
/* info modal */
diff --git a/frontend/src/components/CaseSwitcher.svelte b/frontend/src/components/CaseSwitcher.svelte
index aff7fbf..d0680a8 100644
--- a/frontend/src/components/CaseSwitcher.svelte
+++ b/frontend/src/components/CaseSwitcher.svelte
@@ -110,7 +110,7 @@
<span class="name">{caseState.current.name}</span>
{#if caseState.current.scratch}<span class="badge accent">scratch</span>{/if}
{:else}
- <span class="name none">No case — one-shot mode</span>
+ <span class="name none">No case (one-shot mode)</span>
{/if}
<Icon name="chevronDown" size={14} />
</button>
@@ -129,7 +129,7 @@
{#if open}
<button class="backdrop" onclick={() => (open = false)} aria-label="Close menu"></button>
- <div class="menu card fade-up">
+ <div class="menu card">
<button
class="item new"
onclick={() => {
@@ -178,7 +178,7 @@
{/each}
{/if}
{#if !named.length && !scratches.length}
- <div class="hint">No cases yet — tools work without one.</div>
+ <div class="hint">No cases yet. Tools work without one.</div>
{/if}
</div>
{/if}
@@ -332,10 +332,10 @@
background: var(--bg-2);
}
.row.active {
- background: var(--accent-soft);
+ background: var(--bg-3);
}
.row.active .item {
- color: var(--accent);
+ color: var(--text-1);
}
.row .item {
flex: 1;
@@ -375,8 +375,8 @@
background: var(--bg-2);
}
.item.active {
- background: var(--accent-soft);
- color: var(--accent);
+ background: var(--bg-3);
+ color: var(--text-1);
}
.warn {
display: flex;
diff --git a/frontend/src/components/ConfirmDialog.svelte b/frontend/src/components/ConfirmDialog.svelte
index b6f81d6..be35ba5 100644
--- a/frontend/src/components/ConfirmDialog.svelte
+++ b/frontend/src/components/ConfirmDialog.svelte
@@ -33,7 +33,7 @@
onclick={(e) => e.target === e.currentTarget && oncancel?.()}
role="presentation"
>
- <div class="dialog fade-up" class:danger={tone === 'danger'} role="alertdialog" aria-label={title}>
+ <div class="dialog" class:danger={tone === 'danger'} role="alertdialog" aria-label={title}>
<div class="head">
<span class="badge" class:danger={tone === 'danger'}>
<Icon name={icon} size={18} />
@@ -95,9 +95,9 @@
display: flex;
align-items: center;
justify-content: center;
- border-radius: 10px;
- background: var(--accent-soft);
- color: var(--accent);
+ border-radius: var(--r-md);
+ background: var(--bg-2);
+ color: var(--text-2);
}
.badge.danger {
background: color-mix(in srgb, var(--danger, #e5484d) 16%, transparent);
diff --git a/frontend/src/components/Icon.svelte b/frontend/src/components/Icon.svelte
index 420a55e..66c7e33 100644
--- a/frontend/src/components/Icon.svelte
+++ b/frontend/src/components/Icon.svelte
@@ -5,7 +5,7 @@
const paths = {
// navigation / tools
media: 'M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm0 11 4.5-4.5a1 1 0 0 1 1.4 0L14 15.5m-1.5-1.5 2.6-2.6a1 1 0 0 1 1.4 0L21 15M9 9.5h.01',
- satellite: 'M12 3a9 9 0 1 0 9 9M12 7a5 5 0 1 0 5 5m-5-1.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM17 3l4 4m0-4-4 4',
+ satellite: 'M9 4.2 3.6 6.4a1 1 0 0 0-.6.9v11.2a1 1 0 0 0 1.4.9L9 17.4l6 2.4 5.4-2.2a1 1 0 0 0 .6-.9V5.5a1 1 0 0 0-1.4-.9L15 6.6 9 4.2Zm0 0v13.2M15 6.6v13.2',
proof: 'M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm11.5 0v7m-3.5-3.5h7',
post: 'M20 4 9 15m11-11-6.5 17-2.7-7.5L3 10.5 20 4Z',
// ui
diff --git a/frontend/src/components/Logo.svelte b/frontend/src/components/Logo.svelte
index f9df5dd..3aca4fb 100644
--- a/frontend/src/components/Logo.svelte
+++ b/frontend/src/components/Logo.svelte
@@ -1,76 +1,41 @@
<script>
export let size = 32;
- export let variant = 'default'; // 'default' | 'mono' | 'inverted'
-
- // Instrument bezel: 60 radial ticks, emphasised at the cardinals (N/E/S/W).
- const R_IN = 34,
- R_OUT = 38,
- R_CARD_IN = 31,
- R_CARD_OUT = 41;
- const ticks = Array.from({ length: 60 }, (_, i) => {
- const a = (i / 60) * Math.PI * 2 - Math.PI / 2;
- const cardinal = i % 15 === 0;
- const r1 = cardinal ? R_CARD_IN : R_IN;
- const r2 = cardinal ? R_CARD_OUT : R_OUT;
- return {
- x1: 50 + Math.cos(a) * r1,
- y1: 50 + Math.sin(a) * r1,
- x2: 50 + Math.cos(a) * r2,
- y2: 50 + Math.sin(a) * r2,
- cardinal,
- };
- });
</script>
-<svg
- width={size}
- height={size}
- viewBox="0 0 100 100"
- aria-label="Azimut logo"
- class={variant}
->
- <!-- Outer ring (world / scope) -->
- <circle cx="50" cy="50" r="46" fill="none" stroke="currentColor" stroke-width="2.4" opacity="0.4" />
- <!-- Bezel ring (analysis / investigation) -->
- <circle cx="50" cy="50" r="30" fill="none" stroke="currentColor" stroke-width="1.2" opacity="0.5" />
-
- <!-- Graduation ticks -->
- {#each ticks as t}
- <line
- x1={t.x1}
- y1={t.y1}
- x2={t.x2}
- y2={t.y2}
- stroke="currentColor"
- stroke-width={t.cardinal ? 1.6 : 1}
- stroke-linecap="round"
- opacity={t.cardinal ? 0.85 : 0.5}
- />
- {/each}
-
- <!-- Compass rose (focus / truth) — slender north arm -->
- <path
- d="M50 7 L56 44 L84 50 L58 58 L50 84 L42 58 L16 50 L44 44 Z"
- fill="var(--text-1)"
- />
- <!-- North point (accent / azimuth) -->
- <path d="M50 7 L56 45 L50 48 L44 45 Z" fill="var(--accent)" />
-
- <!-- Center focus -->
- <circle cx="50" cy="50" r="8" fill="var(--accent)" />
- <circle cx="50" cy="50" r="4" fill="var(--bg-0)" />
+<!-- Compass rose extracted from the brand logo (frontend/src/assets/logo-source.svg,
+ background and lettering dropped). Coordinates kept verbatim from the source. -->
+<svg width={size} height={size} viewBox="672 420 706 700" aria-label="Azimut logo">
+ <defs>
+ <linearGradient id="az-rose-sw" gradientUnits="userSpaceOnUse" x1="980.33" y1="1089.47" x2="713.831" y2="804.709">
+ <stop offset="0" stop-color="rgb(56,70,84)" />
+ <stop offset="1" stop-color="rgb(78,97,115)" />
+ </linearGradient>
+ <linearGradient id="az-rose-se" gradientUnits="userSpaceOnUse" x1="1022.76" y1="1008" x2="1358.11" y2="863.001">
+ <stop offset="0" stop-color="rgb(134,126,116)" />
+ <stop offset="1" stop-color="rgb(183,176,164)" />
+ </linearGradient>
+ <linearGradient id="az-rose-needle" gradientUnits="userSpaceOnUse" x1="882.665" y1="969.827" x2="1126.82" y2="706.013">
+ <stop offset="0" stop-color="rgb(51,49,46)" />
+ <stop offset="1" stop-color="rgb(121,113,103)" />
+ </linearGradient>
+ </defs>
+ <path fill="rgb(47,48,51)" d="M 1192.76 642.326 C 1200.18 647.327 1207.85 662.083 1212.28 669.861 C 1232.15 704.76 1240.66 743.287 1238.85 783.325 C 1236.02 839.245 1211.1 891.754 1169.58 929.314 C 1132.5 962.951 1076.82 986.1 1026.56 983.71 C 1030.38 1019.86 1025.27 1061.22 1027.87 1097.78 C 1028.19 1102.33 1028.29 1107.83 1025.12 1111.23 L 1022.96 1110.57 C 1020.96 1105.83 1022.19 997.602 1022.29 983.964 C 997.132 984.345 969.41 978.328 946.015 969.16 C 938.351 966.156 909.252 952.706 905.425 946.073 L 906.594 944.688 C 910.731 943.999 909.863 944.456 912.76 942.386 C 915.021 940.772 928.406 949.594 930.78 950.95 C 960.801 967.191 988.477 972.724 1022.11 974.287 C 1021.9 963.026 1020.71 884.96 1024.29 879.904 C 1026.41 882.401 1027.75 887.053 1027.68 890.22 C 1027 918.06 1028.29 946.605 1027.46 974.376 C 1091.24 972.296 1147.86 947.054 1186.95 895.774 C 1213.66 860.738 1229.03 819.005 1229.09 774.843 C 1216.96 775.067 1142.61 776.582 1135.28 774.324 L 1134.46 772.668 L 1135.66 770.802 C 1139.84 767.809 1159.57 769.053 1165.69 769.079 C 1186.76 769.287 1207.83 769.24 1228.9 768.937 C 1228.12 726.053 1215.31 689.01 1190.57 653.862 C 1191.11 650.055 1191.99 646.11 1192.76 642.326 z" />
+ <path fill="rgb(47,48,51)" d="M 1023.56 427.442 C 1024.55 427.807 1026.62 428.52 1026.67 429.35 C 1028.09 453.915 1028.84 542.842 1026.75 560.007 C 1067.49 560.37 1110.56 573 1144.58 596.303 C 1146.92 597.905 1146.5 597.435 1146.79 599.597 C 1143.08 598.826 1133.85 590.248 1128.46 587.695 C 1107.31 577.682 1089.19 569.92 1065.91 565.387 C 1010.09 554.97 952.414 567.019 905.435 598.914 C 862.393 628.219 831.785 672.482 819.56 723.099 C 816.353 736.373 814.972 750.552 812.996 764.026 C 812.248 769.128 814.672 796.449 815.432 801.246 C 819.883 829.342 828.716 858.521 844.697 882.311 C 847.841 886.991 846.911 889.644 850.913 892.628 C 853.833 892.726 852.384 893.003 855.146 890.847 C 855.451 888.992 856.001 887.133 854.705 885.352 C 832.287 854.551 820.673 811.743 821 774 L 879 774 C 886.613 774.028 908.779 775.516 914.024 772.099 C 910.709 770.31 831.323 770.998 821 771 C 820.972 768.412 820.97 765.824 820.993 763.235 C 821.288 714.104 846.786 661.236 881.656 627.092 C 919.444 590.236 970.216 569.729 1023 570 C 1022.94 575.347 1023.14 581.491 1023.37 586.883 C 1024.37 610.02 1019.93 638.659 1025.07 660.925 C 1027.91 657.878 1023.71 575.961 1026.99 570.436 L 1029.75 570 C 1056.68 569.494 1085.16 575.831 1109.81 586.384 C 1116.75 589.356 1135.88 599.653 1141.74 603.881 L 1141.22 604.436 C 1135.79 603.072 1121.37 593.672 1114.89 590.637 C 1086.54 577.34 1059.15 571.314 1028.05 570.979 C 1027.59 583.757 1029.01 658.978 1025.88 664.119 L 1024.38 664.096 C 1020.41 659.525 1022.07 639.224 1022.08 631.86 L 1021.9 570.942 C 970.714 571.477 921.63 591.401 884.55 626.696 C 845.385 664.021 822.827 715.497 821.931 769.592 C 834.387 769.18 911.299 767.571 917.55 771.178 L 915.66 770.04 L 916.251 772.472 C 906.156 777.045 887.666 775.134 876.001 775.094 L 822.312 775.108 C 823.149 810.447 830.972 840.376 847.217 871.852 C 850.027 877.297 860.278 888.863 859.658 893.918 L 858.693 892.508 L 857.351 892.309 C 854.266 895.513 855.231 894.342 854.086 899.191 L 852.794 898.951 L 854.274 898.044 L 851.964 897.769 C 828.77 861.204 814.926 828.545 812.209 784.428 C 809.223 727.945 828.807 672.592 866.651 630.555 C 908.195 584.144 961.695 563.49 1022.74 560.194 C 1021.61 548.622 1020.92 432.239 1023.56 427.442 z" />
+ <path fill="rgb(47,48,51)" d="M 683.889 769.546 C 700.993 768.842 722.491 769.394 739.895 769.462 C 758.503 769.535 792.856 768.305 810.571 770.899 L 811.104 772.567 L 809.671 773.004 C 775.959 776.654 742.332 774.638 708.41 775.181 C 704.001 775.251 682.502 775.588 679.619 773.975 L 679.443 772.324 C 681.597 769.303 680.177 770.221 683.889 769.546 z" />
+ <path fill="rgb(47,48,51)" d="M 1262.95 769.419 C 1286.17 768.587 1310.69 770.197 1334.09 769.441 C 1344.57 769.103 1358.15 769.121 1368.41 770.211 L 1369.61 772.23 C 1364.26 776.087 1359.84 775.295 1353.3 775.148 C 1338.95 774.996 1251.54 776.456 1244.38 773.492 C 1248.98 769.403 1256.95 769.609 1262.95 769.419 z" />
+ <path fill="rgb(174,145,110)" d="M 1048.47 465.87 C 1114.42 465.733 1185.21 498.054 1234.21 541.356 C 1293.6 594.557 1329.33 669.24 1333.5 748.867 C 1319.01 748.611 1304.06 748.785 1289.53 748.773 C 1287.61 696.749 1262.7 636.812 1228.29 598.112 C 1178.68 542.309 1121.51 515.963 1048.46 510.187 C 1048.37 495.415 1048.37 480.642 1048.47 465.87 z" />
+ <path fill="rgb(203,193,181)" d="M 997.517 467.424 C 1000.49 467.14 999.299 466.671 1001.38 468.216 C 1002.96 475.01 1002.18 503.418 1002.1 511.662 C 954.811 515.143 901.995 536.481 864.837 565.599 C 803.873 613.372 771.809 673.186 761.809 748.875 C 749.319 748.64 736.283 748.838 723.75 748.858 L 720.18 748.447 C 717.043 743.897 721.456 723.766 722.664 717.553 C 732.187 667.784 753.917 621.158 785.905 581.859 C 838.343 517.001 914.534 475.798 997.517 467.424 z" />
+ <path fill="url(#az-rose-se)" d="M 1289.25 795.949 L 1332.89 796.039 C 1327.48 849.421 1311.73 897.547 1281.23 942.11 C 1235.69 1008.94 1165.38 1054.85 1085.87 1069.67 C 1074.09 1072.12 1060.39 1073.61 1048.41 1074.67 C 1048.49 1060.14 1048.48 1045.62 1048.38 1031.09 C 1180.01 1018.19 1273.05 926.957 1289.25 795.949 z" />
+ <path fill="url(#az-rose-sw)" d="M 718.719 795.968 L 762.601 796.01 C 765.423 844.66 791.223 900.082 822.425 937.046 C 867.523 990.852 932.188 1024.49 1002.13 1030.52 L 1002.09 1074.18 C 943.935 1071.36 879.034 1044.96 834.217 1008.63 C 765.319 952.789 728.817 882.792 718.719 795.968 z" />
+ <path fill="rgb(203,193,181)" d="M 849.463 955.024 L 848.074 955.646 L 847.678 954.653 C 852.011 944.457 871.897 911.572 878.066 900.781 C 899.33 863.039 920.906 825.474 942.791 788.088 C 948.342 778.607 954.574 768.415 959.813 758.717 C 965.567 748.067 969.999 738.042 977.087 728.115 C 986.729 714.612 1003.31 712.43 1016.1 704.241 C 1034.59 692.406 1203.03 583.022 1204.46 582.805 L 1203.93 585.09 C 1199.65 595.348 1183.1 622.104 1176.81 632.84 C 1162.47 657.73 1148.37 682.755 1134.51 707.912 C 1121.46 731.261 1108.42 754.609 1095.45 778.029 C 1088.53 790.523 1083.97 804.712 1074.93 815.709 C 1063.27 829.904 1049.73 832.35 1034.49 840.724 C 1025.89 845.455 1015.6 852.163 1007.06 857.461 L 905.739 920.454 C 895.621 926.841 856.923 952.607 849.463 955.024 z" />
+ <path fill="url(#az-rose-needle)" d="M 1110.53 682.315 L 1111.19 684.205 C 1108.86 686.868 1106.8 688.065 1106.87 690.69 C 1109.72 692.169 1115.29 694.969 1117.65 696.855 C 1123.16 701.261 1123.27 710.06 1130.9 710.092 L 1134.51 707.912 C 1121.46 731.261 1108.42 754.609 1095.45 778.029 C 1088.53 790.523 1083.97 804.712 1074.93 815.709 C 1063.27 829.904 1049.73 832.35 1034.49 840.724 C 1025.89 845.455 1015.6 852.163 1007.06 857.461 L 905.739 920.454 C 895.621 926.841 856.923 952.607 849.463 955.024 C 854.952 946.492 878.753 922.785 887.184 913.778 C 924.329 874.425 961.711 835.297 999.328 796.395 C 988.514 784.1 988.27 766.925 997.429 753.613 C 1002.93 745.462 1011.57 739.958 1021.28 738.411 C 1032.51 736.675 1040 739.991 1048.71 746.165 C 1069.04 725.375 1089.49 702.188 1110.53 682.315 z" />
+ <path fill="rgb(125,118,108)" d="M 1110.53 682.315 C 1114.69 675.669 1144.02 646.116 1151.08 639.522 C 1167.15 624.497 1187.5 598.081 1203.93 585.09 C 1199.65 595.348 1183.1 622.104 1176.81 632.84 C 1162.47 657.73 1148.37 682.755 1134.51 707.912 L 1130.9 710.092 C 1123.27 710.06 1123.16 701.261 1117.65 696.855 C 1115.29 694.969 1109.72 692.169 1106.87 690.69 C 1106.8 688.065 1108.86 686.868 1111.19 684.205 L 1110.53 682.315 z" />
+ <path fill="rgb(13,17,21)" d="M 999.328 796.395 C 988.514 784.1 988.27 766.925 997.429 753.613 C 1002.93 745.462 1011.57 739.958 1021.28 738.411 C 1032.51 736.675 1040 739.991 1048.71 746.165 C 1057.76 757.154 1059.87 762.696 1058.49 777.494 C 1052.5 795.549 1040.57 806.652 1020.62 805.792 C 1015.97 803.196 1010.81 806.377 999.328 796.395 z" />
+ <path fill="rgb(125,118,108)" d="M 1058.49 777.494 C 1061.18 796.015 1037.08 810.999 1019.38 807.232 L 1019.27 806.259 L 1020.62 805.792 C 1040.57 806.652 1052.5 795.549 1058.49 777.494 z" />
</svg>
<style>
svg {
display: inline-block;
- color: var(--text-2);
- }
- svg.mono {
- color: currentColor;
- }
- svg.inverted {
- color: #fff;
- filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}
</style>
diff --git a/frontend/src/components/Modal.svelte b/frontend/src/components/Modal.svelte
index 9c69a8b..70d8097 100644
--- a/frontend/src/components/Modal.svelte
+++ b/frontend/src/components/Modal.svelte
@@ -17,7 +17,7 @@
onclick={(e) => e.target === e.currentTarget && onclose?.()}
role="presentation"
>
- <div class="modal fade-up" style:width role="dialog" aria-label={title}>
+ <div class="modal" style:width role="dialog" aria-label={title}>
<header>
<h3>{title}</h3>
<button class="btn btn-ghost btn-sm" onclick={onclose} aria-label="Close">
diff --git a/frontend/src/components/Toasts.svelte b/frontend/src/components/Toasts.svelte
index 5007691..00db5c9 100644
--- a/frontend/src/components/Toasts.svelte
+++ b/frontend/src/components/Toasts.svelte
@@ -8,7 +8,7 @@
<div class="toasts" use:portal>
{#each uiState.toasts as t (t.id)}
- <div class="toast {t.kind} fade-up">
+ <div class="toast {t.kind}">
<Icon name={icons[t.kind] ?? 'compass'} size={15} />
<span>{t.message}</span>
</div>
diff --git a/frontend/src/components/Wordmark.svelte b/frontend/src/components/Wordmark.svelte
new file mode 100644
index 0000000..7b3b399
--- /dev/null
+++ b/frontend/src/components/Wordmark.svelte
@@ -0,0 +1,23 @@
+<script>
+ export let height = 13;
+</script>
+
+<!-- AZIMUT lettering from the brand logo (frontend/src/assets/logo-source.svg),
+ kept as vector so it scales with the mark. Coordinates verbatim from the source. -->
+<svg {height} viewBox="285 1200 1225 194" aria-label="Azimut">
+ <g fill="rgb(203,193,181)">
+ <path d="M 386.806 1206.85 L 406.791 1206.65 C 438.322 1267.19 471.856 1327.3 502.947 1387.95 L 476.826 1388 L 399.896 1244.09 C 398.633 1241.84 398.212 1241.38 396.679 1239.3 C 394.17 1241.25 322.694 1375.93 316.247 1388.03 L 290.282 1388 C 322.057 1327.4 354.232 1267.02 386.806 1206.85 z" />
+ <path transform="translate(-35 0)" d="M 593.024 1206.88 C 645.808 1205.92 701.57 1206.88 754.594 1206.92 L 754.545 1221.64 C 712.636 1269.72 668.106 1318.07 625.616 1365.98 L 755.368 1366.15 L 755.514 1388.04 C 700.985 1387 643.129 1388.01 588.33 1388.08 L 588.281 1373.82 C 630.958 1325.33 673.893 1277.08 717.085 1229.05 C 676.116 1228.57 634.048 1228.98 593.005 1228.97 L 593.024 1206.88 z" />
+ <path transform="translate(-92 0)" d="M 862.025 1206.82 L 884.691 1206.83 L 884.787 1387.97 L 862.017 1387.98 L 862.025 1206.82 z" />
+ <path transform="translate(-157 0)" d="M 1193.47 1206.69 L 1215.03 1206.77 L 1214.96 1387.94 L 1192.03 1388.11 L 1192 1275.5 L 1191.97 1243.2 C 1167.25 1269.32 1138.9 1301.68 1115.46 1328.96 L 1100.14 1328.98 C 1074.61 1301.76 1048.9 1271.14 1023.71 1243.12 C 1022.8 1290.98 1023.59 1340.01 1023.45 1388.02 L 1000.77 1388 L 1000.52 1206.69 L 1022.44 1206.87 C 1049.64 1235.2 1081.23 1273.04 1107.65 1302.94 C 1136.31 1272.08 1164.78 1238.14 1193.47 1206.69 z" />
+ <path transform="translate(-218 0)" d="M 1326.08 1206.7 L 1349.39 1206.82 C 1350 1237.2 1349.71 1270.97 1349.27 1301.77 C 1346.75 1346.04 1365.31 1366.48 1409.68 1366.63 C 1479.42 1366.86 1477.23 1334.68 1477.18 1280.26 L 1477.09 1206.85 L 1499.94 1206.77 L 1499.9 1227.93 L 1500 1282.31 C 1500.04 1311.23 1503.24 1344.94 1481.12 1367.19 C 1450.39 1398.23 1375.76 1398.01 1344.91 1367.57 C 1322.02 1344.98 1326.06 1307.84 1326.09 1278.03 L 1326.08 1206.7 z" />
+ <path transform="translate(-261 0)" d="M 1596.67 1206.82 L 1764.23 1206.8 L 1764.33 1228.97 L 1691.95 1229.02 L 1691.77 1318.25 C 1691.84 1341.5 1691.8 1364.75 1691.64 1388 L 1668.84 1388.14 L 1668.88 1228.99 L 1596.58 1228.98 C 1596.41 1221.66 1596.58 1214.15 1596.67 1206.82 z" />
+ </g>
+ <path fill="rgb(83,103,125)" d="M 366.62 1329.5 C 382.927 1329.25 399.236 1329.19 415.544 1329.31 C 418.249 1334.81 432.067 1356.51 430.802 1360.35 L 383.002 1360.66 C 380.02 1355.42 367.61 1334.32 366.62 1329.5 z" />
+</svg>
+
+<style>
+ svg {
+ display: inline-block;
+ }
+</style>
diff --git a/frontend/src/lib/folderTree.js b/frontend/src/lib/folderTree.js
new file mode 100644
index 0000000..94f59d0
--- /dev/null
+++ b/frontend/src/lib/folderTree.js
@@ -0,0 +1,44 @@
+/**
+ * My-work folder tree: nested nodes built from flat '/'-separated folder
+ * paths plus the entities filed into them (entity.attrs.folder). Entities
+ * with no folder are not in the tree — they live in their tool's own list.
+ */
+
+export const folderOf = (e) => e.attrs?.folder || null;
+
+/** Build the nested tree. Folders exist even when empty; entities attach
+ * to their exact folder node. Children are sorted case-insensitively. */
+export function buildTree(folders, items) {
+ const root = { name: '', path: '', children: new Map(), entities: [] };
+ const ensure = (path) => {
+ let node = root,
+ acc = '';
+ for (const seg of path.split('/')) {
+ acc = acc ? `${acc}/${seg}` : seg;
+ if (!node.children.has(seg))
+ node.children.set(seg, { name: seg, path: acc, children: new Map(), entities: [] });
+ node = node.children.get(seg);
+ }
+ return node;
+ };
+ for (const f of folders) if (f) ensure(f);
+ for (const e of items) {
+ const f = folderOf(e);
+ if (f) ensure(f).entities.push(e);
+ }
+ const sortNodes = (map) =>
+ [...map.values()]
+ .sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()))
+ .map((n) => ({ ...n, children: sortNodes(n.children) }));
+ return sortNodes(root.children);
+}
+
+/** Entities in a node's whole subtree (folder badge count). */
+export function subtreeCount(node) {
+ return node.entities.length + node.children.reduce((s, c) => s + subtreeCount(c), 0);
+}
+
+/** Every folder path in the tree, depth-first (folder pickers). */
+export function flattenPaths(nodes) {
+ return nodes.flatMap((n) => [n.path, ...flattenPaths(n.children)]);
+}
diff --git a/frontend/src/lib/folderTree.test.js b/frontend/src/lib/folderTree.test.js
new file mode 100644
index 0000000..9718186
--- /dev/null
+++ b/frontend/src/lib/folderTree.test.js
@@ -0,0 +1,43 @@
+import { describe, it, expect } from 'vitest';
+import { buildTree, subtreeCount, flattenPaths, folderOf } from './folderTree.js';
+
+const ent = (id, folder) => ({ id, attrs: folder ? { folder } : {} });
+
+describe('folderOf', () => {
+ it('reads attrs.folder, empty/missing → null', () => {
+ expect(folderOf(ent('a', 'x/y'))).toBe('x/y');
+ expect(folderOf(ent('b'))).toBeNull();
+ expect(folderOf({ id: 'c', attrs: { folder: '' } })).toBeNull();
+ });
+});
+
+describe('buildTree', () => {
+ it('nests /-separated paths and keeps empty folders', () => {
+ const tree = buildTree(['Sources/Telegram', 'Timeline'], []);
+ expect(tree.map((n) => n.name)).toEqual(['Sources', 'Timeline']);
+ expect(tree[0].children[0].path).toBe('Sources/Telegram');
+ expect(subtreeCount(tree[0])).toBe(0);
+ });
+
+ it('attaches entities to their exact node and counts subtrees', () => {
+ const items = [ent('a', 'Sources'), ent('b', 'Sources/Telegram'), ent('c', null)];
+ const tree = buildTree(['Sources/Telegram'], items);
+ const sources = tree[0];
+ expect(sources.entities.map((e) => e.id)).toEqual(['a']);
+ expect(sources.children[0].entities.map((e) => e.id)).toEqual(['b']);
+ expect(subtreeCount(sources)).toBe(2); // unfiled 'c' is nowhere in the tree
+ });
+
+ it('creates missing intermediate folders from an entity path', () => {
+ const tree = buildTree([], [ent('a', 'x/y/z')]);
+ expect(flattenPaths(tree)).toEqual(['x', 'x/y', 'x/y/z']);
+ });
+
+ it('sorts case-insensitively at every level', () => {
+ const tree = buildTree(['b', 'A', 'a/c', 'a/B'], []);
+ expect(tree.map((n) => n.name)).toEqual(['A', 'a', 'b']);
+ // 'A' and 'a' are distinct folders; 'a' keeps its sorted children
+ const a = tree.find((n) => n.name === 'a');
+ expect(a.children.map((n) => n.name)).toEqual(['B', 'c']);
+ });
+});
diff --git a/frontend/src/lib/savedGrouping.js b/frontend/src/lib/savedGrouping.js
deleted file mode 100644
index 7575e3e..0000000
--- a/frontend/src/lib/savedGrouping.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * "Saved work" grouping for the case sidebar: every filed entity, bucketed by
- * the tool that produced it — except filed images/videos, which are media
- * first and belong under Media Library no matter which tool produced them
- * (e.g. a frame saved from Inspect, or a satellite capture).
- */
-
-export const TOOL_GROUPS = [
- ['media-library', 'Media Library', 'image'],
- ['inspect', 'Inspect', 'inspect'],
- ['satellite', 'Satellite', 'satellite'],
- ['proof-composer', 'Proof Composer', 'proof'],
- ['post-composer', 'Post Composer', 'post'],
- ['user', 'Notes & manual', 'note'],
-];
-
-export const KNOWN_TOOLS = new Set(TOOL_GROUPS.map(([k]) => k).filter((k) => k !== 'user'));
-
-// Entity types that are filed images/videos living in media/, whatever tool
-// produced them: plain uploads/derivatives ('media') and satellite captures
-// ('capture', which additionally carry lat/lon/zoom).
-const MEDIA_ENTITY_TYPES = new Set(['media', 'capture']);
-
-export function groupKey(entity) {
- if (MEDIA_ENTITY_TYPES.has(entity.type)) return 'media-library';
- const by = entity.provenance?.by;
- return KNOWN_TOOLS.has(by) ? by : 'user';
-}
diff --git a/frontend/src/lib/savedGrouping.test.js b/frontend/src/lib/savedGrouping.test.js
deleted file mode 100644
index 0831e61..0000000
--- a/frontend/src/lib/savedGrouping.test.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import { describe, it, expect } from 'vitest';
-import { groupKey } from './savedGrouping.js';
-
-describe('groupKey', () => {
- it('buckets plain media entities under Media Library', () => {
- expect(groupKey({ type: 'media', provenance: { by: 'media-library' } })).toBe('media-library');
- });
-
- it('buckets satellite captures under Media Library, not Satellite', () => {
- // a capture is a filed image first — the fact that the satellite tool
- // produced it (provenance.by === 'satellite') shouldn't override that
- expect(groupKey({ type: 'capture', provenance: { by: 'satellite' } })).toBe('media-library');
- });
-
- it('buckets a non-image entity by its producing tool', () => {
- expect(groupKey({ type: 'place', provenance: { by: 'satellite' } })).toBe('satellite');
- expect(groupKey({ type: 'proof', provenance: { by: 'proof-composer' } })).toBe('proof-composer');
- });
-
- it('falls back to "user" for an unknown or missing producing tool', () => {
- expect(groupKey({ type: 'note', provenance: { by: 'user' } })).toBe('user');
- expect(groupKey({ type: 'note' })).toBe('user');
- expect(groupKey({ type: 'place', provenance: { by: 'some-future-tool' } })).toBe('user');
- });
-});
diff --git a/frontend/src/lib/workspaces.js b/frontend/src/lib/workspaces.js
new file mode 100644
index 0000000..35e5a75
--- /dev/null
+++ b/frontend/src/lib/workspaces.js
@@ -0,0 +1,36 @@
+/**
+ * Workspace model (docs/UI.md §3): the rail holds a fixed set of activity
+ * workspaces in investigation-pipeline order; tools are tabs inside them.
+ * `uiState.tool` stays the single source of truth everywhere — the active
+ * workspace is always derived from the active tool, so cross-tool handoffs
+ * (`uiState.tool = 'proof'`) keep working untouched.
+ *
+ * Future tools land as new entries in a workspace's `tools` array, never as
+ * new rail entries. The Case workspace arrives with the v3 investigation
+ * layer (today the case sidebar covers it).
+ */
+export const WORKSPACES = [
+ { id: 'collect', label: 'Collect', icon: 'download', tools: ['media'] },
+ { id: 'examine', label: 'Examine', icon: 'inspect', tools: ['inspect'] },
+ { id: 'map', label: 'Map', icon: 'satellite', tools: ['satellite'] },
+ { id: 'compose', label: 'Compose', icon: 'proof', tools: ['proof', 'post'] },
+];
+
+export function workspaceOf(tool) {
+ return WORKSPACES.find((w) => w.tools.includes(tool)) ?? null;
+}
+
+/**
+ * Resolve a location hash to a tool id, or null if it matches nothing.
+ * Accepted forms, in priority order:
+ * '#<tool>' — stable pre-workspace links (#media, #proof, …)
+ * '#<workspace>/<tool>' — a specific tab (#compose/post)
+ * '#<workspace>' — the workspace's first tool (#compose → proof)
+ */
+export function toolFromHash(hash, allTools) {
+ const [head, sub] = hash.replace(/^#/, '').split('/');
+ if (allTools.includes(head)) return head;
+ const ws = WORKSPACES.find((w) => w.id === head);
+ if (!ws) return null;
+ return sub && ws.tools.includes(sub) ? sub : ws.tools[0];
+}
diff --git a/frontend/src/lib/workspaces.test.js b/frontend/src/lib/workspaces.test.js
new file mode 100644
index 0000000..c871995
--- /dev/null
+++ b/frontend/src/lib/workspaces.test.js
@@ -0,0 +1,55 @@
+import { describe, it, expect } from 'vitest';
+import { WORKSPACES, workspaceOf, toolFromHash } from './workspaces.js';
+
+const ALL_TOOLS = ['media', 'inspect', 'satellite', 'proof', 'post', 'settings'];
+
+describe('workspaceOf', () => {
+ it('maps every rail tool to exactly one workspace', () => {
+ for (const tool of ['media', 'inspect', 'satellite', 'proof', 'post']) {
+ const owners = WORKSPACES.filter((w) => w.tools.includes(tool));
+ expect(owners).toHaveLength(1);
+ expect(workspaceOf(tool)).toBe(owners[0]);
+ }
+ });
+
+ it('groups proof and post under compose', () => {
+ expect(workspaceOf('proof').id).toBe('compose');
+ expect(workspaceOf('post').id).toBe('compose');
+ });
+
+ it('returns null for settings and unknown tools', () => {
+ expect(workspaceOf('settings')).toBeNull();
+ expect(workspaceOf('nope')).toBeNull();
+ });
+});
+
+describe('toolFromHash', () => {
+ it('keeps pre-workspace tool links working', () => {
+ for (const tool of ALL_TOOLS) {
+ expect(toolFromHash(`#${tool}`, ALL_TOOLS)).toBe(tool);
+ }
+ });
+
+ it('accepts a bare workspace id (first tool)', () => {
+ expect(toolFromHash('#collect', ALL_TOOLS)).toBe('media');
+ expect(toolFromHash('#compose', ALL_TOOLS)).toBe('proof');
+ });
+
+ it('accepts workspace/tab form', () => {
+ expect(toolFromHash('#compose/post', ALL_TOOLS)).toBe('post');
+ expect(toolFromHash('#compose/proof', ALL_TOOLS)).toBe('proof');
+ });
+
+ it('falls back to the first tool on an unknown tab', () => {
+ expect(toolFromHash('#compose/bogus', ALL_TOOLS)).toBe('proof');
+ });
+
+ it('returns null on garbage', () => {
+ expect(toolFromHash('#bogus', ALL_TOOLS)).toBeNull();
+ expect(toolFromHash('', ALL_TOOLS)).toBeNull();
+ });
+
+ it('works without the leading #', () => {
+ expect(toolFromHash('map', ALL_TOOLS)).toBe('satellite');
+ });
+});
diff --git a/frontend/src/tools/Inspector.svelte b/frontend/src/tools/Inspector.svelte
index d1689fa..d23594e 100644
--- a/frontend/src/tools/Inspector.svelte
+++ b/frontend/src/tools/Inspector.svelte
@@ -407,7 +407,7 @@
frame.adjust = videoSeed(filters, session.videoAdjust);
session.frames.push(frame);
session.activeFrameId = frame.id;
- toast('Frame added to tray — not saved yet', 'ok');
+ toast('Frame added to tray. Not saved yet', 'ok');
} catch (e) {
toast(e.message, 'danger');
}
@@ -724,7 +724,7 @@
openedSession = { name: res.name, title };
await reloadCase();
sessionModal.open = false;
- toast('Session saved — reopen it from the sidebar', 'ok');
+ toast('Session saved. Reopen it from the sidebar', 'ok');
} catch (e) {
toast(e.message, 'danger');
} finally {
@@ -822,7 +822,6 @@
<div class="tool">
<div class="tool-header">
<h2>Inspect</h2>
- <span class="sub">a scratch workspace — capture, tune, collage; save only what you keep</span>
<div class="spacer"></div>
{#if caseState.current}
<button class="btn btn-sm" onclick={openLoadDialog} title="Reopen a saved session">
@@ -856,7 +855,7 @@
<div class="empty">
<Icon name="inspect" size={40} />
<p>Open a case and add media to start inspecting.</p>
- <button class="btn btn-primary" onclick={() => (uiState.tool = 'media')}>Go to Media Library</button>
+ <button class="btn" onclick={() => (uiState.tool = 'media')}>Go to Media Library</button>
</div>
{:else if !session.source}
<div class="empty">
@@ -979,7 +978,7 @@
{:else}
<div class="hint-mid">
<Icon name="image" size={34} />
- <p>No frame selected — capture frames in the Selection tab.</p>
+ <p>No frame selected. Capture frames in the Selection tab.</p>
</div>
{/if}
{:else if activeTab === 'collage'}
@@ -1039,7 +1038,7 @@
</div>
{#if sessionModal.mode === 'save'}
- <p class="modal-hint">Persist this whole workspace — frames, adjustments and the collage — to reopen later. Saving the session does not file any media.</p>
+ <p class="modal-hint">Persist the whole workspace (frames, adjustments, collages) to reopen later. Saving the session does not file any media.</p>
<input
class="input"
placeholder="Session name"
@@ -1147,8 +1146,8 @@
background: var(--bg-2);
}
.tab.active {
- color: var(--accent);
- background: var(--accent-soft);
+ color: var(--text-1);
+ background: var(--bg-3);
}
.workspace {
flex: 1;
@@ -1258,7 +1257,7 @@
gap: 8px;
padding: 3px 6px;
border-radius: var(--r-md);
- background: rgba(16, 20, 28, 0.85);
+ background: rgba(22, 22, 22, 0.85);
border: 1px solid var(--border);
}
.zoom-val {
@@ -1286,7 +1285,7 @@
.modal-back {
position: fixed;
inset: 0;
- background: rgba(6, 9, 14, 0.6);
+ background: rgba(10, 10, 10, 0.6);
display: flex;
align-items: center;
justify-content: center;
diff --git a/frontend/src/tools/MediaLibrary.svelte b/frontend/src/tools/MediaLibrary.svelte
index bfb643c..0257d3f 100644
--- a/frontend/src/tools/MediaLibrary.svelte
+++ b/frontend/src/tools/MediaLibrary.svelte
@@ -315,7 +315,6 @@
>
<div class="tool-header">
<h2>Media Library</h2>
- <span class="sub">import files or download by URL — hashed &amp; filed in the case</span>
<div class="spacer"></div>
<form
class="dl-form"
@@ -326,7 +325,7 @@
>
<input
class="input"
- placeholder="https://x.com/… https://t.me/… https://youtube.com/…"
+ placeholder="Paste a link (X, Telegram, YouTube…)"
bind:value={url}
/>
<button type="submit" class="btn btn-primary" disabled={!url.trim()}>
@@ -409,7 +408,7 @@
<div class="tool-body">
{#each jobs as job (job.id)}
- <div class="job card fade-up">
+ <div class="job card">
<Icon name="download" size={15} />
<span class="job-url mono" title={job.url}>{job.label ?? job.url}</span>
<div class="bar">
@@ -430,10 +429,7 @@
<div class="empty" style="height: 100%">
<div class="empty-icon"><Icon name="media" size={42} /></div>
<h3>No media yet</h3>
- <p>
- Drop files anywhere on this page, or paste a URL from X, Telegram, TikTok, YouTube…
- Every file is SHA-256 hashed and its origin recorded.
- </p>
+ <p>Drop files here, or paste a URL above.</p>
</div>
{:else if filteredItems.length === 0}
<div class="empty" style="height: 100%">
@@ -445,7 +441,7 @@
<div class="grid">
{#each filteredItems as item (item.path)}
<div
- class="media-card card fade-up"
+ class="media-card card"
class:focused={item.path === focusedPath}
data-path={item.path}
>
@@ -547,7 +543,7 @@
with several photos) — pick which ones to download, before anything is fetched -->
{#if picker}
<Modal title="Choose media to download" onclose={() => (picker = null)} width="560px">
- <p class="picker-hint">This link has {picker.items.length} attachments — pick which to fetch.</p>
+ <p class="picker-hint">This link has {picker.items.length} attachments. Pick which to fetch.</p>
<div class="picker-toolbar">
<button class="btn btn-ghost btn-sm" onclick={() => selectAllPicker(true)}>Select all</button>
<button class="btn btn-ghost btn-sm" onclick={() => selectAllPicker(false)}>Select none</button>
@@ -789,7 +785,7 @@
align-items: center;
gap: 5px;
padding: 4px 10px;
- border-radius: 999px;
+ border-radius: var(--r-sm);
border: 1px solid var(--border);
background: var(--bg-2);
color: var(--text-2);
@@ -803,9 +799,9 @@
color: var(--text-1);
}
.folder-chip.active {
- border-color: var(--accent);
- background: var(--accent-soft);
- color: var(--accent);
+ border-color: var(--border-strong);
+ background: var(--bg-3);
+ color: var(--text-1);
}
.chip-count {
font-size: var(--fs-xs);
@@ -825,7 +821,7 @@
gap: 6px;
padding: 4px 8px;
border: 1px solid var(--border);
- border-radius: 999px;
+ border-radius: var(--r-sm);
background: var(--bg-2);
color: var(--text-3);
flex-shrink: 0;
@@ -909,11 +905,10 @@
overflow: hidden;
display: flex;
flex-direction: column;
- transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
+ transition: border-color 0.15s var(--ease);
}
.media-card:hover {
border-color: var(--border-strong);
- transform: translateY(-1px);
}
.media-card.focused {
border-color: var(--accent);
@@ -945,7 +940,7 @@
position: absolute;
top: 8px;
left: 8px;
- background: rgba(11, 15, 23, 0.75);
+ background: rgba(16, 16, 16, 0.75);
backdrop-filter: blur(4px);
}
.folder-badge {
@@ -955,7 +950,7 @@
display: flex;
align-items: center;
gap: 3px;
- background: rgba(11, 15, 23, 0.75);
+ background: rgba(16, 16, 16, 0.75);
backdrop-filter: blur(4px);
font-size: 10px;
max-width: 90px;
@@ -1000,7 +995,7 @@
.drop-overlay {
position: absolute;
inset: 0;
- background: rgba(11, 15, 23, 0.8);
+ background: rgba(16, 16, 16, 0.8);
display: flex;
align-items: center;
justify-content: center;
@@ -1130,7 +1125,7 @@
}
.picker-row.selected {
border-color: var(--accent);
- background: var(--accent-soft);
+ background: var(--bg-3);
}
.picker-thumb {
width: 44px;
@@ -1185,11 +1180,11 @@
transform: translateY(-50%);
padding: 14px 8px;
color: var(--text-1);
- background: rgba(11, 15, 23, 0.55);
+ background: rgba(16, 16, 16, 0.55);
border-radius: var(--r-md);
}
.lb-nav:hover {
- background: rgba(11, 15, 23, 0.85);
+ background: rgba(16, 16, 16, 0.85);
}
.lb-nav.prev {
left: 14px;
@@ -1204,9 +1199,9 @@
transform: translateX(-50%);
font-size: var(--fs-xs);
color: var(--text-2);
- background: rgba(11, 15, 23, 0.75);
+ background: rgba(16, 16, 16, 0.75);
padding: 4px 12px;
- border-radius: 999px;
+ border-radius: var(--r-sm);
white-space: nowrap;
}
</style>
diff --git a/frontend/src/tools/PostComposer.svelte b/frontend/src/tools/PostComposer.svelte
index 5ee98a8..5a6f5d4 100644
--- a/frontend/src/tools/PostComposer.svelte
+++ b/frontend/src/tools/PostComposer.svelte
@@ -312,7 +312,7 @@
let blob = await res.blob();
if (blob.type !== 'image/png') blob = await toPngBlob(blob);
await navigator.clipboard.write([new ClipboardItem({ 'image/png': blob })]);
- toast('Image copied — paste it into X (Ctrl+V)', 'ok', 2400);
+ toast('Image copied. Paste it into X (Ctrl+V)', 'ok', 2400);
} catch (e) {
toast(`Could not copy image: ${e.message}`, 'danger');
}
@@ -326,7 +326,7 @@
document.body.appendChild(a);
a.click();
a.remove();
- toast('Downloaded — drag it into X', 'info', 2600);
+ toast('Downloaded. Drag it into X', 'info', 2600);
}
// ---- draft persistence --------------------------------------------------
@@ -382,6 +382,19 @@
}
}
+ let deleteEntry = $state(null); // open-list entry pending deletion
+ async function deleteSavedDraft() {
+ const entry = deleteEntry;
+ deleteEntry = null;
+ try {
+ await api.del(`/api/cases/${caseState.current.id}/drafts/${entry.name}`);
+ await Promise.all([openDraftList(), reloadCase()]);
+ toast(`Deleted "${entry.title}"`, 'info');
+ } catch (e) {
+ toast(e.message, 'danger');
+ }
+ }
+
async function loadDraft(name) {
if (!caseState.current) return;
try {
@@ -450,7 +463,7 @@
await copyAll();
const url = `https://x.com/intent/post?text=${encodeURIComponent(bidiSafe(tweet1))}`;
window.open(url, '_blank', 'noopener,noreferrer');
- toast('Opened X — thread copied for the replies', 'info', 3200);
+ toast('Opened X. Thread copied for the replies', 'info', 3200);
}
</script>
@@ -458,7 +471,6 @@
<div class="tool-header">
<div class="head-text">
<h2>Post Composer</h2>
- <span class="sub">publishable post from your proof — you copy, you publish, Azimut never posts</span>
</div>
<div class="head-actions">
{#if caseState.current}
@@ -740,18 +752,36 @@
{:else}
<div class="open-list">
{#each openList as entry (entry.name)}
- <button class="open-row" onclick={() => loadDraft(entry.name)}>
- <div class="open-meta">
- <span class="open-title">{entry.title}</span>
- <span class="open-sub">{entry.updated_at?.slice(0, 10)}</span>
- </div>
- </button>
+ <div class="open-row-wrap">
+ <button class="open-row" onclick={() => loadDraft(entry.name)}>
+ <div class="open-meta">
+ <span class="open-title">{entry.title}</span>
+ <span class="open-sub">{entry.updated_at?.slice(0, 10)}</span>
+ </div>
+ </button>
+ <button class="btn btn-ghost btn-sm open-del" title="Delete this saved draft" onclick={() => (deleteEntry = entry)}>
+ <Icon name="trash" size={13} />
+ </button>
+ </div>
{/each}
</div>
{/if}
</Modal>
{/if}
+{#if deleteEntry}
+ <ConfirmDialog
+ title="Delete this draft?"
+ message={`“${deleteEntry.title}” will be removed from the case.`}
+ detail="This permanently deletes the saved draft. It cannot be undone."
+ confirmLabel="Delete"
+ tone="danger"
+ icon="trash"
+ onconfirm={deleteSavedDraft}
+ oncancel={() => (deleteEntry = null)}
+ />
+{/if}
+
{#if discardConfirm}
<ConfirmDialog
title="Discard this draft?"
@@ -768,7 +798,7 @@
{#if pickerOpen}
<Modal title="Choose a media" width="640px" onclose={() => (pickerOpen = false)}>
{#if mediaLibrary.length === 0}
- <p class="picker-empty">No media in this case yet — import or download some in the Media tab.</p>
+ <p class="picker-empty">No media in this case yet. Import or download some in the Media tab.</p>
{:else}
<div class="picker-grid">
{#each (caseState.current ? mediaLibrary : []) as item (item.path)}
@@ -792,7 +822,7 @@
{#if proofPickerOpen}
<Modal title="Attach a proof" width="640px" onclose={() => (proofPickerOpen = false)}>
{#if proofLibrary.length === 0}
- <p class="picker-empty">No proofs in this case yet — build one in the Proof tab.</p>
+ <p class="picker-empty">No proofs in this case yet. Build one in the Proof tab.</p>
{:else}
<div class="picker-grid">
{#each (caseState.current ? proofLibrary : []) as item (item.name)}
@@ -1041,6 +1071,9 @@
white-space: nowrap;
}
.open-list { display: flex; flex-direction: column; gap: 8px; }
+ .open-row-wrap { display: flex; align-items: center; gap: 4px; }
+ .open-row-wrap .open-row { flex: 1; min-width: 0; }
+ .open-del { color: var(--danger); flex-shrink: 0; }
.open-row {
display: flex;
gap: 12px;
diff --git a/frontend/src/tools/ProofComposer.svelte b/frontend/src/tools/ProofComposer.svelte
index c17a0ad..9625aeb 100644
--- a/frontend/src/tools/ProofComposer.svelte
+++ b/frontend/src/tools/ProofComposer.svelte
@@ -156,7 +156,7 @@
anchorSize: 11,
anchorCornerRadius: 3,
anchorStroke: '#e8a33d',
- anchorFill: '#161e2e',
+ anchorFill: '#252525',
borderStroke: '#e8a33d',
borderDash: [4, 3],
ignoreStroke: true,
@@ -278,7 +278,7 @@
async function openPicker() {
if (!caseState.current) {
- toast('Add media first — the composer works on case images', 'info');
+ toast('Add media first. The composer works on case images', 'info');
uiState.tool = 'media';
return;
}
@@ -881,7 +881,7 @@
if (h > height) { h = height; w = height * aspect; }
const gx = (width - w) / 2;
const gy = (height - h) / 2;
- const dim = 'rgba(9, 12, 20, 0.62)';
+ const dim = 'rgba(14, 14, 14, 0.62)';
const masks = [
{ x: 0, y: 0, width, height: gy },
{ x: 0, y: gy + h, width, height: height - gy - h },
@@ -922,7 +922,7 @@
const handle = new Konva.Circle({
x: box.x + s.points[vi] * box.scale,
y: box.y + s.points[vi + 1] * box.scale,
- radius: r, fill: '#161e2e', stroke: '#e8a33d', strokeWidth: 2 / stage.scaleX(),
+ radius: r, fill: '#252525', stroke: '#e8a33d', strokeWidth: 2 / stage.scaleX(),
draggable: true, name: 'endh',
});
const apply = (commit) => {
@@ -976,7 +976,7 @@
});
g.add(new Konva.Rect({
width: s, height: s, cornerRadius: 6 / k,
- fill: '#161e2e', stroke: '#e8a33d', strokeWidth: 1.5 / k,
+ fill: '#252525', stroke: '#e8a33d', strokeWidth: 1.5 / k,
}));
g.add(new Konva.Text({
width: s, height: s, text: b.glyph, fontSize: 15 / k, fill: TEXT_MAIN,
@@ -1414,7 +1414,7 @@
try {
const blob = await (await fetch(exportPng())).blob();
await navigator.clipboard.write([new ClipboardItem({ 'image/png': blob })]);
- toast('Proof image copied — paste it anywhere', 'ok');
+ toast('Proof image copied. Paste it anywhere', 'ok');
} catch (e) {
toast(`Could not copy image: ${e.message}`, 'danger');
} finally {
@@ -1437,7 +1437,7 @@
savedName = result.name;
dirty = false;
await reloadCase();
- toast(`Proof saved — ${result.png}`, 'ok');
+ toast(`Proof saved: ${result.png}`, 'ok');
if (andPost) {
uiState.postProof = {
title: proof.title,
@@ -1459,6 +1459,19 @@
openList = await api.get(`/api/cases/${caseState.current.id}/proofs`);
}
+ let deleteEntry = $state(null); // open-list entry pending deletion
+ async function deleteSavedProof() {
+ const entry = deleteEntry;
+ deleteEntry = null;
+ try {
+ await api.del(`/api/cases/${caseState.current.id}/proofs/${entry.name}`);
+ await Promise.all([openProofList(), reloadCase()]);
+ toast(`Deleted "${entry.title}"`, 'info');
+ } catch (e) {
+ toast(e.message, 'danger');
+ }
+ }
+
async function openProof(entry) {
const spec = await api.get(`/api/cases/${caseState.current.id}/proofs/${entry.name}`);
resetDoc();
@@ -1667,12 +1680,9 @@
<div class="empty overlay-empty">
<div class="empty-icon"><Icon name="proof" size={42} /></div>
<h3>Compose a proof</h3>
- <p>
- Add panels — frames, photos, satellite crops — then draw colored shapes to match
- features. <strong>Same color = same feature</strong> across panels.
- </p>
- <button class="btn btn-primary" onclick={openPicker}>
- <Icon name="plus" size={15} /> Add your first panel
+ <p>Add panels, then mark matching features in the same color.</p>
+ <button class="btn" onclick={openPicker}>
+ <Icon name="plus" size={15} /> Add panel
</button>
</div>
{/if}
@@ -1814,7 +1824,7 @@
>{i + 1}</button>
<input
class="input comment-input"
- placeholder={`Feature ${i + 1} — legend text…`}
+ placeholder={`Feature ${i + 1} legend…`}
bind:value={proof.notes[c]}
onchange={() => (dirty = true)}
/>
@@ -1898,7 +1908,7 @@
<!-- Advanced: text sizes + editable footer (the trickier knobs) -->
<button class="adv-toggle" onclick={() => (advancedOpen = !advancedOpen)} style="margin-top: 14px">
<Icon name={advancedOpen ? 'chevronDown' : 'chevronRight'} size={13} />
- Advanced — text &amp; footer
+ Advanced: text &amp; footer
</button>
{#if advancedOpen}
<div class="adv-body">
@@ -1950,11 +1960,24 @@
/>
{/if}
+{#if deleteEntry}
+ <ConfirmDialog
+ title="Delete this proof?"
+ message={`“${deleteEntry.title}” will be removed from the case.`}
+ detail="This permanently deletes the exported PNG and its editable spec. It cannot be undone."
+ confirmLabel="Delete"
+ tone="danger"
+ icon="trash"
+ onconfirm={deleteSavedProof}
+ oncancel={() => (deleteEntry = null)}
+ />
+{/if}
+
{#if picker}
<Modal title="Add a panel" onclose={() => (picker = false)} width="720px">
{#if !pickerItems.length}
<div class="empty">
- <p>No images in this case yet — import media or capture satellite imagery first.</p>
+ <p>No images in this case yet. Import media or capture satellite imagery first.</p>
</div>
{:else}
<div class="pick-grid">
@@ -1985,15 +2008,20 @@
{:else}
<div class="open-list">
{#each openList as entry (entry.name)}
- <button class="open-row" onclick={() => openProof(entry)}>
- {#if entry.png}
- <img src={`/files/${caseState.current.id}/${entry.png}`} alt="" loading="lazy" />
- {/if}
- <div class="open-meta">
- <span class="open-title">{entry.title}</span>
- <span class="open-sub">{entry.panels} panels · {entry.shapes} annotations · {entry.updated_at?.slice(0, 10)}</span>
- </div>
- </button>
+ <div class="open-row-wrap">
+ <button class="open-row" onclick={() => openProof(entry)}>
+ {#if entry.png}
+ <img src={`/files/${caseState.current.id}/${entry.png}`} alt="" loading="lazy" />
+ {/if}
+ <div class="open-meta">
+ <span class="open-title">{entry.title}</span>
+ <span class="open-sub">{entry.panels} panels · {entry.shapes} annotations · {entry.updated_at?.slice(0, 10)}</span>
+ </div>
+ </button>
+ <button class="btn btn-ghost btn-sm open-del" title="Delete this saved proof" onclick={() => (deleteEntry = entry)}>
+ <Icon name="trash" size={13} />
+ </button>
+ </div>
{/each}
</div>
{/if}
@@ -2032,7 +2060,7 @@
color: var(--text-3);
}
.tb-btn:hover { color: var(--text-1); background: var(--bg-2); }
- .tb-btn.active { color: var(--accent); background: var(--accent-soft); }
+ .tb-btn.active { color: var(--text-1); background: var(--bg-3); }
.tb-guide { font-size: 11px; font-weight: 700; }
.tb-magic:not(:disabled) { color: var(--accent); }
.tb-magic:not(:disabled):hover { background: var(--accent-soft); }
@@ -2048,10 +2076,12 @@
height: 22px;
border-radius: 50%;
border: 2px solid transparent;
- transition: transform 0.12s var(--ease);
+ transition: border-color 0.12s var(--ease);
flex-shrink: 0;
}
- .color-btn:hover { transform: scale(1.15); }
+ .color-btn:hover {
+ border-color: var(--text-3);
+ }
.color-btn.active {
border-color: var(--text-1);
box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 3.5px var(--text-3);
@@ -2060,7 +2090,7 @@
display: flex;
align-items: center;
justify-content: center;
- color: #0b0f17;
+ color: var(--accent-text);
cursor: pointer;
position: relative;
overflow: hidden;
@@ -2096,7 +2126,7 @@
padding: 0 2px;
font-family: system-ui, sans-serif;
font-weight: 700;
- background: rgba(9, 12, 20, 0.85);
+ background: rgba(14, 14, 14, 0.85);
border: 1px dashed var(--accent);
border-radius: 2px;
outline: none;
@@ -2199,11 +2229,11 @@
top: 5px;
left: 5px;
padding: 1px 6px;
- border-radius: 999px;
+ border-radius: var(--r-sm);
font-size: 10px;
font-weight: 700;
color: var(--text-1);
- background: rgba(9, 12, 20, 0.72);
+ background: rgba(14, 14, 14, 0.72);
}
.adv-toggle {
display: flex;
@@ -2301,7 +2331,7 @@
flex-shrink: 0;
font-size: 11px;
font-weight: 700;
- color: #0b0f17;
+ color: var(--accent-text);
display: flex;
align-items: center;
justify-content: center;
@@ -2376,6 +2406,9 @@
white-space: nowrap;
}
.open-list { display: flex; flex-direction: column; gap: 8px; }
+ .open-row-wrap { display: flex; align-items: center; gap: 4px; }
+ .open-row-wrap .open-row { flex: 1; min-width: 0; }
+ .open-del { color: var(--danger); flex-shrink: 0; }
.open-row {
display: flex;
gap: 12px;
diff --git a/frontend/src/tools/RefViewer.svelte b/frontend/src/tools/RefViewer.svelte
index e98b840..75a6299 100644
--- a/frontend/src/tools/RefViewer.svelte
+++ b/frontend/src/tools/RefViewer.svelte
@@ -211,7 +211,7 @@
display: flex;
flex-direction: column;
overflow: hidden;
- background: rgba(16, 22, 35, 0.92);
+ background: rgba(24, 24, 24, 0.92);
backdrop-filter: blur(6px);
box-shadow: var(--shadow-2);
user-select: none;
diff --git a/frontend/src/tools/Satellite.svelte b/frontend/src/tools/Satellite.svelte
index 07c6b17..a0ecee0 100644
--- a/frontend/src/tools/Satellite.svelte
+++ b/frontend/src/tools/Satellite.svelte
@@ -353,7 +353,7 @@
// tab — can't do anything visible while the map owns the whole screen, so
// they're greyed out rather than silently dropping the user out of it.
const leavesFullscreen = $derived(
- fullscreen ? 'Exit fullscreen first — this leaves the map' : null
+ fullscreen ? 'Exit fullscreen first. This leaves the map' : null
);
// --- fullscreen (item 5) ---
@@ -455,7 +455,7 @@
const MEASURE_HINT = {
distance: 'Click points along the path',
area: 'Click the polygon corners',
- angle: 'Click three points — vertex second',
+ angle: 'Click three points (vertex second)',
};
// --- external map links (item 6) ---
@@ -618,7 +618,7 @@
map.setView([place.lat, place.lon], Math.max(map.getZoom(), 13));
if (place.display_name) toast(place.display_name, 'info', 5000);
} catch {
- toast('No match — try coordinates ("50.4501, 30.5234"), DMS, or a place name', 'danger');
+ toast('No match. Try coordinates ("50.4501, 30.5234"), DMS, or a place name', 'danger');
} finally {
searching = false;
}
@@ -906,7 +906,7 @@
bearing,
});
await reloadCase();
- toast('Place saved — find it in the case sidebar', 'ok');
+ toast('Place saved. Find it in the case sidebar', 'ok');
} catch (e) {
toast(`Could not save place: ${e.message}`, 'danger', 6000);
} finally {
@@ -1092,7 +1092,6 @@
<div class="tool" class:fullscreen bind:this={toolEl}>
<div class="tool-header">
<h2>Satellite</h2>
- <span class="sub">pan to a point, capture a sourced imagery crop</span>
<div class="spacer"></div>
<form
class="go-form"
@@ -1579,7 +1578,7 @@
{:else}
<div class="place-list">
{#each places as p (p.id)}
- <div class="place-row card fade-up">
+ <div class="place-row card">
<div class="place-main">
<button
type="button"
@@ -1639,7 +1638,7 @@
{:else}
<div class="cap-list">
{#each (caseState.current ? captures : []) as item (item.path)}
- <div class="cap card fade-up">
+ <div class="cap card">
<a
class="cap-goto"
class:disabled={fullscreen}
@@ -1899,7 +1898,7 @@
left: 50%;
transform: translate(-50%, -50%);
border: 1px dashed rgba(255, 255, 255, 0.55);
- box-shadow: 0 0 0 100vmax rgba(8, 11, 18, 0.28);
+ box-shadow: 0 0 0 100vmax rgba(12, 12, 12, 0.28);
pointer-events: none;
z-index: 450;
}
@@ -1961,7 +1960,7 @@
transform: translateX(-50%);
z-index: 600;
display: flex;
- background: rgba(16, 22, 35, 0.88);
+ background: rgba(24, 24, 24, 0.88);
backdrop-filter: blur(6px);
}
.hud-coords {
@@ -1989,10 +1988,10 @@
align-items: center;
gap: 5px;
padding: 3px 8px;
- border-radius: 999px;
+ border-radius: var(--r-sm);
font-size: var(--fs-xs);
color: var(--text-3);
- background: rgba(16, 22, 35, 0.7);
+ background: rgba(24, 24, 24, 0.7);
backdrop-filter: blur(6px);
pointer-events: none;
}
@@ -2022,7 +2021,7 @@
display: flex;
gap: 2px;
padding: 4px;
- background: rgba(16, 22, 35, 0.88);
+ background: rgba(24, 24, 24, 0.88);
backdrop-filter: blur(6px);
}
.mtbtn {
@@ -2061,7 +2060,7 @@
flex-direction: column;
gap: 8px;
padding: 10px;
- background: rgba(16, 22, 35, 0.92);
+ background: rgba(24, 24, 24, 0.92);
backdrop-filter: blur(6px);
box-shadow: var(--shadow-2);
}
@@ -2101,7 +2100,7 @@
.sel-rect {
position: absolute;
border: 1.5px dashed var(--accent);
- box-shadow: 0 0 0 100vmax rgba(8, 11, 18, 0.28);
+ box-shadow: 0 0 0 100vmax rgba(12, 12, 12, 0.28);
pointer-events: none;
z-index: 460;
}
@@ -2140,7 +2139,7 @@
/* round translucent backing disc so the rose reads clearly over any
imagery — same fill as the degree readout below (item 3) */
border-radius: 50%;
- background: rgba(16, 22, 35, 0.88);
+ background: rgba(24, 24, 24, 0.88);
backdrop-filter: blur(6px);
box-shadow: var(--shadow-1);
}
@@ -2168,7 +2167,7 @@
border-radius: var(--radius-1);
font-size: var(--fs-xs);
color: var(--text-1);
- background: rgba(16, 22, 35, 0.88);
+ background: rgba(24, 24, 24, 0.88);
backdrop-filter: blur(6px);
cursor: text;
}
@@ -2191,7 +2190,7 @@
align-items: center;
gap: 10px;
padding: 10px 12px;
- background: rgba(16, 22, 35, 0.92);
+ background: rgba(24, 24, 24, 0.92);
backdrop-filter: blur(6px);
box-shadow: var(--shadow-2);
}
@@ -2204,7 +2203,7 @@
color: var(--text-3);
background: var(--bg-2);
border: 1px solid var(--border);
- border-radius: 999px;
+ border-radius: var(--r-sm);
padding: 3px 9px;
white-space: nowrap;
}
@@ -2223,7 +2222,7 @@
color: var(--ok);
background: var(--bg-2);
border: 1px solid var(--border);
- border-radius: 999px;
+ border-radius: var(--r-sm);
padding: 3px 9px;
white-space: nowrap;
}
@@ -2294,7 +2293,7 @@
flex-direction: column;
gap: 4px;
padding: 12px;
- background: rgba(16, 22, 35, 0.96);
+ background: rgba(24, 24, 24, 0.96);
backdrop-filter: blur(6px);
box-shadow: var(--shadow-2);
z-index: 700;
@@ -2318,7 +2317,7 @@
}
.chip {
padding: 4px 9px;
- border-radius: 999px;
+ border-radius: var(--r-sm);
border: 1px solid var(--border);
background: var(--bg-2);
color: var(--text-2);
@@ -2667,7 +2666,7 @@
each tile onto its own GPU layer and reintroduces the white seams the
deSeamTiles() left/top positioning removes (see script). */
:global(.leaflet-control-attribution) {
- background: rgba(16, 22, 35, 0.85) !important;
+ background: rgba(24, 24, 24, 0.85) !important;
color: var(--text-3) !important;
font-size: 10px;
}
@@ -2768,7 +2767,7 @@
padding: 2px;
border-radius: var(--radius-1);
color: #fff;
- background: rgba(11, 15, 23, 0.75);
+ background: rgba(16, 16, 16, 0.75);
backdrop-filter: blur(4px);
}
.ref-pick:hover .ref-thumb {
diff --git a/frontend/src/tools/Settings.svelte b/frontend/src/tools/Settings.svelte
index b832d0d..3a76e15 100644
--- a/frontend/src/tools/Settings.svelte
+++ b/frontend/src/tools/Settings.svelte
@@ -26,7 +26,7 @@
usage: USAGE_LINKS.mapbox,
unlocks: 'Mapbox Satellite basemap',
overage:
- 'Beyond 200k free tiles/month, Mapbox bills extra tiles automatically ($0.50 per 1,000, pay-as-you-go — no hard cap available). Set a spending alert in your Mapbox account.',
+ 'Beyond 200k free tiles/month, Mapbox bills extra tiles automatically ($0.50 per 1,000, pay-as-you-go, no hard cap). Set a spending alert in your Mapbox account.',
},
{
id: 'google',
@@ -89,7 +89,7 @@
try {
await api.put('/api/settings/keys', { mapbox: keys.mapbox, google: keys.google });
testResult = { mapbox: null, google: null }; // stale verdicts for new keys
- toast('Keys saved — keyed basemaps now appear in the Satellite tab', 'ok');
+ toast('Keys saved. Keyed basemaps now appear in the Satellite tab', 'ok');
} catch (e) {
toast(`Could not save keys: ${e.message}`, 'danger');
} finally {
@@ -117,7 +117,6 @@
<div class="tool">
<div class="tool-header">
<h2>Settings</h2>
- <span class="sub">API keys & usage — stored locally, never in a case export</span>
</div>
<div class="body">
@@ -193,7 +192,7 @@
</section>
<section class="card block">
- <h3><Icon name="chart" size={15} /> Tile usage — {month}</h3>
+ <h3><Icon name="chart" size={15} /> Tile usage · {month}</h3>
<p class="hint">
Keyed providers bill per tile served. Azimut counts exactly what goes out to
each provider (live map + captures, browser cache hits excluded), so this
@@ -269,7 +268,7 @@
<section class="card block">
<h3><Icon name="shield" size={15} /> Provider terms, encoded</h3>
<ul class="rules">
- <li>Google tiles are never cached to disk, and a Google capture is a flattened screenshot with the copyright line burned into its footer — both are conditions of Google's Map Tiles API terms.</li>
+ <li>Google tiles are never cached to disk, and a Google capture is a flattened screenshot with the copyright line burned into its footer; both are conditions of Google's Map Tiles API terms.</li>
<li>Mapbox captures keep the © Mapbox © OpenStreetMap attribution in their provenance.</li>
<li>Keys are never bundled into a shared case or export.</li>
</ul>
@@ -393,7 +392,7 @@
}
.meter-track {
height: 5px;
- border-radius: 999px;
+ border-radius: var(--r-sm);
background: var(--bg-2);
border: 1px solid var(--border);
overflow: hidden;
diff --git a/frontend/src/tools/inspect/CollageCanvas.svelte b/frontend/src/tools/inspect/CollageCanvas.svelte
index d656495..dd65cfa 100644
--- a/frontend/src/tools/inspect/CollageCanvas.svelte
+++ b/frontend/src/tools/inspect/CollageCanvas.svelte
@@ -532,7 +532,7 @@
pointer-events: none;
}
.tbtn.on {
- background: var(--accent-soft);
+ background: var(--bg-3);
}
.view-ctl {
position: absolute;
@@ -543,7 +543,7 @@
gap: 8px;
padding: 3px 6px;
border-radius: var(--r-md);
- background: rgba(16, 20, 28, 0.85);
+ background: rgba(22, 22, 22, 0.85);
border: 1px solid var(--border);
}
.zoom-val {
@@ -572,8 +572,8 @@
transform: translate(-50%, -50%);
display: flex;
align-items: center;
- border-radius: 999px;
- background: rgba(16, 20, 28, 0.92);
+ border-radius: var(--r-md);
+ background: rgba(22, 22, 22, 0.92);
border: 1px solid var(--accent);
box-shadow: var(--shadow-2);
touch-action: none;
@@ -619,7 +619,7 @@
align-items: center;
justify-content: center;
border-radius: 50%;
- background: rgba(16, 20, 28, 0.92);
+ background: rgba(22, 22, 22, 0.92);
color: var(--accent);
border: 1px solid var(--accent);
cursor: grab;
diff --git a/frontend/src/tools/inspect/CollageMenu.svelte b/frontend/src/tools/inspect/CollageMenu.svelte
index 002c625..adf06bb 100644
--- a/frontend/src/tools/inspect/CollageMenu.svelte
+++ b/frontend/src/tools/inspect/CollageMenu.svelte
@@ -241,8 +241,8 @@
background: var(--bg-1);
}
.ctab.active {
- border-color: var(--accent);
- background: var(--accent-soft);
+ border-color: var(--border-strong);
+ background: var(--bg-3);
}
.ctab-name {
display: flex;
diff --git a/frontend/src/tools/inspect/CropBox.svelte b/frontend/src/tools/inspect/CropBox.svelte
index b8e7e13..58ba6c2 100644
--- a/frontend/src/tools/inspect/CropBox.svelte
+++ b/frontend/src/tools/inspect/CropBox.svelte
@@ -152,7 +152,7 @@
position: absolute;
box-sizing: border-box;
border: 1.5px solid var(--accent);
- box-shadow: 0 0 0 9999px rgba(6, 9, 14, 0.55);
+ box-shadow: 0 0 0 9999px rgba(10, 10, 10, 0.55);
pointer-events: auto;
cursor: move;
}
diff --git a/frontend/src/tools/inspect/CropControls.svelte b/frontend/src/tools/inspect/CropControls.svelte
index 30ec636..4567a11 100644
--- a/frontend/src/tools/inspect/CropControls.svelte
+++ b/frontend/src/tools/inspect/CropControls.svelte
@@ -118,12 +118,12 @@
font-size: var(--fs-xs);
}
.chip:hover:not(:disabled) {
- border-color: var(--accent);
+ border-color: var(--border-strong);
}
.chip.on {
- border-color: var(--accent);
- color: var(--accent);
- background: var(--accent-soft);
+ border-color: var(--border-strong);
+ color: var(--text-1);
+ background: var(--bg-3);
}
.chip:disabled {
opacity: 0.4;
diff --git a/frontend/src/tools/inspect/FrameMenu.svelte b/frontend/src/tools/inspect/FrameMenu.svelte
index fd753d2..84af6e2 100644
--- a/frontend/src/tools/inspect/FrameMenu.svelte
+++ b/frontend/src/tools/inspect/FrameMenu.svelte
@@ -98,7 +98,7 @@
</div>
{/each}
{#if session.frames.length === 0}
- <p class="empty">No frames yet — capture some in the Selection tab.</p>
+ <p class="empty">No frames yet. Capture some in the Selection tab.</p>
{/if}
</div>
@@ -218,7 +218,7 @@
height: 15px;
padding: 0 3px;
border-radius: 4px;
- background: rgba(6, 9, 14, 0.7);
+ background: rgba(10, 10, 10, 0.7);
color: #fff;
font-size: 10px;
font-weight: 700;
diff --git a/frontend/src/tools/inspect/SaveGallery.svelte b/frontend/src/tools/inspect/SaveGallery.svelte
index 09e49c9..2ad93fd 100644
--- a/frontend/src/tools/inspect/SaveGallery.svelte
+++ b/frontend/src/tools/inspect/SaveGallery.svelte
@@ -16,7 +16,7 @@
{#if savables.length === 0}
<div class="empty">
<Icon name="save" size={34} />
- <p>Nothing to save yet — capture frames, build a collage, or adjust the video first.</p>
+ <p>Nothing to save yet. Capture frames, build a collage, or adjust the video first.</p>
</div>
{:else}
{#each savables as it (it.key)}
@@ -124,7 +124,7 @@
position: absolute;
top: 4px;
left: 4px;
- background: rgba(6, 9, 14, 0.6);
+ background: rgba(10, 10, 10, 0.6);
color: #fff;
border-radius: 4px;
display: flex;
@@ -165,7 +165,7 @@
letter-spacing: 0.04em;
padding: 1px 5px;
border-radius: 4px;
- background: var(--accent-soft);
- color: var(--accent);
+ background: var(--bg-3);
+ color: var(--text-2);
}
</style>