Ciphon

Ciphon Style Guide

A snapshot-based guide for the current Ciphon web app. The examples below are derived from Chrome captures of the local app and from the Vue, Tailwind, and PrimeVue theme sources.

Design Principles

Dense and operational

Use compact tables, restrained spacing, and short labels. Most workflows are repeated accounting tasks, so scanning and comparison matter more than decorative layout.

Blue as action and location

Reserve strong blue for primary actions, active navigation, focused controls, and selected states. Supporting states should use quiet tinted tags.

Surfaces stay flat

Use white panels on a light gray app ground. Prefer thin borders over heavy shadows. Shadows are mainly for dialogs and overlays.

Color Palette

Primary#2196F3--p-primary-color
Active nav#2563EBborder-blue-600
Primary text#0F172A--p-text-color
Muted text#475569--p-text-muted-color
Surface#FFFFFF--surface-card
App ground and hover#F1F5F9--surface-hover
Prime border#CBD5E1--surface-border
Soft divider#E5E7EBborder-gray-200
Success tag#EEF7E8 / #4E7B2A
Warning tag#FFF3DC / #8F5A13
Error tag#FDECEC / #A73A3A
Info tag#EAF3FF / #315F9F

Typography and Rhythm

Font stack

Roboto is loaded locally at 400, 500, and 700 weights. Fallbacks are Helvetica Neue, Helvetica, Arial, and Lucida Grande.

Base scale

The app uses a 14px html root, then tightens body text to roughly 11.3px in rendered Chrome. PrimeVue controls inherit this compact scale.

Label style

Navigation and section labels use uppercase, 10 to 11px text, 700 weight, and wider letter spacing for fast scanning.

Core UI Elements

Buttons

PrimeVue buttons are normalized to 32px height. Primary actions usually sit in the left sidebar or top-right toolbar.

Tags and statuses

Ready Reviewed Unverified Failed

Tags use 10px text, pill radius, low-saturation backgrounds, and semantic foreground colors.

Inputs

Comma
Comma
Space
Parentheses

Inputs are 32px high. PrimeVue Select and Dropdown controls render slightly tighter at 30px with a white surface, compact label padding, and a separate trigger area.

Tables

NameStatusModifiedActions
Financial StatementsFolder30/05/2026 06:23...
Draftworx Spelling IndexReadyMay 29, 2026...

Rows are low-height and separated by thin borders. Action columns favor icons over text.

Functional Visual Language

Tag severity colors

These are the shared PrimeVue tag meanings used across Source Documents, Compare, and Reperformance.

Successready, completed, reviewed, passed
Infocreated, processing, notes, built-in engine
Warningin progress, unverified, warning checks
Dangererror, flagged, failed, deleted
Secondarypending, ignored, moved, neutral file type

Review state colors

Review tags describe human judgement layered on top of automated results.

Openneeds review or no action taken yet
Flaggedreviewer marked the item as requiring attention
Ignoredreviewer deliberately dismissed the item
Reviewedreviewer completed the item

File type colors

Source document rows use icon color to communicate file family before the user reads the extension.

PDFred file icon
Wordblue file icon
Excel / CSVgreen file icon
Imagepurple file icon
Folderblue folder icon

Source document statuses

StatusColorMeaning and usage
pending pending The document is known to the system but extraction or processing has not started yet.
processing processing The worker is extracting or converting the file. Use info blue because the state is active but not a problem.
completed completed Extraction or processing finished successfully and the document can be used for downstream workflows.
error error Processing failed. The row tooltip explains that there was an error processing the file.
none - Folders or files without processing metadata show a dash rather than a colored status.

Compare statuses and colors

Status or changeColorMeaning and usage
createdCreatedComparison record exists, but results are not ready.
comparingIn ProgressComparison is running. The list may append a percentage when available.
readyReadyAutomated comparison has completed and is ready for review.
reviewedReviewedThe comparison or individual differences have been reviewed.
flaggedFlaggedA reviewer marked the comparison or difference as needing attention.
errorErrorComparison failed.
unchangedUnchangedContent matched between documents. It contributes to summary counts and uses green success styling when shown.
modifiedModifiedText changed between documents. Difference cards use orange; PDF highlights use orange changed marks.
addedAddedContent appears only in the revised document. Difference cards, tags, and PDF highlights use blue.
deletedDeletedContent appears only in the original document. Cards and PDF deletion highlights use red.
movedMovedContent is substantially the same but appears in a different location. Cards use slate and the tag stays secondary.

Reperformance statuses and colors

Status or checkColorMeaning and usage
createdCreatedReperformance record exists but no completed extraction/check result is ready yet.
extractingIn ProgressThe document is being extracted or checks are being refreshed. A percentage can be shown.
readyReadyExtraction and checks are available for review.
reviewedReviewedDocument-level or check-level review is complete.
flaggedFlaggedDocument-level or check-level item has been flagged by a reviewer.
errorErrorExtraction or checks failed.
passpassAutomated check passed. Tables use green cell highlights and PDF overlays use green markers.
errorerrorAutomated check failed. Tables use red cell highlights and PDF overlays use red markers.
warningwarningCheck needs attention but is not treated as a hard failure. Tables and PDF overlays use amber markers.
infoinfoUnverified check. Amber communicates review needed without implying a failed assertion.

Page Structure

Audit UI Patterns

Requires Review
4
Unverified
8
Rated Pass Rate
100%
Sections Found
5
!
Warning / Spelling in Index

Possible spelling mistake on page 2. Audit findings are rendered as stacked, full-width review rows with small tags.

PDF Review Patterns

Comparison PDFs

Comparison detail uses a left review panel, a draggable split, and two synchronized PDF canvases. The toolbar exposes Sync scroll and Show all changes switches. Difference cards drive both PDFs, and persistent text highlights remain visible while reviewing.

Reperformance PDFs

Reperformance detail uses a left checker or statement panel and a single right PDF canvas. Overlay highlights are severity-aware, PDF clicks sync back into the left panel, and print/download can include review highlights.

Comparison PDF highlight crop from Chrome
Comparison highlight crop from Chrome
Modified / changed textOrange marks changed content. Selected text uses the strongest orange marker; Show all changes uses a lighter persistent version.
Added / revised-only contentBlue is used when content appears in the revised document but not the original.
Deleted / original-only contentRed is used when content exists in the original document but was removed from the revised document.
Moved or similar contentSlate is used when the same or substantially similar content appears in another location.
Reperformance PDF and status highlight crop from Chrome
Reperformance highlight crop from Chrome
Pass / passed checkGreen appears on passed checks, passed table cells, and pass overlays.
Error / failed checkRed appears on failed checks, failed table cells, and failed overlay markers.
Warning, info, or unverifiedAmber covers warnings, spelling highlights, info checks, and unverified rows that require review.
Neutral or inactive overlaySlate marks neutral overlay context. Blue focus outlines are used only for the currently selected linked PDF item.

Linked review list

!
Moved / P1 -> P2

Selected review rows use tinted backgrounds, thin borders, and compact action buttons.

!
Unverified / Index

Financial checks and differences share the same operational review rhythm.

1 / 7 | 84% | - + | print | download

Dialogs and Overlays

Chrome Screenshot Set

Workspaces table view
01 - Workspaces: top navigation, left filter rail, primary action, search, and data table.
Sheets file browser
02 - Sheets: file browser layout, segmented filters, toolbar actions, and storage meter.
Source documents file browser
03 - Source Documents: document categories, folder rows, status column, and icon-only actions.
Templates table
04 - Templates: template rows, system and AI tags, longer descriptions, and table density.
Ask and Review loading dialog
05 - Ask & Review: split assistant layout with a live model-loading modal state.
Reperformance overview table
06 - Reperformance Overview: audit queue counts, status tags, review counts, and table rows.
Reperformance detail page
07 - Reperformance Detail: audit side navigation, summary metrics, findings, and review rows.
Settings dialog
10 - Settings Dialog: modal overlay, tabbed settings, form controls, and footer action.
Comparison queue
09 - Compare: audit comparison queue with review state, counts, and icon actions.
Comparison detail with dual PDF viewer
12 - Compare PDF Detail: resizable differences panel, synchronized original/revised PDFs, persistent highlights, and floating PDF controls.
Reperformance detail with PDF overlay
13 - Reperformance PDF Detail: index checker, linked review table, right-side PDF canvas, overlay highlighting, and print/download controls.

Additional captures are stored in the screenshots folder for the Ask loading variation and profile dialog. The profile capture is not embedded here because it displays test account identity.

Implementation Sources

  • apps/frontend/src/main.ts defines the PrimeVue Material preset and maps the primary scale to blue.
  • apps/frontend/src/assets/tailwind.css normalizes control density, tag colors, table spacing, and SpreadJS font scale.
  • apps/frontend/src/assets/styles.scss defines audit highlights, diff styling, drop zones, and PDF overlays.
  • apps/frontend/src/layout/AppTopbar.vue defines the rendered top navigation and active-tab treatment.
  • apps/frontend/src/components/FileExplorer/FileExplorer.vue renders Source Document processing statuses and maps pending, processing, completed, and error to tag severities.
  • apps/frontend/src/components/FileExplorer/fileIcons.ts maps file families to PDF, Word, spreadsheet, image, archive, data, and folder icon colors.
  • apps/frontend/src/types/comparison.ts defines Compare document statuses, change types, labels, and tag severities.
  • apps/frontend/src/types/reperformance.ts defines Reperformance document statuses, check severities, review states, labels, and tag severities.
  • apps/frontend/src/components/comparison/DualPdfPanel.vue implements synchronized dual-PDF comparison review, floating controls, and persistent change highlights.
  • apps/frontend/src/components/CanvasPdfViewer.vue draws the comparison PDF marker palette for modified, added, deleted, moved, selected, and persistent highlights.
  • apps/frontend/src/components/reperformance/detail/PdfPanel.vue implements the single-PDF reperformance panel, severity overlays, PDF click navigation, and annotated print/download actions.
  • apps/frontend/src/components/reperformance/CanvasPdfViewer.vue draws the marker-style severity overlays used by the reperformance PDF panel.
  • docs/style-guide/chrome-style-snapshot.json stores sampled Chrome computed styles from the workspaces view.