# forbaska.css — full reference
> Shared CSS design system for small single-page tools (forms, lists, tables, planning sheets). Plain CSS, no build step, `forbaska-` namespace.
Do not redesign the visual language into generic Tailwind/SaaS conventions. Preserve the rough, editorial, production-oriented character even when implementing standard UI components.
## Usage
```html
```
- No build step, no framework required. Use `forbaska-` classes and `var(--forbaska-*)` tokens.
- Never hardcode colors, spacing, radius or fonts. Use tokens.
- Do not add Tailwind, Bootstrap or other CSS frameworks alongside it.
- Light/dark follows the system setting (`prefers-color-scheme`). Never add a manual theme that fights this, and never use hardcoded colors that break in dark mode.
- Page-specific CSS is fine, but build it from tokens and follow the principles below.
## Design principles
- Professional, not corporate. Raw, not messy. Minimal, with clear personality. Slightly challenging. Function first: used for small tools, forms, lists, planning.
- Clear enough that any user can use it without explanation.
- Base is warm off-white (light) or near-black (dark). Text is near-black / off-white, never blue-grey.
- Orange (`--forbaska-color-accent`) is a sparse signal color: primary action, active state, one highlight per view. Not a general theme color.
- Hard, visible borders matter more than shadows. When shadows are used they are hard and graphic (`--forbaska-shadow-hard`), never soft or blurred.
- Radius is minimal: 0–5px. Default is 0–2px.
- Typography is compact and editorial. Big headings are tightly set. Use monospace for metadata, timecodes, labels, statuses, IDs. Use uppercase labels, small markers and numbering as visual devices.
- Avoid: large soft cards, big border-radius, blue/purple gradients, glassmorphism, airy marketing sections, generic startup aesthetics, `rounded-xl shadow-sm bg-card` patterns.
- Avoid gimmicks and themed decoration: no film reels, clapperboard icons or cinematic gradients. Character comes from typography, structure, metadata and rhythm.
- Test for every component: could this only have been made for this specific small, uncompromising design profile, or does it look like a random SaaS template? If the latter, simplify and make it more editorial.
## Tokens (CSS custom properties on :root)
Color: `--forbaska-color-bg`, `-surface`, `-surface-strong`, `-text`, `-text-muted`, `-text-faint`, `-border`, `-border-soft`, `-accent`, `-accent-hover`, `-accent-soft`, `-on-accent`, `-success`, `-warning`, `-danger`
Font: `--forbaska-font-sans` (Arial Narrow stack), `--forbaska-font-mono`
Font size: `--forbaska-font-size-xs` .75rem, `-sm` .875, `-md` 1, `-lg` 1.25, `-xl` 1.75, `-2xl` 2.5, `-3xl` 4
Line height: `--forbaska-line-height-tight` .95, `-heading` 1.05, `-body` 1.45
Weight: `--forbaska-font-weight-normal|medium|bold|black`
Letter spacing: `--forbaska-letter-spacing-tight|normal|wide`
Spacing: `--forbaska-space-1` .25rem, `-2` .5, `-3` .75, `-4` 1, `-5` 1.5, `-6` 2, `-7` 3, `-8` 4, `-9` 6
Border: `--forbaska-border-width` 1px, `-strong` 2px, `-brutal` 4px
Radius: `--forbaska-radius-none|sm|md|lg|pill`
Shadow: `--forbaska-shadow-none`, `--forbaska-shadow-hard`, `--forbaska-shadow-hard-sm`
Layout: `--forbaska-content-width` 72rem, `--forbaska-content-width-narrow` 48rem, `--forbaska-page-gutter`
Interaction: `--forbaska-transition-fast` 100ms, `-medium` 180ms, `--forbaska-focus-ring`
Z-index: `--forbaska-z-base|raised|overlay|modal`
## Base styles
Applied to plain elements, no class needed: body (bg/text/font), `h1`–`h4` (black weight, tight letter-spacing; h4 is an uppercase label), `a` (underlined, accent on hover), `hr`, `code`/`kbd`/`samp` (mono), `::selection` (accent), focus ring on `:focus-visible`.
## Layout classes
- `forbaska-container` — centered, max `--forbaska-content-width`, page gutters. `forbaska-container--narrow` for forms and reading.
- `forbaska-section` — vertical padding; consecutive sections get a 2px divider.
- `forbaska-stack` — vertical flex, gap 1rem. Modifiers `forbaska-stack--sm`, `forbaska-stack--lg`.
- `forbaska-row` — horizontal flex, wraps, centered. Modifiers `forbaska-row--between`, `forbaska-row--end`.
- `forbaska-grid` — responsive auto-fill grid, min 16rem columns.
- `forbaska-header` — top bar with a 4px bottom border.
- `forbaska-sr-only` — visually hidden, available to screen readers.
```html