# AIS Group brand rules

Version 1.0. Follow these rules exactly. When a rule and an example disagree, the rule wins. Human-readable guide: /en/

## Essentials

1. **Keep it simple:** one purpose, the plainest layout, design and implementation that serve it. Linear’s website and Apple Notes are the bar. Cut taglines, helper text, subtitles, eyebrows and secondary labels; if something only makes sense with them, fix the layout instead. A decision ships only if it improves user, developer and agent experience at once. When two rules disagree, this one wins.
2. Write the names exactly: **AIS Group**, **AIS Vision Systems**, **AIS Vision Automation**, **AIS Scanology**, **Rosepetal** (one word, capital R only). Never translate them.
3. The brand colour is **blue `#17356E`**. One-colour jobs use this blue; black only where the production can print nothing else.
4. Use only the supplied logo files: blue on light backgrounds, white on blue or dark, black only for black-only printing and AIS website headers on white. Never redraw, recolour, stretch or regenerate a logo.
5. Set everything in **Inter** (Regular 400, Medium 500, Semibold 600) with the text styles on the Typography page; code and machine values in **JetBrains Mono**. Fall back to Arial only when Inter cannot be installed.
6. Use **sentence case** for every headline, title, button and label, in every language.
7. **Eight core colours** carry the brand. Every other colour is a step of their scales (blue 50–950, neutral 0–900) or a status colour; charts add the data colours. Never use a colour outside the palette or a nearby value.
8. **Show proof, not claims:** real machines, real screens, measured results with their conditions. No superlatives or invented figures.
9. Draw icons and arrows with **Lucide**, the library the Rosepetal design system uses: used as shipped (2 px stroke on its 24 px grid). Never type Unicode arrows, ticks or emoji (`→`, `✓`, `•`) as icons.
10. **Localise, do not translate:** write English, Spanish and Catalan natively, with each language’s own conventions.

## Colour roles

- Primary button (`--primary`): `#17356E` (light), `#7C9FD7` (dark)
- Primary button, hover (`--primary-hover`): `#10254C` (light), `#A7BFE4` (dark)
- Links, text actions and focus rings (`--info`): `#3664B3` (light), `#7C9FD7` (dark)
- Text (`--foreground`): `#0F1729` (light), `#F1F5F9` (dark)
- Secondary text (`--muted-foreground`): `#4B5563` (light), `#94A3B8` (dark)
- Page background (`--background`): `#FFFFFF` (light), `#0B1220` (dark)
- Page behind the cards (`--page`): `#F1F5F9` (light), `#0B1220` (dark)
- Cards, popovers and menus (`--card`): `#FFFFFF` (light), `#111A2E` (dark)
- Dividers and borders (`--border`): `#E2E8F0` (light), `#1E293B` (dark)
- Top bar (`--topbar`): `#17356E` (light), `#111A2E` (dark)
- Highlights on blue (`--brand-muted`): `#A7BFE4` (light), `#A7BFE4` (dark)
- Success (`--success`): `#15803D` (light), `#4ADE80` (dark)
- Warning (`--warning`): `#D97706` (light), `#F59E0B` (dark)
- Error (`--destructive`): `#DC2626` (light), `#F87171` (dark)
- First chart series (`--chart-1`): `#3664B3` (light), `#517FC9` (dark)

## Colour values

- `#EDF2FA` blue-50: Soft surface
- `#B8CDE6` blue-100: Info tint
- `#A7BFE4` blue-200: Light blue
- `#7C9FD7` blue-300: Dark action
- `#517FC9` blue-400: Dark chart
- `#3664B3` blue-500: Action
- `#1E4591` blue-600: Action hover
- `#17356E` blue-700: Brand
- `#10254C` blue-800: Deep section
- `#111A2E` blue-900: Dark card
- `#0B1220` blue-950: Dark page
- `#FFFFFF` neutral-0: White
- `#F8FAFC` neutral-50: Navigation
- `#F1F5F9` neutral-100: Section
- `#E2E8F0` neutral-200: Divider
- `#CBD5E1` neutral-300: Strong divider
- `#94A3B8` neutral-400: Dark muted text
- `#64748B` neutral-500: Field border
- `#4B5563` neutral-600: Secondary text
- `#334155` neutral-700: Dark field border
- `#1E293B` neutral-800: Dark surface
- `#0F1729` neutral-900: Text
- `#15803D` success: Success
- `#D97706` warning: Warning
- `#DC2626` danger: Error

## Logo files

- ais-group, on light backgrounds: /logos/ais-group-blue.svg
- ais-group, on blue or dark backgrounds: /logos/ais-group-white.svg
- ais-group, black-only printing and website headers on white: /logos/ais-group-black.svg
- ais-vision-systems, on light backgrounds: /logos/ais-vision-systems-blue.svg
- ais-vision-systems, on blue or dark backgrounds: /logos/ais-vision-systems-white.svg
- ais-vision-systems, black-only printing and website headers on white: /logos/ais-vision-systems-black.svg
- ais-vision-automation, on light backgrounds: /logos/ais-vision-automation-blue.svg
- ais-vision-automation, on blue or dark backgrounds: /logos/ais-vision-automation-white.svg
- ais-vision-automation, black-only printing and website headers on white: /logos/ais-vision-automation-black.svg
- ais-scanology, on light backgrounds: /logos/ais-scanology-blue.svg
- ais-scanology, on blue or dark backgrounds: /logos/ais-scanology-white.svg
- ais-scanology, black-only printing and website headers on white: /logos/ais-scanology-black.svg
- rosepetal, on light backgrounds: /logos/rosepetal-blue.svg
- rosepetal, on blue or dark backgrounds: /logos/rosepetal-white.svg
- rosepetal, black-only printing and website headers on white: /logos/rosepetal-black.svg

## Image types and reference images

- Machine (Real photograph first): This is what we build. The real machine in a studio on a light grey seamless background. Three-quarter view from operator eye height, soft even light, the whole machine in frame with room around it, screens on and showing the real interface. Until a photograph exists, an exterior view from the engineering model on the same background, every guard closed. /library/photos/hopper_exterior.jpg /library/photos/rev360-compact_exterior.jpg /library/photos/rev360-pharma_vials-three-quarter.jpg
- In production (Real photograph first): It runs in a real factory. The machine installed in its real line, shot at working height with product flowing. Available light balanced with fill; the background reads as a factory without becoming the subject. Operators may appear with their consent. /imagery/line-1.webp /imagery/line-2.webp /imagery/line-3.webp
- Detail and result (Photograph, render, or generated if credible; overlays drawn on top): This is what the system sees and decides. A matched pair from the same viewpoint and light: the good part, and the same part with one real-world defect such as a missing tablet, a scratch or a crooked cap. Photographed, rendered or generated, the image never contains the detection: boxes, masks and the verdict are drawn on top in the layout with the overlay kit, in brand colours only. Real results with figures always come from the system itself. 
- Interface (Real screenshot only): This is the software, and it is real. Real screenshots at 1× or 2×, cropped to the task, with a demo dataset or anonymised customer data. No browser frame unless the context needs one, and no retouched values. Photographs of the screen in use on the line are welcome. 
- Industry subject (Photograph, render, or generated if credible): We know your product. A still life of the product category: machined parts, circuit boards, blister packs, bottles. Dark slate or light grey matte surface, one soft key light from the upper left, shallow depth of field, neutral grade. No brands, text or people. /imagery/subject-1.webp /imagery/subject-2.webp /imagery/subject-3.webp
- People (Real photograph first): These are the experts you will work with. Portraits from the shoulders up on a light neutral background, soft natural light, eye contact, everyday work clothes. At events, keep the stand and a machine in frame. 

## Brand architecture

- The brand that delivers the work signs the piece; AIS Group signs joint communication. Endorse with the separate line «Part of AIS Group», never a lock-up.
- AIS is always three capitals and never stands alone.
- AIS Vision Systems contact block: Can Camps, 10, 08202 Sabadell (Barcelona), +34 931 003 035, info@aisvision.com.

## Logos

- Use only the supplied logo files: blue on white and light backgrounds, white on the brand blue, navy or dark photos, black only for black-only production and AIS website headers on white.
- Clear space is one quarter of the logo’s total height on every side, descriptor included.
- Minimum widths: AIS Group 48 px or 15 mm, AIS Vision Systems 100 px or 18 mm, AIS Vision Automation 110 px or 20 mm, AIS Scanology 95 px or 17 mm, Rosepetal 130 px or 24 mm. The logo signs and never leads: 20 mm for AIS Vision Systems and 38 mm for Rosepetal on A4, 140 px on a 1920 px slide.
- Software uses the app mark (the AIS Λ or the Rosepetal «o»: `ais-mark-*.svg`, `rosepetal-mark-*.svg`, app icons in `logos/app/`, website favicons in `logos/favicons/`), at 24 px in a sidebar or header and never under 16 px. Everything else uses the full logo.

## Colour

- Use the eight core colours for their roles: brand `#17356E` for the logo, primary buttons and closing bands; blue-800 `#10254C` for deep sections, footers and primary buttons on hover or press; action blue `#3664B3` for links and text actions, which turn blue-600 `#1E4591` on hover; light blue `#A7BFE4` for highlights and links on blue backgrounds.
- Text is ink `#0F1729`; secondary text is `#4B5563`. On dark backgrounds use `#F1F5F9` and `#94A3B8`.
- Success `#15803D`, warning `#D97706` and error `#DC2626` mean status only, always with a word or icon. The same success green carries success text and icons and is the fill under white text; `#16A34A` is not used (3.3:1 on white).
- Every other colour is a step of the blue (50–950) or neutral (0–900) scale, or a status colour. Never use a colour outside the palette, an approximate blue or a gradient. The black logo is only for black-only printing and AIS website headers on white.

## Typography

- Set all text in Inter (weights 400, 500 and 600) and code or machine values in JetBrains Mono. Use Arial only where Inter cannot be installed, and then for the whole piece.
- Websites and documents use only the ten text styles (`--ais-text-display` to `--ais-text-caption`), in documents at the point sizes below. Product interfaces use the product scale and video its own title sizes. Never invent a size, tracking or weight between them.
- Headlines are weight 500, sentence case, at most three lines, never all capitals. Semibold 600 is allowed only for video titles, document headings and chart titles; Bold 700 is never used for headings, except Arial Bold in email, which has no Medium.
- Body text is 16 px on 1.6 leading, 68 characters per line by default and 75 at most, left aligned, never justified.
- Use tabular figures (`font-variant-numeric: tabular-nums`) wherever numbers line up in a column: table number cells, counters and prices. Not in running text or specification values.
- Text in chips, badges and buttons is centred on its cap height, never on the font box.

## Layout and shape

- Use only the spacing tokens (--ais-space-050 to --ais-space-1600, a 4 px base on an 8 px rhythm). Never use values between them, such as 6, 10, 14, 18 or 22 px.
- On websites and documents, content stops at 1440 px with fluid side margins of 24 to 64 px, on a 12-column grid (8 below 900 px, 4 below 600 px), and sections sit 64 to 128 px apart. Product interfaces are full width.
- Websites and documents use the breakpoints 600, 900, 1200 and 1440 px, written mobile-first with min-width. Never add another. Product interfaces use the Tailwind breakpoints of the design system; Node-RED panels keep the FlowFuse grid and breakpoints.
- Websites are square everywhere: buttons, cards, menus, dropdowns, dialogs and notices. The one exception is a product screen shown as a window, which takes the window’s 4 px corner. Product interfaces take their corners from `@aisgroup/design` and never override them. Fully round only for avatars, dots and toggles.
- Borders separate content; shadows only for things that float (menus, dialogs, toasts). Cards never cast a shadow, not even on hover.
- Rules separate, they never frame: a line goes between the rows of a list or table, never after the last row and never above or below a block that already has one. Two lines with nothing between them are a fault. Text sits centred between its rules, with the same space above and below.

## Imagery

- Choose every image from the six image types by what it has to say: Machine, In production, Detail and result, Interface, Industry subject, People.
- Start from real photographs and screenshots, product renders built to real dimensions, and exterior views of our machines from engineering models, every guard closed.
- A generated or composited image is used only when the end result is credible at its final size: no garbled or invented-looking text, no impossible geometry or light, never a different machine than the one named, client brands blurred.
- Never let an image model draw boxes, masks, labels, verdicts or text. Draw detections with overlay.mjs from a JSON spec, in the overlay kit colours only.
- Overlay chips never cover what was inspected, and their text is centred on the cap height.
- Never show floating holograms, glowing sci-fi light, robots with faces, invented brands or text baked into an image.
- Never show a picture larger than its medium allows: 1.25× its native size in print and on carousel slides, 1.3× in a deck’s photo panel (deck covers always fill their panel) and 1.5× on a single post.
- Product renders sit on the section grey sweep with no conveyors or rails. Where a conveyor appears, its belt or chain is brown, grey or blue, never green, and its side guides are metallic.
- Marketing screenshots carry no test or admin data and are cropped at panel borders.

## Icons

- Use Lucide icons only, as shipped: 24 px grid, 2 px stroke, round caps and joins, no fill. Never redraw, edit or mix in another library.
- Never type Unicode arrows, ticks or bullets (`→`, `✓`, `•`) or emoji as icons.
- Icons take the colour of their label (currentColor). Status colours only for status.
- Sizes are 16, 20 or 24 px; at 32 px and above, keep the stroke at 2 px with absoluteStrokeWidth.
- An icon sits before its label, centred on the label’s cap height, 8 px apart. Icon-only buttons need an accessible name and a 44 px target; desktop product toolbars may use 36 px buttons with 16 px icons.

## Data visualisation

- Choose the chart by its job: bars to compare, lines for change over time, a single figure for one number, a table for exact values. Never pies with more than three parts, 3D, or two y-axes.
- Series colours come from the six data colours in fixed order (--ais-data-1 to -6), never cycled or reordered. A seventh series becomes «Other» or small multiples.
- Magnitude uses one hue, light to dark (--ais-seq-*). Values above and below a reference use orange and blue around a neutral grey (--ais-div-*).
- Status colours (success, warning, error) mean status only, with an icon or word, and are never a series colour.
- Text never takes a series colour; a legend appears from two series, direct labels on up to four, and every chart has a table view.

## Motion

- Use only the motion tokens: seven durations (--ais-duration-*), three curves (--ais-ease-standard, -enter, -exit) and the fixed distances. Never invent a duration or a curve.
- Animate transform and opacity only, plus grid-template-rows for accordions. Never animate layout, colour gradients or blur.
- Interfaces use durations up to 240 ms; only websites use 500 ms and above, for arrival, scroll reveals and headlines.
- Content is visible without JavaScript; motion only enhances it. Every animation stops under prefers-reduced-motion.
- No bounce, elastic, parallax, scroll smoothing libraries, hover lifts, decorative loops or animated logos on the web.

## Light and dark themes

- Only the Rosepetal app has a dark theme. Websites, print, presentations, social media and email are light; dark appears there as deep-blue sections, brand-blue grounds and dark pieces built from the same palette, never as a theme switch.
- In the app, `.dark` on `<html>` switches the theme: the user's choice first, then the system setting. Components take every colour from the `@aisgroup/design` tokens, so they need no colours of their own for dark mode.
- Dark mode: page `#0B1220`, cards `#111A2E`, borders `#1E293B`, text `#F1F5F9`, secondary text `#94A3B8`, actions and links `#7C9FD7` with ink `#0F1729` on filled buttons; success `#4ADE80`, warning `#F59E0B`, error `#F87171`.
- Logos: blue on light grounds, white on dark ones. App icons keep the white mark on the brand-blue tile in both themes; website favicons are blue in light mode and white in dark mode.
- Brand blue, the solid status fills, overlays, tag colours and the orange and cyan data colours keep one value in both themes. Photographs are never recoloured for a theme.
- Product screens in marketing show the app in light mode; a dark screen appears only in a piece that is dark as a whole, and never next to a light one.

## Accessibility

- Meet WCAG 2.2 level AA on every website, product interface, document and video.
- Text reaches 4.5:1 against its background, or 3:1 at 24 px or 18.7 px bold (14 pt); control borders, focus rings and meaningful graphics reach 3:1. Use the approved pairings only.
- Never use colour alone to carry meaning: status, chart series and detections also carry a word, an icon, a label or a pattern.
- Everything works with a keyboard, shows the brand focus ring, and offers targets of at least 24 × 24 px. Touch, gloved-operator and icon-only targets on websites and operator screens are 44 × 44 px; desktop product toolbars may use 36 px buttons.
- Every informative image, chart and illustration has a text alternative; decorative ones are hidden from assistive technology. Videos have captions.
- Pages declare their language, use headings in order, and keep text as real text, never as images of text.

## Voice

- Name the object, the defect and the line condition. Never write «any defect», «all products» or «maximum precision».
- Every figure carries its metric, baseline, conditions and date, and comes from the figures register. Label it measured, estimated, target or illustrative.
- Never write absolutes or unproven firsts: zero defects, 100% detection, perfect, the best, world-leading, revolutionary, unmatched.
- AI is a tool with a task. Say what the model does, what data it needs and what a person reviews.
- Every piece ends with one call to action from the approved set, in the imperative, naming its destination. Never «Learn more» or «I want…».
- Write brand and product names exactly as in the names table on Brand architecture.
- Write so nobody could take it for generated text: short sentences, real figures with their source, no hype words, no em-dash habit, no «not only… but also», no padding in threes, no rhetorical questions in body copy, no closing summaries, no helper text.

## Localisation

- Localise, never translate word for word. A native writer of the target language rewrites the piece, and a different native reviewer checks it before it ships.
- Follow each language’s authority: the IEC for Catalan spelling and TERMCAT for Catalan terms, the RAE for Spanish, and British spelling with -ise for English.
- Numbers, dates and times follow the table on this page, with a non-breaking space between a number and its unit or % sign in every language that spaces them.
- Every text passes LanguageTool, the spelling dictionary and the brand checks for its language before publishing. Each remaining flag is fixed or recorded as a false positive.
- Machine translation is a draft only. It is never published without a native review.

## Documents and presentations

- Every example names its product or source piece and uses one coherent excerpt. Keep the source’s exact figures and conditions; never combine facts from different products.
- The print system uses body text at 10.5 pt on 15 pt; the smallest print text is 8.5 pt. Presentation body text is 38 px on 52 px; labels are 28 px on 38 px and slide numbers are 22 px on 32 px at 1920 × 1080.
- AIS Vision Systems sector presentation covers use «Engineering peace of mind»; the corporate presentation uses «Automated quality control», in English.
- Every table uses one style: column titles in small Semibold secondary text over a `--ais-neutral-300` rule, rows split by `--ais-border` hairlines and none after the last; no fills, stripes, frames or vertical rules. Text is left-aligned; numbers are right-aligned in tabular figures, with the unit once in the column title. A missing value is a dash (–).
- Tables sit on white or section grey, never on brand or deep blue. A slide holds at most five columns and six rows; posts carry no tables.
- One product’s properties go in a specification block (label in secondary text, value in ink), never in a bulleted list or a sentence.
- Four ways to make text stand out, and no others: emphasis (Semibold on a few words), the key figure (the number in brand blue, what it counts, its condition in secondary text), the quote (a named person’s exact words, the name in Semibold, the role in secondary text) and the note (one small line in secondary text). Never colour, italics, underline, capitals, a fill, a box, a side bar or a quote-mark graphic.
- A comparison shows two pictures of the same subject at the same crop and scale, the reference on the left, each state named under its picture with circle-check or circle-x in the status colour.
- Process steps are three to five in one row, numbered in the single hexagon and joined by a hairline, each with a short title and one line.

## Social media

- One message per post, one idea per slide. If it needs a second headline, it is a second post.
- No line above or beside the headline: no product name, eyebrow, tagline or subtitle. The only second line is a quote's author or a figure's source.
- Real first: our machines (photographs, or exterior views from engineering models), lines, screens, stands and people. A generated or composited picture only when it is credible at feed size, as Imagery says. Stock photographs only for context (a line, a product, a plant), under a licence with no attribution (Unsplash, Pexels, CC0), never shown as our machine, our software or a customer.
- The picture proves the words. If the headline names a defect, the picture shows the system finding it.
- Start from a template in the AIS Group Design plugin and check it before publishing. Never edit an old post or a screenshot.
- One approved call to action per piece, from the list in Voice.
- LinkedIn banners come from the Marketing kit: brand blue, the hexagon landscape and one approved line, with nothing above it. Words stay clear of the page logo and the profile photo, and the landscape never runs behind them.
- **Blue, for machines, screens and events:** the photograph across the top with a clean, hard edge, then a solid brand-blue panel with the white headline. No fade and no gradient.
- **White, for products and detections:** the headline at the top, the picture under it filling its band: a product group cropped close, never a small packshot in a white field. When a wide group leaves room, the headline grows into it. Only the detection marks sit on the picture. Carousel content slides are white; a cover is white or blue, so the feed alternates.
- **Brand blue, for results and quotes:** solid brand blue (or white, to keep the feed alternating) and no photograph; the figure or the exact words fill it, and the figure’s source or the quote’s author is the one second line. The closing slide of a carousel is brand blue too, with the one call to action.
- **Nothing above or beside the headline:** one purpose, the plainest layout. Cut taglines, helper text, subtitles, eyebrows and secondary labels; if something only makes sense with them, fix the layout instead. A post or a slide carries the headline, the detection marks' own labels (OK or NOK and the defect name), a quote’s author or a figure’s source, the carousel step number and the logo, nothing else; the product’s name goes in the post text. The plugin’s check fails any other line.
- **The logo signs at the foot**, small: 120 px wide for AIS Vision Systems on a 1080 px post. Inner carousel slides carry no logo, only the step number in a flat-top outline hexagon.
- **The default hexagon pattern** on posts, one size, as hairlines that thin out from one corner, flush to the edges: the hairline colour on blue, a pale brand-blue line on white. Always in the corner the words leave free, never over the photograph or behind text (see [Imagery](/en/imagery/)).
- **No huge empty space:** the picture’s subject covers at least 55% of its band, and no empty strip taller than 12% of the post sits between two elements. The plugin’s check measures both.
- **Every word at 4.5:1 or more** against what is really behind it, and the headline in sentence case, broken by phrase.
- **The accent colour** only on the closing phrase of a headline, on one or two slides of a piece.
- **One campaign, one system:** the same headline, picture and call to action in every format, and never a different blue.
- Every post and carousel cover takes one of three looks on the same grid, and a set mixes them so the feed alternates: a third to half of the posts blue.

## Marketing kit

- Start from a kit template or the latest accepted piece; never from an old file, a screenshot, a rejected first-generation layout or an image you cannot trace.
- Replace every dotted-underline placeholder before a piece leaves the company; placeholders are words, never [square brackets]. A figure needs its source; a customer, their written approval; a person, their consent.
- Keep the ground, the type sizes and the logo position of the template. Change the words and the photograph, not the system.
- Print documents (brochures, catalogues, datasheets) use the print system only: a cover, picture tiles, hexagon icons, calm pages with few rules, one contact band.
- A cover picture is the sharpest image the piece has, printing at 240 ppi or more, never a video frame. A rebuild keeps the pages, products and picture count of the original piece.
- Print pieces are proofs: send the PDF and the HTML to the printer with the original photographs, and ask for their profile and bleed (3 mm).

## Video

- Film real lines, real parts and real people. Hold every shot at least 2 s (1.5 s in event recaps) and cut. The blue wipe is the main transition; a 13-frame cross-dissolve is allowed between shots of the same scene.
- Use the seven footage templates below or the product-interface workflow. Every video ends on the end card. Only films longer than 60 s open with the logo; shorter films open on the most telling shot.
- Graphics move with the motion tokens, converted to frames. Nothing bounces, spins, glitches or flies in.
- Text is Inter, sentence case, inside the title-safe area, and never smaller than 32 px at 1080p.
- Every video has captions. Social video carries them burned in; web video carries a caption file too.
- Deliver at 25 fps, Rec. 709, loudness −14 LUFS for web and social, −23 LUFS for events and broadcast.

## Website components

- Websites are Astro sites with their own components, styled on brand.css (the `--ais-*` tokens) through a short layer of site roles: action, link, ink, muted, line. A theme changes the roles, never a component. Never type a colour or a size, and never restyle a part per page.
- Websites do not use theme.css, the app’s registry or Vue: the app’s components carry its rounded corners and screen density.
- Websites are square, except a product screen shown as a window (4 px). Form fields are 48 px with the 3:1 field border.
- Calls to action are 44 px split buttons, square, label plus a separate arrow segment: the same size in headers, cards and pages, on every site. On a brand-blue band and on dark surfaces the button is white.
- Text actions are action-blue links with a 20 px arrow that moves 3 px on hover; back links point left; links in running text are underlined, with no arrow.
- Cards are links with no box, shadow or lift, in four layouts: stack, row, text and featured. On hover the title turns action blue, the arrow nudges and the photograph eases to 103%.
- A page’s H1 is Title size; Display is only for the home page and campaign openers.

## Web assets

- Use website images from the Web assets files, never saved from a live site or a screenshot.
- Never use blog or news photos as brand imagery.

## Using the components

- Install `@aisgroup/design` instead of copying its files. A fix to a component is made in the package (`packages/design`) and published as a new version.
- Never add a Button or Badge variant, never override a component's radius, and never use `[&_…]` selectors to restyle a part.
- Icon-only buttons have an `aria-label` and a Tooltip.
- Every async section has a loading state (Skeleton or Spinner), an empty state and a failure state with Retry.
- Use the stock shadcn-vue components from `@aisgroup/design` with their own variants and sizes. Classes are for page layout only: grid, flex, gap, width, position.
- Every colour is a token from `@aisgroup/design/styles.css`. No palette classes such as `bg-gray-500` and no hex values in templates.
- Status is a toned icon and a word (Finished, Pending, Failed). Never colour alone and never tinted pills.
- Sentence case for every title, label and button. No middle dots or Unicode arrows. Anything people read is at least 14 px; 12 px only for chart axes and keyboard keys.
- Use a block wherever one fits (TopBar, PageLayout, LoginPage, ConfirmDialog). When an app’s own design notes disagree with the package, the package wins.
- Dialog footer buttons carry text only. A dialog closes on a click outside or Esc, except while its action runs.

## Pages

- Every page is a PageLayout: its title, at most one muted line and the actions at the right. No icon tile, greeting, badge or count beside the title.
- A section is a header (h2, at most one muted line, actions at the right) and its content. Sections are separated by space, never by a line or a box around them.
- One surface level: the page, then cards. Never a card or a bordered box inside a card, and never a table in a bordered box of its own.
- Missing content is an Empty in its place, as tall as the content it stands for. A no-permission or error message is never a short dashed box with the page blank below it.
- A dashboard shows its figures in Figure cards and gives each subject a Card with real content.
- A role or a category is plain text, a status is a toned icon and the word, and Badge is for counts and short neutral labels. No coloured pills and no decorative colour.
- Sentence case, no capitals or letter-spacing. No eyebrows, taglines, helper footnotes, subtitles that repeat the title, secondary labels or lists joined with middle dots.
- Start from the component’s example in this guide: the screen should look like it.

## Downloads

- Build every product with Tailwind v4 on ais-theme.css, the Rosepetal products' own tokens: colours, type and radius come from its classes, never typed in. Websites use ais-tokens.css with their own components.
