Skip to content
OAIT Design System

Design system

OAIT Design System: instructions for AI tools

You are building an interface for a product of the Office of AI Transformation (OAIT) at Global University, Beirut: oait.app, Global ID, Global Jobs, Global Games, Tamakkan, or a new "Global " product. The product may be a website, a web app, or a mobile app: for a mobile app (native iOS or Android, Flutter, React Native, or a shell around the web UI) read section 13 after sections 1 to 9. Follow this file exactly. It is self-contained: the rules, the setup, every token you need and a recipe for every component are below. The detailed docs it points to explain the reasons and the edge cases; read them when a case is not covered here.

Version 2.1.0. Values come from tokens/tokens.source.json; rules from audit/canonical.md and the rulings in audit/rulings.md. Where this file and a component page disagree, the component page wins and this file has a bug.

1. Non-negotiable rules

  1. Tokens only. Every color, size, radius, shadow, duration, easing and z-index comes from a token: Tailwind utilities from tokens/tailwind.css or CSS variables from tokens/oait.css. No hex values, no Tailwind palette colors (bg-blue-500 produces no CSS here), no arbitrary text-[15px], tracking- or leading-.
  2. Orange is a fill; primary-ink is the orange text. bg-primary always carries text-on-primary. Orange text, icons and thin lines are text-primary-ink. Never write text-primary (2.63:1, fails contrast).
  3. One main action per view. One filled button (bg-primary, 56px on key screens) in the content of a view. Other actions are outlined, tonal or text buttons.
  4. Warm neutrals, depth by tone. Pages sit on surface; group with surface-container-* tints and 1px outline-variant hairlines. Two shadows only: shadow-elevation-1 (a focal card) and shadow-elevation-3 (menus, dialogs, sheets, snackbars).
  5. State layers, never hover colors. Hover and press are an 8% / 12% layer of the content color over the control. Nothing lifts, scales, glows or changes to a darker hex.
  6. One focus ring. 3px solid --color-focus-ring, 2px outside the edge, drawn by the base layer on :focus-visible. Never remove it, animate it or replace it with a box-shadow.
  7. 48px targets. Every interactive element is at least 48×48px, or extends its hit area with an ::after to 48px.
  8. Light and dark come from the tokens. Never write @media (prefers-color-scheme), theme selectors or dark: color variants. Themes switch on <html> only.
  9. Three languages, mirrored. English, Arabic (right to left) and French. Use logical properties (ms-, pe-, start-, text-start, margin-inline-start), never ml-, pr-, left- or text-left. Western digits in every language. Product names stay Latin inside <bdi translate="no">.
  10. Self-hosted Roboto Flex, Inter (headings), Noto Kufi Arabic and Roboto Mono; Material Symbols Rounded icons only. No third-party fonts, icon sets (no Lucide) or scripts in products (a hybrid shell may use Capacitor's own first-party plugins: the ban is on third-party network scripts). No emoji anywhere.
  11. Calm motion. Short fades on state changes. Anything that moves by itself for more than 5 seconds sits under a 48px Pause control. prefers-reduced-motion: reduce switches motion off.
  12. Accessible by construction. WCAG 2.2 AA in both themes and every language: text 4.5:1 (large text is 24px and up), control edges and icons 3:1, status never by color alone, one h1, landmarks, a skip link, names on every control.
  13. Plain words. Sentence case everywhere, US spelling, verb-first actions from the glossary (section 9), no exclamation marks, no "Please" in errors, no em dashes in UI. "Face or fingerprint" before "passkey".
  14. Native elements first. Actions are <button>; navigation is <a href>; forms use native inputs, <fieldset> and <legend>; dialogs use <dialog> or Radix. Never a clickable <div>.
  15. No new styles per product. A product never adds its own gutter, header height, breakpoint, radius, shadow, type style or accent. Only Tamakkan (an endorsed brand) has an accent, set with data-product="tamakkan".
  16. One header, one footer, one sign-in page. Every product uses the family's site header, footer, and sign-in page as they are (section 12; D-CSN-51 to D-CSN-57, D-BCP-41 to D-BCP-43). Header: lock-up, then the main navigation (from 1024px; from 1280px with four or five links), then the language switcher (an icon in a header: 48px, translate), the theme toggle (a 48px dark_mode icon button, only in a product that ships a dark theme), the sign-in pair, and the menu button, in that order. In a header these two controls are icons; in the footer's legal bar they are full buttons with their labels (D-CSN-57). The sign-in pair is the text button "Sign in" (to the sign-in page) and Sign in with Global ID as its circle, 48px with no stroke (signed in: the account button in place of both); the header has no call to action. Footer: brand zone, one or two product link groups, the Platforms group (the same list on every product, in a darker rounded panel, two columns from 640px), the legal bar (the darkest grade; below 640px it is centered: its first line is the endorsement alone, with the legal links and the controls on the line below), which opens with "Powered by OAIT at Global University" ("Powered by OAIT" links to https://oait.app, "Global University" to https://gu.edu.lb; no © line). Sign-in page: the same page on every product, changing only the lock-up and the product name; its card holds "Sign in", the email field (placeholder "name@gu.edu.lb"), the password field (placeholder "Your password"), "Forgot your password?", the filled "Sign in", Sign in with Global ID directly under it, and "Create account"; mobile first, with 8px between the header and the panel (16px from 640px), and it does not scroll in a window 640px tall or more (D-BCP-43). Four grades of one color, lightest to darkest: the page (surface), the header and the footer (surface-container), the Platforms panel (surface-container-high), the legal bar (surface-container-highest) (D-CSN-54, D-CSN-55). A zone may be empty; nothing is reordered, restyled, or added. Inside an app shell: the top app bar, and the footer's legal links only.

2. Setup

Root element and head

<html lang="en" dir="ltr" data-theme="light">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  • lang is en, ar or fr; dir="rtl" for Arabic only. The server writes both.
  • data-theme="light" until the product's dark review passes, then remove it to follow the system (oait.app already follows the system). The Games stage page uses data-theme="dark".
  • data-product="tamakkan" only on Tamakkan's own pages (and on Tamakkan's own mark or lock-up when a family page shows it).
  • The first focusable element is the skip link to <main id="main" tabindex="-1">.
  • In <head>, after <meta charset="utf-8"> and the viewport: the <title> of section 6 and a description of 160 characters or fewer; <meta name="theme-color"> set to the light surface (#fff8f5, never orange or violet), with a dark twin only in products that ship dark; the product's icon kit from its framed mark (favicon.ico, favicon.svg, a 180px apple-touch-icon) and its manifest; og:* and twitter:card on indexable pages, and noindex on signed-in and utility pages; and hreflang alternates with absolute URLs plus x-default where the language is in the path (canonical §1.6, D-BCP-11, D-BCP-12, D-BCP-28). Details: Brand.

Tailwind CSS v4 (Next.js)

/* app/globals.css */
@import "tailwindcss";
@import "<ds>/tokens/tailwind.css";
@import "<ds>/reference/css/base.css" layer(base);

<ds> is the path to this package (for a repository that keeps it at docs/design-system/, from src/app/globals.css: ../../docs/design-system). One utility per token: bg-surface, text-on-surface-variant, text-title-md (sets size, line height, tracking and weight), rounded-card, shadow-elevation-1, duration-short-3, ease-emphasized, max-w-page, p-card, gap-stack.

shadcn/ui (v0, Lovable, Bolt, Global Jobs)

@import "tailwindcss";
@import "<ds>/tokens/tailwind.css";
@import "<ds>/tokens/shadcn.css";
@import "<ds>/reference/css/base.css" layer(base);

shadcn.css maps shadcn's variables onto the system roles, so unedited components render in the family look. In a shadcn product secondary means the quiet lavender fill; the strong blue is info. Edit the components once: Button link variant text-primary-ink; Button and Toggle rounded-full; Badge rounded-chip; Dialog and Sheet rounded-sheet bg-surface-raised shadow-elevation-3; DialogTitle and SheetTitle text-headline-sm, CardTitle text-title-md; Skeleton animate-skeleton; icons from Material Symbols Rounded instead of lucide-react. Never combine shadcn.css with data-product.

Plain CSS, Vite or any framework

<link rel="stylesheet" href="<ds>/tokens/oait.css">
<link rel="stylesheet" href="<ds>/reference/oait-ui.css">

oait-ui.css is the reference implementation: oa- classes (BEM: oa-btn, oa-btn--tonal, oa-btn--lg, oa-btn__icon), states through real pseudo-classes and ARIA attributes. Every component page shows its markup; the kitchen sink shows all of them.

Tailwind CSS v3

presets: [require('<ds>/tokens/tailwind.preset.cjs')], with oait.css loaded first and base.css after Tailwind's preflight. See README.md.

Fonts and icons

  • Fonts, self-hosted woff2 with font-display: swap: Roboto Flex (variable, wght and opsz), Inter (variable, wght and opsz; headings only, D-TYP-20), Noto Kufi Arabic (only on Arabic pages), Roboto Mono (codes and IDs). Headings (h1 to h6) take --font-heading from the base layer: Inter, the open face closest to San Francisco, with Arabic falling through to Noto Kufi Arabic; never host or bundle San Francisco itself (Apple licenses it for its own platforms only). In Next.js use next/font/google with adjustFontFallback: false and fallback: [] on every face. Everywhere else (plain HTML, Vite, Global Games, Tamakkan), copy the variable woff2 files of @fontsource-variable/roboto-flex (its opsz files), @fontsource-variable/inter (its opsz files), @fontsource-variable/noto-kufi-arabic, and @fontsource-variable/roboto-mono into the product's own /fonts/ folder, declare each with @font-face under the family name the token stack uses ("Roboto Flex", "Inter", "Noto Kufi Arabic", "Roboto Mono"), and preload the Roboto Flex latin file. The stylesheets above set the families but load no font file, so without these faces the text falls back to the system font (canonical §3.2, D-TYP-06). Reference pages, artifacts, and prototypes may link the Google Fonts stylesheets of the text faces and the icons instead, as the reference templates do; products never do. Files, unicode ranges, and the preload link: Typography.
  • Icons: Material Symbols Rounded, the variable font instanced at weight 400, optical size 24, grade 0, with FILL kept, subset to the glyphs you use and self-hosted with font-display: block. Declare the subset in every setup, Next.js included, with the @font-face block of Iconography: delivery; without it, each icon shows the clipped first letters of its name (D-BCP-32). Markup: <span class="oa-icon" aria-hidden="true" translate="no">arrow_forward</span>. FILL 1 (oa-icon--filled) only for the selected or current item, status icons and icons in filled tonal tiles. base.css, which every setup above loads (the plain-CSS setup through oait-ui.css), defines .oa-icon and its modifiers, so Tailwind pages use them too. The recipes' React <Icon> is that span: size={20} is oa-icon--md or text-(length:--size-icon-md) (16px oa-icon--xs, 18px oa-icon--sm, 24px the default, 28px oa-icon--xl, 32px oa-icon--2xl, 40px oa-icon--3xl, 64px oa-icon--4xl), filled is oa-icon--filled, and mirror is oa-icon--mirror, which turns the directional glyphs of canonical §8.3 in right-to-left text and leaves them unturned inside a left-to-right island (D-BCP-33). On an icon, write oa-icon--mirror in place of the rtl:-scale-x-100 that some recipes below show, never both: Tailwind's -scale-x-100 sets the scale property and the modifier sets transform, so together they flip the glyph back (measured with Tailwind CSS 4.3.3; Iconography: mirroring). Details: Iconography.

3. Tokens

The full list with every usage note is in tokens/tokens.md. Write CSS variables as --color-<name> and Tailwind as bg-<name>, text-<name>, border-<name>.

Color roles

Role Light Dark Use
Primary
primary #f47920 #f47920 GU orange as a fill only: the one filled main button per screen, FAB, count badges, numbered step discs, the decorative eyebrow-pill dot and hero…
on-primary #331200 #331200 Text and icons on primary (6.19:1 in both themes; 5.08:1 at the 12% pressed layer)
primary-container #ffdbc8 #5c2a08 Peach container: selected chips and segmented buttons, the current navigation item, avatar fills, attention cards
on-primary-container #331200 #ffdbc8 Text and icons on primary-container (13.22:1 light, 9.06:1 dark)
primary-ink #8f4200 #ffb68a The one orange for text, icons and thin lines: links, text and outlined button labels, eyebrows, the selected tab and its indicator, the header's…
inverse-primary #ffb68a #ffb68a Orange text, icons and focus ring on inverse-surface: the snackbar action, eyebrows and links in dark bands (7.74:1 light, 9.21:1 dark)
focus-ring #8f4200 #ffb68a Color of the global :focus-visible ring (size-focus-ring 3px solid, size-focus-offset 2px outside the edge)
Secondary
secondary #3a5ba9 #b1c5ff Mediterranean blue for icons, icon discs and small accents beside the orange, legible on surface, surface-container-lowest, surface-container-low…
on-secondary #ffffff #002b75 Text and icons on secondary (6.46:1 light, 7.68:1 dark)
secondary-container #dae2ff #1f438f Lavender container: the tonal button, info notices and chips, the "Admin console" chip, lavender tiles
on-secondary-container #00194a #dae2ff Text and icons on secondary-container (13.17:1 light, 7.22:1 dark)
Tertiary
tertiary #00694b #87d6b0 Cedar green for live dots, ticks, "allowed" verdicts and green accents, legible on surface, surface-container-lowest, surface-container-low and…
on-tertiary #ffffff #003825 Text and icons on tertiary (6.73:1 light)
tertiary-container #a3f2cb #005138 Mint container: success chips and notes, mint tiles and blobs
on-tertiary-container #002115 #a3f2cb Text and icons on tertiary-container (13.12:1 light, 7.22:1 dark)
Status
success #00694b #87d6b0 Success text and icons ("Active", "Verified employer", ticks) on surfaces and on success-container
on-success #ffffff #003825 Text and icons on a success fill (6.73:1 light, 7.71:1 dark)
success-container #a3f2cb #005138 Success chip and notice background
on-success-container #002115 #a3f2cb Text and icons on success-container (13.12:1 light, 7.22:1 dark)
warning #7a5900 #eec15a Warning and pending text and icons ("Closes in 3 days", "Coming soon" dot) on surfaces and on warning-container
on-warning #ffffff #402d00 Text and icons on a warning fill (6.45:1 light)
warning-container #ffdf9e #5c4300 Warning and pending chips and notes ("Invited", "Pending", link problems, clock warning)
on-warning-container #261a00 #ffdf9e Text and icons on warning-container (13.25:1 light, 7.22:1 dark)
info #3a5ba9 #b1c5ff Information text and icons on surface up to surface-container-high, the card containers, surface-raised and info-container (4.5:1 or more)
on-info #ffffff #002b75 Text and icons on an info fill (6.46:1 light, 7.68:1 dark)
info-container #dae2ff #1f438f Information notice and chip background (the guest-verification and passkey notices)
on-info-container #00194a #dae2ff Text and icons on info-container (13.17:1 light, 7.22:1 dark)
error #ba1a1a #ffb4ab Errors: field error text, icon and border, the danger button fill, "denied" verdicts
on-error #ffffff #690005 Text and icons on error (6.46:1 light)
error-container #ffdad6 #93000a Error summary and notice background, error chips
on-error-container #410002 #ffdad6 Text and icons on error-container (13.26:1 light)
Surfaces and text
surface #fff8f5 #19120e Page background, header, sidebar and bottom bar; every text role is checked on it
surface-container-lowest #ffffff #140d09 The white of the light theme: text-field, select and choice-card fills, and the light value behind card-outlined-container,…
surface-container-low #fcf1eb #221a15 Hero and section panels, tonal panels and the auth frame, filled cards, and full-bleed tinted bands
surface-container #f6ebe5 #271e19 The phone navigation bar
surface-container-high #f0e5df #322823 Neutral status chips, organization avatars and tiles, solid hover fills where a state layer cannot be used, the band that sweeps across skeletons…
surface-container-highest #eae0da #3d332d The strongest neutral fill: switch track (off), slider and progress tracks, skeleton blocks (skeleton), the diverging chart midpoint
on-surface #221a15 #f0dfd7 Body text, headings and icons on every surface and pastel (13.1:1 or more light, 7.19:1 or more dark, lowest on the dark pastels)
on-surface-variant #52443c #d8c2b8 Secondary text, helper text, placeholders, idle navigation labels and icons on every surface and pastel (7.2:1 or more light, 5.4:1 or more dark)
outline #85736a #a08d83 Borders that identify a control: text fields, selects, outlined buttons, checkbox and radio boxes, segmented groups, the off switch track and…
outline-variant #d8c2b8 #52443c Decorative hairlines and dividers: card and table edges, list and menu dividers, the sticky bottom bar's top edge, dashed placeholders, and the…
scrim #00000052 #00000052 Black at 32% behind modal dialogs and sheets; a tap on it closes them
Cards, overlays, and loading
card-outlined-container #ffffff #19120e The default outlined card, table regions and platform-strip tiles at rest, with a 1px outline-variant edge
card-elevated-container #ffffff #221a15 The one elevated card of a view and the floating form card (sign-in, register, contact), with elevation-1
surface-raised #ffffff #322823 Floating surfaces: dialogs, bottom and side sheets, the phone menu sheet, menus, popovers and listboxes, always with elevation-3 (and the scrim…
skeleton #eae0da #3d332d Skeleton blocks for content with a known layout that takes more than a second to load, and their flat fill under reduced motion
skeleton-highlight #f0e5df #322823 The band that sweeps across skeleton blocks (animate-skeleton on a 90deg skeleton → skeleton-highlight → skeleton gradient): one tone toward the…
Inverse
inverse-surface #382e29 #2b211c Dark bands and transient messages: the inverse call-to-action band ("Responsible by default", the employer band), the snackbar and plain tooltips,…
inverse-on-surface #ffede5 #ffede5 Text and icons on inverse-surface (11.63:1 light, 13.83:1 dark)
inverse-on-surface-variant #d8c2b8 #d8c2b8 Secondary text, and the border of a control, on inverse-surface (7.7:1 light, 9.2:1 dark)
Brand marks
mark-ink #4c4c4d #ffffff Ink of a product mark drawn inline (the neutral strokes); the accent part is mark-accent
mark-accent #f47920 #f47920 Accent ink of a product mark drawn inline: the orange arc and dot of family marks, the violet dot of Tamakkan's
Pastels
pastel-peach #ffdbc8 #5c2a08 Decorative peach tint for icon tiles, soft blobs at opacity-decor (0.8; opacity-decor-soft 0.7 from 224px), avatar backgrounds and category chips;…
on-pastel-peach #331200 #ffdbc8 Text and icons on pastel-peach (13:1 light, 7:1 or more dark)
pastel-lavender #dae2ff #1f438f Decorative lavender tint for icon tiles, soft blobs at opacity-decor (0.8; opacity-decor-soft 0.7 from 224px), avatar backgrounds and category…
on-pastel-lavender #00194a #dae2ff Text and icons on pastel-lavender (13:1 light, 7:1 or more dark)
pastel-mint #a3f2cb #005138 Decorative mint tint for icon tiles, soft blobs at opacity-decor (0.8; opacity-decor-soft 0.7 from 224px), avatar backgrounds and category chips;…
on-pastel-mint #002115 #a3f2cb Text and icons on pastel-mint (13:1 light, 7:1 or more dark)
pastel-sand #ffdf9e #5c4300 Decorative sand tint for icon tiles, soft blobs at opacity-decor (0.8; opacity-decor-soft 0.7 from 224px), avatar backgrounds and category chips;…
on-pastel-sand #261a00 #ffdf9e Text and icons on pastel-sand (13:1 light, 7:1 or more dark)

Also: cat-* (the eight Global ID person types: card art and chips), passport-* (platform passport cards and app switchers only), chart-1 … chart-8 and chart-seq-* (data visualization). See Color.

Type scale

One utility sets size, line height, tracking and weight: text-<style> (CSS: --text-<style> with --text-<style>--line-height, --letter-spacing, --font-weight). Arabic line heights are adjusted automatically by the tokens; never hand-write them. No text below 12px.

Style Size / line Weight Tracking Phone size Use
hero-lg clamp(2.75rem, 1.875rem + 3.6vw, 4.75rem) / 1.08 700 -0.025em 44px / 1.08 The one landing-page headline (h1) per page: two short beats, the second in primary-ink; 44px at 390px wide, 76px…
hero-md clamp(2rem, 1.35rem + 2.7vw, 3.5rem) / 1.1 600 -0.025em 32px / 1.1 Landing-page section titles (h2), and hero headlines longer than two short beats; 32px at 390px, 56px from 1280px
lead clamp(1.125rem, 1rem + 0.45vw, 1.25rem) / 1.6 400 0 18px / 1.6 The paragraph under a hero, at most 30em wide, or under a landing section title, at most container-measure (42rem);…
display-lg 57px / 64px 600 -0.02em 36px / 44px Rare very large statements and projector-stage titles; use the compact size below 640px (sm)
display-md 45px / 52px 600 -0.02em 32px / 40px Large statements on wide screens and stage panels; use the compact size below 640px (sm)
display-sm 36px / 44px 600 -0.01em 28px / 36px App page titles from 768px; on phones the page title is headline-sm (text-headline-sm md:text-display-sm)
headline-lg 32px / 40px 600 -0.01em 28px / 36px Large section headings on dashboards and wide app screens; use the compact size below 640px (sm)
headline-md 28px / 36px 600 -0.01em Sign-in, setup and step titles (one per screen), full-page state titles (404, offline, error, not set up), and…
headline-sm 24px / 32px 600 0 Page titles on phones, dialog and bottom-sheet titles
title-lg 20px / 28px 600 0 Content section headings inside a page (About the role, Requirements, privacy sections), sheet section headers,…
title-md 18px / 24px 700 0 Titles of cards, tiles and list groups, in bold as four of the five sites draw them, and the one-line summary of the…
title-sm 16px / 24px 600 0 Small headings: footer column titles, default accordion triggers, form legends, list-row headlines
body-lg 16px / 24px 400 0 Default reading and interface text, list-item text and form input text (16px also stops iOS zooming into fields)
body-md 14px / 20px 400 0 Supporting text: field helper and error lines (errors at font-medium), snackbars, notices and banners, table cells,…
body-sm 12px / 16px 400 0 Captions, footnotes and timestamps: the smallest text that may carry meaning
label-lg 16px / 24px 600 0 Labels of 48px and 56px buttons (including the one 56px primary button), segmented buttons, header navigation links…
label-md 14px / 20px 600 0 40px buttons, chips and medium status chips, tabs, inline text links, table column headers, field labels and legends…
label-sm 12px / 16px 500 0 Navigation bar and rail labels (the current one in bold 700), count and icon badges, small status chips and the…
eyebrow 12px / 16px 600 0.12em Overline above a section title or a value, uppercased by CSS (write the source in sentence case so French keeps its…
numeral-lg 40px / 48px 700 0 With tabular-nums: stat-tile values, KPIs, counters, scanner totals and timers, in Western digits isolated left to…
numeral-md 28px / 36px 700 0 With tabular-nums: smaller figures inside cards, rank and score lists and summary rows
code-lg 24px / 32px 500 0.12em With font-mono: one-time codes a person reads aloud or types (backup, enrolment and vault codes), in groups of four;…
code-md 16px / 24px 500 0 With font-mono: an ID number or secret shown on its own as a value (the GID number on a profile, a recovery key)
code-sm 14px / 20px 500 0 With font-mono: IDs, codes and web addresses in lists, tables and cards, and two-digit step numbers
code-xs 12px / 16px 500 0 With font-mono: receipts, timeline timestamps and course codes under cards; the smallest mono text
lockup-name 22px / 28px 600 0 Product name in the medium lock-up (headers from 640px, footers) beside a size-mark-md (40px) mark: live text, Latin…
lockup-name-compact 18px / 24px 600 0 Product name in the small lock-up (headers below 640px) beside a size-mark-sm (32px) mark
lockup-name-stage 38px / 42px 600 0 Product note (Games): product name in the stage lock-up on the 1920×1080 artboard beside a size-mark-stage (76px) mark

Roles: landing h1 text-hero-lg (second sentence in text-primary-ink); landing h2 text-hero-md; app page title text-headline-sm md:text-display-sm; sign-in and full-page state titles text-headline-md; dialog titles text-headline-sm; section headings text-title-lg; card titles text-title-md; list-row headlines and small headings text-title-sm; body text-body-lg; helper text, table cells and meta text-body-md; buttons 48/56px text-label-lg, 40px buttons, chips, tabs and field labels text-label-md; navigation labels text-label-sm; IDs and codes font-mono text-code-sm (or text-code-lg, text-code-md, text-code-xs); numbers in tables and stats tabular-nums.

Spacing

4px grid: numeric utilities p-1 = 4px … p-24 = 96px. Semantic spacing:

Token Value Tailwind Use
--space-gutter 16px p-gutter, gap-gutter Page side padding on compact windows, below sm (640px): px-gutter
--space-gutter-medium 24px p-gutter-medium, gap-gutter-medium Page side padding from sm (640px) at every larger window class: sm:px-gutter-medium
--space-section 80px p-section, gap-section Vertical padding of a marketing section, or the gap between landing sections, below lg: py-section or gap-section
--space-section-expanded 112px p-section-expanded, gap-section-expanded Vertical padding of a marketing section, or the gap between landing sections, from lg (1024px): lg:py-section-expanded
--space-section-head 48px p-section-head, gap-section-head Space between a marketing section's heading block (eyebrow, title, lead) and its content, at every width:…
--space-split 40px p-split, gap-split Gap between the two columns of a marketing split (hero, feature split, contact) while they are stacked, below lg:…
--space-split-expanded 48px p-split-expanded, gap-split-expanded Gap between the two columns of a marketing split once they sit side by side, from lg: lg:gap-split-expanded
--space-card 20px p-card, gap-card Card padding on compact windows: p-card
--space-card-medium 24px p-card-medium, gap-card-medium Card padding from sm: sm:p-card-medium
--space-row-inset 16px p-row-inset, gap-row-inset Inline padding of list rows, menu items and drawer items on compact windows, and the end padding of every row:…
--space-row-inset-medium 24px p-row-inset-medium, gap-row-inset-medium Start padding of full-width list rows from sm, so row text lines up with card padding: sm:ps-row-inset-medium (the…
--space-fields 20px p-fields, gap-fields Gap between form fields, each field being its label, control and helper text: gap-fields or space-y-fields
--space-stack-tight 8px p-stack-tight, gap-stack-tight Gap inside a text group: a title and its supporting text, a label and its value, the items of a bulleted list:…
--space-stack 16px p-stack, gap-stack Gap between groups inside a card or section: title to lead, paragraphs, a card's text and its note: gap-stack
--space-stack-loose 24px p-stack-loose, gap-stack-loose Gap between blocks inside a container (card, dialog, sheet, auth card), above a container's action row, and between…
--space-stack-group 32px p-stack-group, gap-stack-group Gap between groups of an app page from md, between an app section's heading and its content, and between fieldsets…
--space-grid 16px p-grid, gap-grid Gap between cards and tiles in a grid, at every width: gap-grid
--space-stage-safe 72px p-stage-safe, gap-stage-safe Product note (Games): the title-safe margin on every side of the 1920×1080 stage artboard: p-stage-safe

Radius

Token Value Tailwind Use
--radius-none 0px rounded-none Square corners
--radius-4px 4px rounded-4px Scale step (M3 extra-small)
--radius-8px 8px rounded-8px Scale step (M3 small)
--radius-12px 12px rounded-12px Scale step (M3 medium)
--radius-16px 16px rounded-16px Scale step (M3 large)
--radius-20px 20px rounded-20px Scale step (M3 large-increased)
--radius-24px 24px rounded-24px Scale step (family, not in M3)
--radius-28px 28px rounded-28px Scale step (M3 extra-large)
--radius-32px 32px rounded-32px Scale step (M3 extra-large-increased)
--radius-full 9999px rounded-full Pill or circle: buttons of every variant and size, icon buttons, toggle and segmented groups, nav items and…
--radius-chip 9999px rounded-chip Every chip: filter, choice, input, suggestion and status chips are pills, like buttons
--radius-field 12px rounded-field Text fields, selects, textareas, comboboxes, date, phone, one-time-code and file inputs, with the label above the field
--radius-box 16px rounded-box Small containers: menus, popovers, rich tooltips, listboxes, inline notices and banners, error summaries, table…
--radius-card 24px rounded-card Every card: outlined, filled and elevated cards, link cards, feature and stat cards, empty-state and coming-soon…
--radius-sheet 28px rounded-sheet Dialogs, bottom sheets (top corners only), side sheets (the two corners away from the attached edge) and floating…
--radius-hero 32px rounded-hero Hero and page-header panels, inset tinted and inverse bands, the pass panel, large visual cards

Elevation

  • shadow-elevation-1: Level 1 (M3 level 1, black): a surface raised just off the page: the elevated card, a floating form card (sign-in, contact sheet), the white tile on ID-card art, small art pieces (sticker, stamp, the QR tile on the pass).
  • shadow-elevation-3: Level 3 (M3 level 3, black): everything that floats over the page (dialogs, bottom and side sheets, menus, popovers, rich tooltips, snackbars, the phone admin drawer) and a clickable card while a mouse hovers it.
  • shadow-art: The deep warm drop under large illustration objects only: ID-card art on every screen, the ready pass, passport and profile-card art, device mock-ups (wider than about 200px).

Containers

Token Value Tailwind Use
--container-page 80rem max-w-page 1280px, the default page frame with its gutters inside: mx-auto w-full max-w-page px-gutter sm:px-gutter-medium
--container-wide 88rem max-w-wide 1408px, gutters inside: consoles, dashboards and data-heavy pages that gain from width (the admin content area, an…
--container-reading 48rem max-w-reading 768px, gutters inside: long-form pages (privacy, terms, help, safety) and the heading block of a section
--container-measure 42rem max-w-measure 672px: the longest line for paragraphs, leads and intros inside any container, about 70 to 80 characters of 16 to…
--container-form 28.75rem max-w-form 460px: one-step forms and single-column utility pages
--container-dialog 35rem max-w-dialog 560px: the widest a dialog or a bottom sheet gets
--container-snackbar 37.5rem max-w-snackbar 600px: the widest a snackbar gets
--container-side-sheet 24rem max-w-side-sheet 384px: the widest a modal side sheet gets (the phone menu sheet, the admin drawer below md); below that it is 85vw
--container-menu 20rem max-w-menu 320px: the widest a menu, dropdown or popover gets (from size-menu-min, 200px)
--container-tooltip 15rem max-w-tooltip 240px: the widest a plain tooltip gets

Breakpoints

Token Value Tailwind Use
--breakpoint-sm 40rem sm: 640px, Tailwind sm
--breakpoint-md 48rem md: 768px, Tailwind md
--breakpoint-lg 64rem lg: 1024px, Tailwind lg
--breakpoint-xl 80rem xl: 1280px, Tailwind xl
--breakpoint-2xl 96rem 2xl: 1536px, Tailwind 2xl

Layers

Token Value Tailwind Use
--z-behind -1 -z-1 Decoration behind content inside an isolated parent (isolation: isolate): soft shapes, glows, orbit art
--z-raised 10 z-10 Content lifted over its siblings: a button over a stretched card link, a control over card art
--z-sticky 20 z-20 Sticky elements inside the content: asides, table headers, sticky bottom action bars
--z-header 30 z-30 Sticky or fixed page chrome: the site header, an app bar, a fixed bottom navigation bar, a floating action button
--z-dropdown 40 z-40 Menus, popovers, listboxes and non-modal panels that open over the page
--z-modal 50 z-50 Scrim plus dialog, bottom sheet, modal side sheet, and blocking full-screen overlays (a station's busy and result…
--z-snackbar 60 z-60 Snackbars and toasts, above modals so the feedback after a dialog is never hidden
--z-tooltip 70 z-70 Tooltips, above everything they can point at
--z-skip-link 80 z-80 The skip link while it has focus: always the top layer

Motion

Token Value Use
--duration-short-3 150ms State changes (color, background, border and state-layer opacity on hover and release; a clickable card's…
--duration-short-4 200ms Small moves: bottom and side sheets sliding in, chevron and plus-to-close turns, switch thumb, tab indicator
--duration-medium-2 300ms Determinate progress fills; pointer-following art (card-stack tilt, glare)
--duration-extra-long-1 700ms Expressive one-shots: the card-stack swap (with ease-spring), the hero entrance, storytelling fills such…
--duration-extra-long-3 900ms The ID card flip only (with ease-spring)
--duration-delay-tooltip 500ms How long a mouse rests on a control before its tooltip appears
--duration-loop-spinner 1000ms One turn of a loading spinner (linear, only while loading, always with words)
--duration-loop-skeleton 1200ms One sweep of the highlight across skeleton placeholders (linear, only while loading)
--duration-loop-status 2000ms Status loops that show something is live: the live-dot halo and the pass viewfinder breathe
--duration-loop-float 6000ms The ID-card art float (8px up and back, ease-loop)
--duration-loop-sheen 7000ms One sheen cycle across the front ID card (sweep in the first 55%, rest after; ease-emphasized)
--duration-loop-seal 9000ms One turn of the holographic seal on ID-card art (linear)
--duration-loop-drift 14000ms One drift cycle of a decorative shape behind hero art (ease-loop)
--duration-loop-drift-slow 18000ms The second decorative shape's drift, played in reverse, so the two shapes never move in step
--duration-interval-carousel 4200ms Time each card stays in front in an auto-advancing card stack
--duration-dwell-confirm 2400ms How long an inline confirmation stays before reverting, for example Copy address to Address copied and back
--duration-dwell-snackbar 6000ms How long a snackbar without an action stays
--duration-dwell-snackbar-action 10000ms How long a snackbar with an action (Undo) stays
--ease-standard cubic-bezier(0.4, 0, 0.2, 1) Default for state changes and small moves that stay on screen: color, state layers, switch thumb,…
--ease-emphasized cubic-bezier(0.2, 0, 0, 1) Things that enter or travel: dialogs, sheets, menus, popovers and snackbars appearing, the hero entrance,…
--ease-emphasized-accelerate cubic-bezier(0.3, 0, 0.8, 0.15) Things that leave: dialog, sheet, menu, popover, snackbar and tooltip exits, at duration-short-3
--ease-spring cubic-bezier(0.34, 1.56, 0.64, 1) About 10% overshoot, for art and celebration only: card-stack swap, ID card flip, a winner reveal on the stage
--ease-loop cubic-bezier(0.42, 0, 0.58, 1) Back-and-forth ambient and status loops: float, drift, viewfinder breathe

Animations: animate-rise, animate-float, animate-drift, animate-drift-slow, animate-sheen, animate-seal, animate-spinner, animate-live, animate-breathe, animate-skeleton. Hover and press fade over duration-short-3 ease-standard; ease-standard is (0.4, 0, 0.2, 1) and ease-emphasized is Material 3's standard curve. Full rules: Motion.

Sizes

Token Value Use
--size-touch-target 48px Least hit area of every control, on every product (Global ID spec 4.11; WCAG 2.5.8 asks for 24)
--size-button-sm 40px Small button height, with its hit area extended to 48px by an ::after 5px above and below…
--size-button-md 48px Default button height: secondary and in-content actions, icon buttons, segmented buttons, medium chips
--size-button-lg 56px Large button: the one main action of a screen, hero calls to action, full-width actions on phones, the…
--size-chip-sm 32px Small interactive chips in dense toolbars and admin filter rows, and medium status chips
--size-field 56px Height of text fields and selects (16px text, so phones do not zoom)
--size-focus-ring 3px Width of the global :focus-visible outline on every focusable element: outline: var(--size-focus-ring)…
--size-focus-offset 2px Offset of the focus outline outside the element's edge; the ring follows the element's border-radius (text…
--size-focus-inset -4px Outline offset inside containers that clip (tabs, segmented buttons, list rows, table cells, accordion…
--size-icon-xs 16px Icons beside 12 to 13px text: field error and helper icons, dense status marks
--size-icon-sm 18px Icons in chips and small (40px) buttons
--size-icon-md 20px Icons in medium (48px) and large (56px) buttons, menu rows and field adornments, and inline with 14 to…
--size-icon-lg 24px The standard Material Symbols size: navigation bar and rail, icon buttons, app bars, list leading icons,…
--size-icon-xl 28px Icons inside 56px tiles and step discs
--size-icon-2xl 32px Icons in the 64px empty-state disc (tile-xl) inside a card or table region
--size-icon-3xl 40px Problem-state icons in the 80px tonal disc (tile-2xl), and station and stage controls
--size-icon-4xl 64px Bare icons of full-page states (404, offline, error), full-screen verdicts and "all set" screens, in…
--size-tile-sm 40px Small icon tile or disc: a list row's leading tile, a status disc
--size-tile-md 48px Medium tile: company or app logo tile, coming-soon tile, platform picker tile
--size-tile-lg 56px Large tile: feature card tile, step disc, attention disc
--size-tile-xl 64px The empty-state disc (secondary-container) inside a card or table region; holds an icon-2xl
--size-tile-2xl 80px The tonal disc of a full-page problem state (not set up, expired link); holds an icon-3xl
--size-avatar-sm 40px Person avatar in list rows, tables and the header
--size-avatar-md 56px Avatar in a card header, account summary or event passport
--size-avatar-lg 96px Avatar on a profile page or a person record
--size-mark-xs 24px The smallest mark box on screen: footer platform lists and contact sign-offs
--size-mark-sm 32px Mark box of the small lock-up (headers below 640px) and of marks in 48px picker tiles such as the platform…
--size-mark-md 40px Mark box of the medium lock-up (headers from 640px, footers) and of app tiles
--size-header 72px Height of every site header at every width (any bottom hairline included), and of the app top bar from md…
--size-header-compact 64px App top bar below md, in app shells that have a bottom navigation bar (Material 3 small top app bar)
--size-nav-bar 80px Bottom navigation bar below md: 12px top padding, a 32px indicator, 4px, a 16px label and 16px bottom…
--size-nav-rail 96px Navigation rail width from md (Material 3 Expressive collapsed rail)
--size-nav-drawer 272px Standard navigation drawer (admin consoles) from md, and the filter column of a list from lg
--size-list-row 56px Least height of a one-line list row and of a navigation drawer item
--size-list-row-two-line 72px Least height of a two-line list row (headline and supporting text)
--size-list-row-three-line 88px Least height of a three-line list row (headline and two lines of supporting text, 12px block padding)
--size-menu-item 48px Menu, dropdown and dense-list row height; single-line table rows in compact density
--size-table-header 56px Header row of a data table
--size-table-row 64px Body row of a data table holding an avatar or two lines of text (compact density)
--size-scroll-offset 96px Room kept above an anchor target or a focused field under a sticky header: html { scroll-padding-top:…

State layers

Hover --opacity-state-hover (0.08), pressed --opacity-state-pressed (0.12), dragged 0.16: a ::before of currentColor over the control (inset: -1px on bordered controls). There is no focus layer; the ring shows focus. Disabled: fills and the edges of outlined controls at on-surface 12%, labels and icons at on-surface 38%, never opacity on the whole control. Selected: primary-container with on-primary-container plus a non-color cue (a check, the filled glyph, the native indicator or a 2px primary-ink edge).

4. Layout

  • Page frame: mx-auto w-full max-w-page px-gutter sm:px-gutter-medium (gutters 16 → 24px). Never Tailwind's container.
  • Card grids grid gap-grid sm:grid-cols-2 lg:grid-cols-3; tile grids grid grid-cols-2 gap-grid lg:grid-cols-4; no auto-fit grids.
  • Marketing split: grid items-center gap-split lg:grid-cols-[1.05fr_1fr] lg:gap-split-expanded, text first in the DOM and on screen.
  • List with filters: grid gap-gutter-medium lg:grid-cols-[var(--size-nav-drawer)_minmax(0,1fr)], the 272px filter column at the inline start from 1024px; below 1024px it folds behind the outlined "Filters" button (lg:hidden) (D-LAY-14, D-BCP-24).
  • Navigation switches at md (768px): bottom navigation bar to rail, bottom sheet to dialog. The site header shows its links from lg (1024px); below that a 48px menu button opens a side sheet.
  • Sticky site header: 72px, sticky top-0 z-30 short:static bg-surface-container/90 backdrop-blur-xl (one step darker than the page, which is bg-surface; the footer is bg-surface-container too); <html> gets scroll-padding-top: calc(var(--size-scroll-offset) + env(safe-area-inset-top)).
  • Scrollbars: the base layer sets scrollbar-color (outline on a clear track), scrollbar-gutter: stable on the page (auto on a page that is an app shell, which never scrolls as a page, D-LAY-21), and the thin form inside scroll regions. Never style ::-webkit-scrollbar, hide a scrollbar, or let the page scroll sideways (D-LAY-20).
  • Use dvh, never vh; pad safe-area insets on full-bleed parents.

Rhythm

Thing Recipe (D-LAY-10, D-LAY-11, D-ARC-25)
Landing page <main class="mx-auto flex w-full max-w-page flex-col gap-section lg:gap-section-expanded px-gutter sm:px-gutter-medium pb-section lg:pb-section-expanded">; sections carry no vertical padding of their own
Full-bleed tinted band py-section lg:py-section-expanded
Section heading block max-w-reading; eyebrow mb-3 (12px) → title → mt-4 (16px, the stack step) → lead, as the section header recipe writes it (R-23, R-56); content at mt-section-head
Hero text column flex flex-col gap-6, CTA row mt-2 flex flex-col gap-3 sm:flex-row (buttons full width below sm)
Card padding p-card sm:p-card-medium (20 → 24px) in every density
Dialog, bottom sheet p-card-medium (24px; sheets 16px top under the handle)
Hero panel rounded-hero px-5 sm:px-10 lg:px-16 py-12 lg:py-20, inside the gutter (no -mx-* bleed)
Feature panel px-5 sm:px-10 lg:px-16 py-10 lg:py-16
Auth card max-w-form px-5 sm:px-10 py-10 gap-stack-loose (C-8)
List row px-row-inset sm:ps-row-inset-medium py-2 (start 24 from sm, end 16)
Form flex flex-col gap-fields; fieldsets gap-stack-group
App page mx-auto flex w-full max-w-page flex-col gap-stack-loose md:gap-stack-group

5. Page recipes

Eleven templates, one per job (D-BCP-24). Rules for all of them:

  • The skip link first; one h1, the first heading in <main id="main" tabindex="-1"> (a listing's search panel sits inside main, before it); landmarks header, labeled navs, main, footer (D-BCP-25).
  • One filled 56px primary per screen; text before art on phones; the lock-up name always visible.
  • Navigation never disappears: a header with links gets the 48px menu button below 1024px.
  • Web pages: the sticky glass header and scroll-padding-top 96px. App shells: the header is a grid row.
  • The one footer (rule 16) with the Platforms group, the endorsement line and the language switcher; lang and dir on <html>; the status region mounted at load; no framework-default error page.
# Template Used by Composition
1 Marketing landing oait /, Global ID /, Jobs /en, Games /, Tamakkan / the one header (lock-up M, links, switcher, "Sign in", the Global ID circle; no call to action, canonical §10.14, D-CSN-53, D-CSN-55) · hero in a tonal panel · optional trust strip (3–4 items: 20px icon + one line) · sections (section header + card grid 3 → 2 → 1) · at most one inverse band · optional FAQ (up to six) · optional closing statement with one primary · footer
2 Sign-in, registration, recovery every product's sign-in, create-account, reset, setup, step-up and consent screens header (lock-up, switcher, and the theme toggle where the product ships a dark theme) spanning the window · a tonal rounded-hero panel filling the height with four kit shapes (mx-[calc(0.5rem+env(safe-area-inset-left))] sm:mx-4) · one floating form card (§10.10, max-w-form, C-8) holding: h1 text-headline-md (focused when the step changes), 1–2 sentences, the error banner (role="alert"), fields, one full-width filled lg, "Sign in with Global ID" under it, quiet options as links ("Forgot your password?", "New to Global Jobs? Create account") · "Privacy notice" below · the sign-in screen is the same page on every product (rule 16, D-BCP-41, D-BCP-43): "Sign in" · "Email address" (placeholder "name@gu.edu.lb") · "Password" (placeholder "Your password") · "Forgot your password?" · the filled "Sign in" · Sign in with Global ID directly under it · "New to {Product}? Create account"; card p-6 sm:p-10 gap-4, centered in the panel, no vertical scroll in a window 640px tall or more; only the lock-up and the product name change; no "or" divider, no other provider's button
3 App home Global ID Home, Games passport, Tamakkan dashboard app shell · greeting h1 ("Good morning, {name}") · the one main object with its one primary (Global ID's pass, Games' passport) · "What do you want to do?" tiles (up to five, 2 → 4 columns, then "Show more") · "Your apps" (mark-md + names; north_east when leaving) · "Recently" (72px rows, up to five) · notices at the top of main
4 Listing with search and filters Jobs /jobs, /employers search panel (role="search": keyword, location, "Search" lg) · h1 with the count ("15 jobs in the Middle East and North Africa", announced as "15 jobs match these filters.") · applied input chips + "Clear filters" as the Link recipe's standalone link · filter column 272px from 1024px (each group a compact disclosure button with aria-expanded, as in the Accordion recipe, over a role="group" of 48px checkbox rows with counts; applied at once, GET URL; canonical §10.25, D-CSN-31) beside full-width result cards; below 1024px an outlined "Filters" button (tune, count badge, hidden ", 1 filter on") opening a full-height bottom sheet (a dialog from 768px) whose footer holds "Clear filters" (text) and "Show {n} results" (filled lg) · pagination or "Show more" · empty state in a dashed card. The h1 precedes the filters in the DOM
5 Detail job, company and booth detail back link · notices · title block (h1, organisation with the verified badge, meta list with 20px icons) · action aside 320px, sticky top-24: filled "Apply now" (full width), a reassurance line, facts, outlined Save and Share, trust links ("Never pay to apply", "Report") · on phones the sticky action bar replaces the aside's primary · h2 sections · organisation card · related cards
6 Settings with one-field edits Global ID Me and Security, Tamakkan account h1 · one-sentence intro · groups (h2, up to five 72px rows with a trailing chevron or switch) · a row opens a one-field form modal (bottom sheet below 768px, dialog from 768px; "Cancel" + "Save") · after saving a snackbar "{Field} saved" + "Undo" · switches apply at once · locked values say why ("Set by the ID office") · destructive actions at the end of a group, confirmed in a modal. Never one long form with "Save changes"
7 Admin console Global ID /admin, Tamakkan crew, Games organiser admin shell ("Admin console" chip, drawer from 768px with "Overview" first, "Menu" sheet below; bar and drawer surface-container, the page a surface sheet, D-CSN-58) · a passkey step-up within 15 minutes · six page types (D-BCP-44) · overview: up to five stat tiles, "Needs attention" rows, "Recent activity", one short status table · directory: h1, intro, filter row (chips, search, selects), the data table (§10.13), pagination, bulk bar, empty state · record: back link, header (avatar-lg, name h1, type and status chips, key facts, C-3), tabs, one-field-edit rows, lifecycle actions with confirm modals · create form: back link, one outlined card of fields (max 44rem), one filled action and "Cancel" · review queue: tabs by state, cards with the item, its checks as status chips, a tonal action and a text action, pagination · platform settings: one main action, an info banner for what is shown once, a table with status chips and row actions · one filled button per page; repeated row or card actions are tonal. The chip fits at 360px in French
8 Legal and help privacy, terms, accessibility, safety, help, contact product header · max-w-reading column on the page surface, paragraphs max-w-measure · h1, "Last updated: 27 October 2026", a lede · an "In short" card (3–5 sentences, each with check) · "On this page" from four sections · h2 sections · a contact block · footer. Contact form in a max-w-form column: topic as choice cards, "(optional)" markers, "Send message", a footnote on what we keep and for how long
9 Status pages and empty states 404, error, offline, not set up, expired link, empty results §10.24, with the copy in the table below; the offline page is part of the cached shell
10 Demo and training Games /demo and /training, any practice mode header with "Back to {product}" (arrow_back) · a persistent safety bar "Practice only · {what is fictional} · {what does not change}" with a DEMO chip · heading with an outlined "Reset demo" · role picker (aria-pressed tiles) · workspace with a sticky guide aside · footer "Demo · This browser only". Demo actions never touch live data; demo identifiers can never be issued
11 Large-display stage Games' projector stage; Events and Security wall screens a fixed 1920×1080 artboard (--size-stage-width, --size-stage-height) scaled by transform: scale(min(100vw / 1920px, 100vh / 1080px)), letterboxed · p-stage-safe (72px) · an 88px header row (stage lock-up, event name, status pill, live label) · one scene at a time · text at --size-stage-text-min (28px) or more, tabular numbers, 7:1 or more · data-theme="dark" · radius aliases doubled · no interaction on the public screen · reveals of 700ms or less
Page Icon Title Sentence Primary <title> HTTP
404 unknown_document We couldn't find that page The link may be broken, or the page may have been removed. Go to the home page Page not found · {Product} 404
Error error Something went wrong Try again in a moment. If it keeps happening, contact us. Try again (+ "Contact us") Something went wrong · {Product} 500
Offline cloud_off You're offline Check your connection, then try again. Try again (refresh) You're offline · {Product} —
Not set up devices This device is not a station yet An admin gives you a one-time code to set it up. Set up this station — —

Ruling R-17, R-51: the table gains an expired-link row from Global ID's shipped strings: "This link has expired", "Ask the ID office for a new one.", the primary "Request a new link" where a flow exists (else "Go to the home page") and the <title> "This link has expired · {Product}"; an expired reset link reads "Request a new reset link" with the button "Send a new reset link".

Each pattern has a page with desktop and phone structure, states and content rules: patterns.

6. Content and voice

Voice and tone

  • One voice everywhere: plain (everyday words, one idea per sentence, "face or fingerprint" before "passkey"), calm (no hype, no false urgency), honest (say what is not built, what is a sample, what we keep), warm (speak to a person, take responsibility as "we", never blame), precise (what happens next, with numbers, names and places) (D-BCP-16).
  • Tone moves by context, never by product: marketing confident and short ("Good work. Closer to home."); task screens literal and step by step ("Sign in with your password"); errors calm and specific ("That code didn't work. Type the one showing now."); operations procedural, naming limits ("Use Scan next only after the result appears."); Games play moments may take one exclamation mark ("Visit recorded!"); legal plain and specific.
  • "You" for the reader, "we" for the team, never "I". Buttons and choices that act on the person's own things speak as the person ("Show my ID", "Send my request", "I'm hiring"); headings and body never use "my".
  • Length: UI sentences 20 words at most (aim 8), two sentences per block at most; marketing ledes one sentence of 12–25 words; headline beats 2–7 words; about five items per group, the rest behind "Show more".

Mechanics

  • Sentence case for everything: headings, buttons, links, labels, chips, tabs, menu items, titles, table headers. Capitals only for proper nouns and another product's labels quoted exactly (D-BCP-17).
  • Marketing display and headline text is a statement and ends with a full stop ("Responsible by default."); everything else is a label without one ("How it works", "Latest jobs", "Welcome back"). Body sentences always end with a full stop.
  • At most one two-beat statement per hero and one closing statement per page; the second beat may take primary-ink; one hand-drawn underline per page under the accent beat.
  • Punctuation: no em dashes in UI, titles or accessible names; en dash for ranges ("1–3 years", "09:00–14:00", "27 October – 3 November 2026"); no exclamation marks (one Games celebration excepted); the serial comma in English; curly ’ and “ ”; the single ellipsis character for work in progress ("Sending…"); "and" except inside proper names; " · " as a separator; a colon introduces an explanation.
  • Document titles: "{Page} · {Product}"; a product home "{Product} · {descriptor}" ("Global Games · Campus Play"); Arabic and French translate the page part only; error pages name the state.
  • US spelling (Merriam-Webster's first spelling: organization, color, center, favorite, practice, enroll, program, canceled); proper names keep theirs (D-BCP-18).

Actions and the glossary

  • Buttons: verb first, 1–4 words, naming the result ("Send reset link", never "Submit"); the same action has the same label everywhere; a confirmation repeats the verb of its question. Links say where they go ("Read the privacy notice"), never "click here", "learn more" or "more"; a link to a file names its type and size ("Download the guide (PDF, 1.2 MB)") (D-BCP-21).
English Arabic French Never
Sign in تسجيل الدخول Se connecter Log in, Login, Sign In
Sign out تسجيل الخروج Se déconnecter Log out
Create account إنشاء حساب Créer un compte Sign up, Register (as a button)
Cancel إلغاء Annuler Dismiss
Save حفظ Enregistrer Submit, OK
Continue متابعة Continuer Proceed, Next step
Next / Back التالي / رجوع Suivant / Retour —
Try again إعادة المحاولة † Réessayer Retry
Undo تراجع Défaire † Revert
Done تم Terminé OK
Close إغلاق Fermer —
Edit / Delete تعديل / حذف Modifier / Supprimer —
Copy / Share / Download نسخ / مشاركة / تنزيل Copier / Partager / Télécharger —
Search بحث Rechercher Find (as a button)
Clear filters مسح عوامل التصفية Effacer les filtres Reset
Show more عرض المزيد † Afficher plus † Load more, See more
Back to sign in العودة إلى تسجيل الدخول Retour à la connexion —
Language اللغة Langue —
Skip to content الانتقال إلى المحتوى Aller au contenu † Skip to main content
Privacy notice إشعار الخصوصية Avis de confidentialité Privacy Policy (Title Case)
Contact us التواصل معنا † Nous contacter † —
Get help الحصول على مساعدة † Obtenir de l’aide —
Coming soon قريبًا Bientôt —
(opens in a new tab) (يُفتح في نافذة جديدة) (s’ouvre dans un nouvel onglet) † —
Powered by OAIT at Global University بدعم من OAIT في الجامعة العالمية † Propulsé par OAIT à Global University † Built by, Made by, a © line
  • † needs native review before release; the other strings already ship in Global ID, oait or Jobs. Global ID's approved "Register" changes only after the client's copy review.

Messages

Kind Rule (D-BCP-20) Example
Field error verb first; what to do; an example when a format matters; one sentence "Enter an email address, like name@example.com."
Form summary one sentence, then a link to each field "Check the highlighted fields."
Action failed what happened, then what to do "That email or password isn't right."
System failure what happened; try again; a fallback channel "Your request couldn't be sent. Try again, or email us at info@oait.app."
Uncertain outcome what is known; nothing was confirmed "Connection interrupted. Nothing new has been confirmed."
Not allowed why, and who helps "This link doesn't work. Ask the ID office for a new one."
Empty the state, why, one way out "No jobs for “sales manager”" · "Try another word" · "See all jobs"
Success object + past participle; Undo when reversible "Mobile number saved" · "Undo" → "Change undone"
Waiting verb-ing + "…" "Sending…", "Waiting for your device…"
Destructive confirm a question naming the thing; the consequence; repeat the verb "Sign out of {device}?" · "Sign out" · "Cancel"
Offline the state, then the action "You're offline" · "Check your connection, then try again."
  • Never "please", "invalid", "oops", "successfully", blame or humour; error codes last and small ("Error code: invalid_request"); example addresses name@example.com; never reveal whether an account exists.

Honesty, trust and accessible copy

  • Never link to something that does not work. Unbuilt features say "Coming soon" (warning dot and chip), one sentence, no date unless committed, no action; a built feature never stays "Coming soon" (D-BCP-23).
  • Anything that could pass for real says so in visible text: "Sample", "Demo", "Illustrative"; demo names end " (Demo)"; demo identifiers come from ranges that can never be issued; figures that depict the product carry "Illustrative product preview".
  • Practice modes keep a safety bar on every page. Every action that asks for personal data, money or commitment has one reassurance line under it (text-body-md text-on-surface-variant): "Free for job seekers", "Nothing is shared until you choose Allow.". Product cards say who can use them ("For students, staff, and guests."). Limits are stated early.
  • Accessible names start with the visible label; instructions never rely on colour, shape or position; headings describe their section; abbreviations are expanded at first use; plain language for a reading age of 12–14.

Arabic and French register

  • Arabic: Modern Standard, formal, no dialect. Action labels are verbal nouns ("تسجيل الدخول", "حفظ", "متابعة", "إرسال الطلب"): gender-neutral. Sentences use unvocalised second-person forms and prefer statements to imperatives; choices that speak as the person use the first person. Punctuation ، ؛ ؟ and « »; tanween on the letter before alif ("قريبًا"); product names Latin inside isolates (D-BCP-22).
  • French: "vous"; buttons in the infinitive; sentence case; French spacing (§3.7); never truncate an action label.
  • Every new Arabic and French string gets native review before release; Global ID's docs/i18n-review.md process is the family process.

7. Accessibility

  • Baseline. WCAG 2.2 AA on every page, in every language and theme, plus the family rules below; records/brand-content-patterns.md (Canonical spec §7) holds the 28-rule table with failures, owners and tests (D-BCP-25, D-BCP-26).
  • Targets. 48×48px (56px for the main action); inline links exempt and without min-height (D-LAY-12).
  • Focus. One ring (§6.3), 3:1 or more against both the element and its ground; never obscured by sticky chrome (scroll-padding); DOM order equals visual order; a route or step change focuses the h1; dialogs trap and return focus; a failed submit focuses the first invalid field or the summary.
  • Keyboard. Everything works by keyboard; radios and tabs use arrow keys (reversed in RTL); Escape closes overlays; every drag has a single-pointer alternative.
  • Contrast. Text 4.5:1 (3:1 only at 24px and up); control borders 3:1 (outline); hairlines decorative only; selected vs unselected distinguishable without colour; the build checks every declared pair (§2.13).
  • Not by colour alone. Status = word + icon + colour; selection = colour + edge or check; links in sentences underlined.
  • Names. Visible labels on every field; accessible names start with the visible text; icon-only buttons named; names, titles and errors translated.
  • Errors. Text + icon, aria-invalid, aria-describedby; a focused summary when two or more fail (forms over five fields); novalidate, so browser bubbles are never the only feedback.
  • Status messages. One polite role="status" region per page, present at load; role="alert" for blocking errors; toasts always have a role.
  • Language. Server-rendered <html lang dir>; lang on every part in another language.
  • Motion. The global reduced-motion switch and the JavaScript check (§7.7); anything moving longer than 5 seconds has the Pause control.
  • Forced colours. Every filled control and card keeps a transparent 1px border; focus is an outline; icons currentColor; marks one colour.
  • Reflow and text. No horizontal scroll at 320px; text to 200%; min-height, never fixed heights on text containers; real text 12px or more, smaller only inside aria-hidden art with a text alternative for the figure.
  • Authentication. No CAPTCHA puzzles (honeypot and rate limit); paste allowed; autocomplete tokens; passkeys offered in plain words ("face or fingerprint").
  • Consistency and timing. Help ("Contact us" / "Get help") in the same place on every page; the same components and glossary across products; snackbars with an action stay 10s and wait on hover and focus; sessions warn before ending; no orientation lock.
  • Tests. Every template gets: Tab once (skip link), target bounding boxes, a heading outline, a forced-colours screenshot, a 320px and a 360px French screenshot, a per-language accessibility-tree check, axe, and node build.mjs --check for tokens.

8. Languages, RTL and formats

Languages and how they are kept

Product Ships Language source (D-BCP-28)
oait.app EN, AR (FR optional) the path, always prefixed: /en/…, /ar/…; / redirects (302) to the remembered language or /en; hreflang + x-default
Global Jobs EN, AR (FR optional) the path, as oait
Tamakkan landing EN, AR the path, as oait
Global ID EN, AR, FR no language in URLs; the account preference, then the cookie
Global Games and the other family apps EN, AR, + FR (recommended) the account preference, then the cookie
Tamakkan app EN, AR, FR the account preference, then the cookie
  • Every product ships English and Arabic complete: no untranslated chrome, title, accessible name or error.
  • One family cookie, written by every switcher: oait_locale=<en|ar|fr>; Domain=oait.app; Path=/; Max-Age=31536000; SameSite=Lax; Secure (Tamakkan, at tamakkan.oait.app, is covered by the same cookie, D-BCP-45), validated on the server; anything else falls back to English. Global ID's gid_locale and Games' gg_locale are read for 12 months, then retired. No automatic detection: Accept-Language is not read.

Direction, isolation and mirroring

  • <html lang dir> from the server; dir="rtl" for Arabic only. Logical properties only (ms/me/ps/pe, start-/end-, text-start, rounded-s/e, border-s/e); physical sides only for things that must not turn (ID-card faces, media progress, chart value axes, safe-area insets), each commented. Never mirror with row-reverse or order (D-BCP-30).
  • Mirror: directional icons (registry), 135° gradients (225°), card fans and carousels, step connectors, progress fills (from the inline start), sheets and menus, the hand-drawn underline. Never mirror: marks and logos (the lock-up order follows the direction), ID-card faces, media controls, clocks and refresh, checks, numbers, phones, codes, QR codes.
Content inside Arabic Markup
Product names <bdi lang="en" translate="no">Global ID</bdi>
Emails, URLs, domains <bdi dir="ltr">name@example.com</bdi>
Phones, IDs, codes <bdi dir="ltr" translate="no">GU-25-000123</bdi>; inputs dir="ltr"
Signed numbers, units, numeric dates <bdi dir="ltr">+2</bdi>, <bdi dir="ltr">08 / 2030</bdi>
User content dir="auto" + lang when known
Plain text (titles, aria-label, notifications, email subjects) U+2066 … U+2069 around Latin runs
  • Email: dir on <html> and <body> and text-align: right for Arabic.

Numbers, dates, times, money, phones and codes

Kind English en-GB Arabic ar-u-nu-latn French fr How (D-TYP-16, D-BCP-19)
Date 27 October 2026 27 أكتوبر 2026 27 octobre 2026 dateStyle: 'long'; with weekday 'full'
Compact date (tables) 27 Oct 2026 27 أكتوبر 2026 27 oct. 2026 { day: 'numeric', month: 'short', year: 'numeric' }; never dateStyle: 'medium'
Time 15:05 15:05 15:05 hourCycle: 'h23', timeZone: 'Asia/Beirut'; name the zone when readers may be elsewhere
Number, percent 1,234,567.5 · 34% 1,234,567.5 · 34% 1 234 567,5 · 34 % Intl.NumberFormat
Money US$1,200 · LBP 1,500,000 1,200 US$ · 1,500,000 ل.ل. 1 200 $US ISO code, maximumFractionDigits: 0, ranges with formatRange; never a bare "$"
Phone +961 71 214 723 same, dir="ltr" same stored E.164; tel:+96171214723; default country +961; examples in helper text
IDs and codes GU-25-000123 · 7K3M-Q9TD same, isolated same mono, translate="no", never reformatted; copy without spaces
Counts 1 open job · 2 open jobs ICU plurals ICU plurals {count, plural, one {# open job} other {# open jobs}}
  • Western digits 0–9 in every language, digits for every quantity in UI; never ar-LB (Eastern digits) and never hand-built strings; relative dates ("2 days ago") only within 7 days; card validity "MM / YYYY" on card art only. : 24-hour clock (declined: 12-hour with AM/PM and ص/م).

9. Product accents and new products

Product Identity slots and product-only parts (D-CSN-42, D-BCP-39, D-LAY-19, architect §(e))
oait.app The OAIT lock-up (University mark + "OAIT"). The platform passport stack (family component) with passport-* and cat-* tokens and on-passport-jobs, used only on passport cards and app switchers. The platform strip and the footer Platforms group. No accent. Ships dark now
Global ID The family's identity layer and the "Sign in with Global ID" kit (fixed portable values, §1.8). The person-type palette (cat-* bound to student, faculty, staff, administrator, security, guest, alumni, contractor). The ID card credential (English front, Arabic back, flip, calm on My ID per D-SEM-18, square printed CR80 faces; D-CSN-43). The QR pass on a product panel (linear-gradient(160deg, #5c2100 0%, #9a4200 60%, #c25410 100%), white text 4.60:1 or more, a live "Ready to scan" dot, breathing corners, a 22px countdown ring over 30s, caption text-body-sm; D-CSN-44). Print surfaces: @page gid-card { size: 85.6mm 54mm }, A4 sheets with 10mm margins, B4. Its super-admin silver palette has no tokens yet (open). No accent
Global Jobs The job card (§10.10 on the shared parts; D-CSN-45), the search panel, the sticky apply bar, the filter column. The lock-up has no sub-line (MENA-wide). A shadcn product: the bridge rules (§2.12) bind. No accent
Global Games The character cast and its expressive-shape backdrops, stickers and point tokens; the masks on quiz letters and badges; amber only inside the Games mark. The projector stage: --size-stage-width, --size-stage-height, --size-stage-text-min, --space-stage-safe, --size-mark-stage, text-lockup-name-stage, the family dark theme on the stage root, radius ×2, celebration motion. Rank rows, booth cards and the passport score (§10 parts; C-9). No accent: forest is retired
Tamakkan Endorsed brand: data-product="tamakkan" on <html> sets primary #7c3aed, on-primary #ffffff, primary-container #f1ebfd / #2d2249, on-primary-container #4c1d95 / #cdb9fd, primary-ink #6d28d9 / #d2bbff, inverse-primary #d2bbff, focus-ring #6d28d9 / #d2bbff; mark-accent follows. The wordmark "tamakkan." and the violet mark dot. The collage illustration. The HBDI result palette (a product data slot): quadrants A–D on chart-2, chart-3, chart-6, chart-5 with pastel-lavender, pastel-mint, cat-burgundy-container, pastel-sand fills, always lettered (to be confirmed by Tamakkan). The letters sit in the fill's on-colour; the chart hues are only radar marks and card edges on the card surface, never marks on the fills (chart-3 is 2.88:1 on pastel-mint, chart-6 1.77:1 on the dark burgundy container) (V-3). Not a shadcn product; no on-art button (D-ARC-12)
  • Family products never set data-product, never add an action colour, and never take another product's illustration language.
  • A new product gets no slot for its own gutter, header height, breakpoint, radius, shadow or type style.

Tamakkan's accent tokens (data-product="tamakkan"):

Token Light Dark
primary #7c3aed #7c3aed
on-primary #ffffff #ffffff
primary-container #f1ebfd #2d2249
on-primary-container #4c1d95 #cdb9fd
primary-ink #6d28d9 #d2bbff
inverse-primary #d2bbff #d2bbff
focus-ring #6d28d9 #d2bbff

A new family product ("Global " on <noun>.oait.app) gets no accent and no tokens of its own. It takes:

  1. The lock-up: its mark (two inks, --color-mark-ink and --color-mark-accent) in the shared 720 frame, the name in live text, the sub-line "Global University" (Logo lock-up).
  2. The one site header and the one footer (rule 16), with the Platforms group, "Powered by OAIT at Global University" and the language switcher.
  3. Sign in with Global ID directly under the filled "Sign in" on its sign-in page (Sign in with Global ID, D-BCP-43).
  4. The templates of section 5, the components below and the content rules of section 6.

10. Before you ship

Run these from the design-system folder (docs/design-system/); the class check runs from the root of a project with Tailwind CSS v4 installed, as written below, because it loads @tailwindcss/node from the folder it runs in or a parent folder; pnpm does not hoist that package, so add it as a dev dependency or set NODE_PATH to the node_modules folder that holds it (without it the check exits 2):

node tools/csslint.cjs . path/to/your.css
node docs/design-system/tools/twcheck.mjs docs/design-system src/ --css src/app/globals.css
node tools/audit-page.cjs path/to/page.html audit-out --tokens tokens/oait.css --variants light,dark,rtl,dark-rtl --widths 390,1440 --full --gate

The audit renders the page in light, dark and right to left at 390 and 1440px and fails on contrast below AA, colors that are not tokens, overflow, unnamed controls and targets below 24px. It measures a native checkbox or radio by its own box, so each 20px box of the Checkbox recipe counts as a target below 24px and fails the gate, although the target is its 48px label row (canonical §4.6, §10.5, D-ARC-35). Keep the recipe; when those boxes are the only failures, check by hand that each sits in its 48px row, and say so in the review. Then check by hand:

  • One h1; a skip link; landmarks header, labeled nav, main, footer.
  • The header, the footer, and the sign-in page are the family's, unchanged (rule 16): the header's zones in order (lock-up; navigation; language, the theme toggle where the product ships a dark theme, "Sign in" and the Global ID circle or the account button, menu) with no other button; the footer's parts in order (brand zone; one or two product groups; Platforms with all eight products; legal bar, the darkest grade, opening with "Powered by OAIT at Global University"); the sign-in card in its fixed order (fields, "Sign in", the Global ID button under it), with its placeholders and no vertical scroll at 360 × 640; the page lighter than the header and the footer.
  • One filled primary button in the view's content, and none in the header (D-CSN-53, D-CSN-55); every label verb-first from the glossary.
  • Keyboard: Tab order follows the visual order; the ring shows on every control; Escape closes overlays and focus returns.
  • Arabic: dir="rtl", logical properties, directional icons mirrored (oa-icon--mirror), Latin names and numbers isolated, Western digits.
  • French at 360px: labels wrap, never truncate.
  • Dark theme (unless the product is still light-only) and the reduced-motion setting.
  • No hex values, no Tailwind palette colors, no text-primary, no dark: colors, no ml-/mr-/left-*/text-left.

11. Where the details are

Need Read
Why a rule exists, and its edge cases Foundations: brand, color, typography, layout, shape, elevation, motion, iconography, imagery, accessibility, languages and RTL, content and voice
A component's anatomy, states, keyboard, ARIA, HTML, Tailwind and React components/ (one page each)
A whole page patterns/
A mobile app: tokens, rules, components and kits per stack Section 13, platforms/, Mobile apps
Every token value tokens/tokens.md, contrast proof tokens/contrast.md
Working markup reference/kitchen-sink.html, reference/oait-ui.css
The binding rules and decisions audit/canonical.md, audit/rulings.md, audit/decision-log.md
What each product must change audit/drift-report.md
What a product ships today: its copy, routes, and launch state its profile in audit/sites/, such as Tamakkan's; reuse its shipped strings, brought in line with section 6, instead of writing new ones (R-39), and link only to routes that work (D-BCP-23)

12. Component recipes (Tailwind CSS v4)

Each recipe is copied from its component page, where the plain-CSS markup (oa- classes), the states, keyboard behavior, ARIA and the React props are given. Copy the class strings exactly; change only the copy and the icons. When a size, variant, or position class sets a property that a class already in the string sets, remove the class it replaces. Tailwind CSS v4 orders the utilities of one property by name (numbers by value), not by their place in the class attribute. With both in the string, border-transparent beats the outlined border-outline and border-outline-variant, whitespace-nowrap beats Wide's whitespace-normal, relative beats the absolute of a close button or of the hero's Pause control, h-12 beats the small chip's h-8, and text-on-surface-variant beats the input chip's text-on-surface (measured with Tailwind CSS 4.3.3). The standard icon button's bg-transparent and text-on-surface-variant also beat the fill and the icon color of filled and tonal, so remove both when you add either. Left in, border-transparent takes the outline edge from the outlined button (canonical §10.1, D-CAI-02) and the outline-variant hairline from the outlined icon button (§10.2, D-CAI-07).

Actions

Button

A button starts an action in place: it signs in, saves, sends, confirms, or moves a flow to its next step. Full page.

<!-- Base: every button -->
<button class="relative isolate inline-flex shrink-0 items-center justify-center gap-2 rounded-full border border-transparent whitespace-nowrap select-none cursor-pointer no-underline transition-[background-color,border-color,color] duration-short-3 ease-standard before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0 disabled:cursor-default disabled:before:opacity-0 aria-disabled:cursor-default aria-disabled:before:opacity-0"></button>

<!-- Sizes: sm (with the 48px extender), md, lg -->
<button class="h-10 px-5 text-label-md after:absolute after:inset-x-0 after:-inset-y-[5px] after:content-['']"></button>
<button class="h-12 px-6 text-label-lg"></button>
<button class="h-14 px-7 text-label-lg"></button>

<!-- Variants -->
<button class="bg-primary text-on-primary"></button>                         <!-- filled -->
<button class="bg-secondary-container text-on-secondary-container"></button> <!-- tonal -->
<button class="border-outline text-primary-ink"></button>                    <!-- outlined -->
<button class="text-primary-ink"></button>                                   <!-- text -->
<button class="bg-error text-on-error"></button>                             <!-- danger -->
<button class="bg-on-card-art text-on-primary shadow-elevation-1"></button>  <!-- on-art, family products only -->

<!-- Disabled, every variant: the label at 38% (loading, with aria-busy, is excluded) -->
<button class="disabled:text-on-surface/38 aria-disabled:not-aria-busy:text-on-surface/38"></button>
<!-- plus, on filled, tonal, danger, and on-art: the fill at 12% and no shadow -->
<button class="disabled:bg-on-surface/12 disabled:shadow-none aria-disabled:not-aria-busy:bg-on-surface/12 aria-disabled:not-aria-busy:shadow-none"></button>
<!-- plus, on outlined: the outline at 12%. The text button takes nothing more -->
<button class="disabled:border-on-surface/12 aria-disabled:not-aria-busy:border-on-surface/12"></button>

<!-- Wide (lg shown; min-h follows the size). For the main button on phones only, add sm:w-auto -->
<button class="w-full h-auto min-h-14 py-2 text-center whitespace-normal text-balance"></button>

<!-- Rows: dialog footer; bottom-sheet footer (each button flex-1 basis-0) -->
<div class="flex flex-wrap items-center justify-end gap-2"></div>
<button class="flex-1 basis-0"></button>

<!-- Responsive modal footer: buttons written for the dialog, grown below 768px; the text Cancel takes the outline -->
<button class="max-md:h-14 max-md:flex-1 max-md:basis-0 max-md:px-7"></button>
<button class="max-md:border-outline"></button>

<!-- Page pair: filled first; a full-width column below 640px -->
<div class="flex flex-wrap items-center justify-start gap-3 max-sm:flex-col max-sm:items-stretch"></div>
<button class="max-sm:w-full max-sm:h-auto max-sm:min-h-14 max-sm:py-2 max-sm:whitespace-normal"></button>

Icon button

An icon button runs an action that one well-known icon names on its own: close, menu, save, pause. Full page.

<!-- Standard -->
<button type="button" aria-label="Close" class="relative isolate inline-flex size-12 shrink-0 items-center justify-center rounded-full border border-transparent bg-transparent text-on-surface-variant cursor-pointer transition-[background-color,border-color,color] duration-short-3 ease-standard before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0 disabled:cursor-default disabled:text-on-surface/38 disabled:before:opacity-0 aria-disabled:cursor-default aria-disabled:text-on-surface/38 aria-disabled:before:opacity-0"></button>

<!-- Variants (aria-disabled takes the same disabled classes) -->
<button class="bg-primary text-on-primary disabled:bg-on-surface/12 aria-disabled:bg-on-surface/12"></button>                         <!-- filled -->
<button class="bg-secondary-container text-on-secondary-container disabled:bg-on-surface/12 aria-disabled:bg-on-surface/12"></button> <!-- tonal -->
<button class="border-outline-variant disabled:border-on-surface/12 aria-disabled:border-on-surface/12"></button>                         <!-- outlined -->

<!-- Toggle (standard or outlined) -->
<button aria-pressed="false" class="aria-pressed:border-transparent aria-pressed:bg-primary-container aria-pressed:text-on-primary-container"></button>

A link takes people to another place: a page, a section, a file, an email address, or a phone number. Full page.

<!-- Inline -->
<a href="#privacy" class="rounded-8px font-semibold text-primary-ink underline decoration-auto underline-offset-4 wrap-anywhere hover:decoration-2">privacy notice</a>

<!-- Standalone: the underline on the label, 2px while the link is hovered; 8px padding the margin hides; the family Icon (20px) after it -->
<a href="#jobs" class="-mx-2 inline-flex min-h-12 items-center gap-2 rounded-full px-2 font-semibold text-primary-ink no-underline hover:[&>span]:decoration-2">
  <span class="underline decoration-auto underline-offset-4">See all 15 jobs</span>
</a>

<!-- Stretched title link inside a relative card -->
<a href="#job" class="inline-block rounded-8px text-inherit hover:underline underline-offset-4 after:absolute after:inset-0 after:rounded-card focus-visible:outline-transparent focus-visible:after:outline-3 focus-visible:after:outline-focus-ring focus-visible:after:outline-offset-2">Frontend Developer (React)</a>

<!-- Skip link: fixed, parked above the window until focused -->
<a href="#main" class="fixed top-3 start-4 z-80 inline-flex min-h-12 items-center rounded-full bg-on-surface px-5 py-3 text-label-lg text-surface -translate-y-[calc(100%+1.5rem)] focus:translate-y-0">Skip to content</a>

Segmented button

A segmented button sets one of two to four modes of the same content: which side of a card shows, which way a station scans, how cards print. Full page.

<fieldset aria-label="Side of the card" class="m-0 flex w-fit min-w-0 max-w-full overflow-hidden rounded-full border border-outline bg-surface p-0">
  <button type="button" aria-pressed="true" lang="en" class="relative isolate inline-flex h-12 flex-1 items-center justify-center gap-2 border-s border-outline px-6 text-label-lg text-on-surface whitespace-nowrap cursor-pointer first-of-type:border-s-0 first-of-type:rounded-s-full last-of-type:rounded-e-full focus-visible:-outline-offset-4 aria-pressed:bg-primary-container aria-pressed:text-on-primary-container disabled:cursor-default disabled:text-on-surface/38 disabled:before:opacity-0 transition-[background-color,color] duration-short-3 ease-standard before:pointer-events-none before:absolute before:inset-0 not-first-of-type:before:-start-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0">English</button>
</fieldset>

<!-- Wide: the group fills its row (w-full in place of w-fit) -->
<fieldset class="w-full"></fieldset>

<!-- Stacked below 640px, only where the labels do not fit at 360px. The group adds: -->
<fieldset class="max-sm:w-full max-sm:flex-col max-sm:rounded-box"></fieldset>
<!-- each segment writes its pill ends from sm (in place of the unprefixed pair) and adds the column look; the state layer follows the divider to the top: -->
<button class="sm:first-of-type:rounded-s-full sm:last-of-type:rounded-e-full max-sm:flex-none max-sm:border-s-0 max-sm:border-t max-sm:first-of-type:border-t-0 max-sm:first-of-type:rounded-t-box max-sm:last-of-type:rounded-b-box max-sm:not-first-of-type:before:start-0 max-sm:not-first-of-type:before:-top-px"></button>

Chip

Chips are compact pills: interactive chips filter, apply, suggest, or assist, and status chips, dot pills, inline status, and code tags label a state or a kind. Full page.

<!-- Filter chip, md; sm adds the next line's classes -->
<button type="button" aria-pressed="false" class="relative isolate inline-flex h-12 shrink-0 items-center justify-center gap-1.5 rounded-chip border border-outline-variant px-4 text-label-md text-on-surface-variant whitespace-nowrap cursor-pointer transition-[background-color,border-color,color] duration-short-3 ease-standard before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0 aria-pressed:border-transparent aria-pressed:bg-primary-container aria-pressed:text-on-primary-container disabled:cursor-default disabled:border-on-surface/12 disabled:text-on-surface/38 disabled:before:opacity-0"></button>
<button class="h-8 after:absolute after:inset-x-0 after:-inset-y-[9px] after:content-['']"></button>

<!-- Inside a filter chip: the leading icon (primary-ink) hides and the check shows while it is on -->
<span aria-hidden="true" class="text-primary-ink in-aria-pressed:hidden in-[:has(>input:checked)]:hidden">school</span>
<span aria-hidden="true" class="hidden in-aria-pressed:inline-block in-[:has(>input:checked)]:inline-block">check</span>

<!-- Single choice: a label around a radio laid invisibly over the chip -->
<label class="has-[>input:checked]:border-transparent has-[>input:checked]:bg-primary-container has-[>input:checked]:text-on-primary-container has-[>input:focus-visible]:outline-3 has-[>input:focus-visible]:outline-focus-ring has-[>input:focus-visible]:outline-offset-2"></label>
<input type="radio" class="absolute inset-0 m-0 size-full cursor-[inherit] rounded-[inherit] opacity-0">

<!-- Input, suggestion, and assist chips: the on-surface label; the input chip's close in on-surface-variant -->
<a class="text-on-surface"></a>
<!-- An applied filter: a link to the same URL without it, named by what pressing does, its close 18px at the inline end (R-48, WCAG 2.5.3) -->
<a href="/en/jobs" aria-label="Remove filter: Full-time" class="text-on-surface">Full-time<span class="oa-icon oa-icon--sm text-on-surface-variant" aria-hidden="true" translate="no">close</span></a>

<!-- Group -->
<div class="flex flex-wrap items-center gap-2"></div>          <!-- md chips -->
<div class="flex flex-wrap items-center gap-2 gap-y-4"></div>   <!-- sm chips -->

<!-- Status chip, md and sm -->
<span class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-chip px-3 text-label-md whitespace-nowrap bg-success-container text-on-success-container"></span>
<span class="inline-flex h-6 shrink-0 items-center rounded-chip px-3 text-label-sm whitespace-nowrap bg-surface-container-high text-on-surface"></span>
<span class="bg-cat-orange-container text-on-cat-orange-container"></span>

<!-- Dot pill and its dot -->
<span class="inline-flex min-h-[34px] items-center gap-2 rounded-full border border-outline-variant bg-surface-container-lowest ps-2 pe-4 py-1.5 text-body-md font-medium text-on-surface-variant"></span>
<span aria-hidden="true" class="size-2.5 shrink-0 rounded-full bg-primary"></span>

<!-- Inline status and code tag -->
<span class="inline-flex items-center gap-1.5 text-body-md font-medium text-success"></span>
<span dir="ltr" translate="no" class="inline-flex h-6 items-center rounded-8px bg-primary-container px-2 font-mono text-code-xs text-on-primary-container">AI-100</span>

Inputs and selection

Text field

A labeled box for one value the person types, with the label above, a 56px box, and one message line under it; the family base that select, search, phone, one-time code, date, and file inputs share. Full page.

<div class="flex flex-col">
  <label for="email" class="mb-1.5 flex flex-wrap items-baseline gap-x-2 text-label-md text-on-surface">Email address</label>
  <div class="relative" dir="ltr">
    <input id="email" name="email" type="email" autocomplete="email" aria-describedby="email-hint" class="block h-14 w-full min-w-0 rounded-field border border-outline bg-surface-container-lowest px-4 text-body-lg text-on-surface placeholder:text-on-surface-variant transition-colors duration-short-3 ease-standard focus:border-primary-ink aria-invalid:border-error aria-invalid:focus:shadow-[inset_0_0_0_1px_var(--color-error)] disabled:border-on-surface/12 disabled:bg-transparent disabled:text-on-surface/38">
  </div>
  <p id="email-hint" class="mt-1 text-body-md text-on-surface-variant">Use your account email, even if you sign in with your phone number.</p>
</div>

Select

The browser's own drop-down list, drawn as a 56px field with a 24px arrow_drop_down at the inline end, for choosing one value from a long or familiar list. Full page.

<div class="flex flex-col">
  <label for="sort" class="mb-1.5 text-label-md text-on-surface">Sort by</label>
  <div class="relative">
    <select id="sort" name="sort" class="block h-14 w-full min-w-0 cursor-pointer appearance-none truncate rounded-field border border-outline bg-surface-container-lowest ps-4 pe-12 text-body-lg text-on-surface transition-colors duration-short-3 ease-standard focus:border-primary-ink aria-invalid:border-error aria-invalid:focus:shadow-[inset_0_0_0_1px_var(--color-error)] disabled:cursor-default disabled:border-on-surface/12 disabled:bg-transparent disabled:text-on-surface/38">
      <option value="relevance" selected>Best match</option>
      <option value="newest">Newest first</option>
    </select>
    <span class="pointer-events-none absolute inset-y-0 end-3 flex items-center text-on-surface-variant" aria-hidden="true"><span class="oa-icon" translate="no">arrow_drop_down</span></span>
  </div>
</div>

Search field

A field for typing a query inside a role="search" region, with a leading search icon and a "Clear search" button once it holds text; on listing pages it grows into the search panel. Full page.

<form role="search" aria-label="Search jobs" class="grid gap-4 rounded-card border border-outline-variant bg-card-outlined-container p-card sm:grid-cols-[minmax(0,1fr)_13rem_auto] sm:items-end sm:p-card-medium">
  <div class="flex min-w-0 flex-col">
    <label for="q" class="mb-1.5 text-label-md text-on-surface">Job title, skill or company</label>
    <div class="relative">
      <span class="pointer-events-none absolute inset-y-0 start-4 flex items-center text-on-surface-variant" aria-hidden="true"><span class="oa-icon oa-icon--md" translate="no">search</span></span>
      <input id="q" name="q" type="search" enterkeyhint="search" autocomplete="off" spellcheck="false" placeholder="For example: accountant, nurse, sales" class="block h-14 w-full min-w-0 appearance-none rounded-field border border-outline bg-surface-container-lowest ps-12 pe-4 [&::-webkit-search-cancel-button]:appearance-none text-body-lg text-on-surface placeholder:text-on-surface-variant transition-colors duration-short-3 ease-standard focus:border-primary-ink">
    </div>
  </div>
  <!-- the location select of the Select recipe, ps-12 in place of ps-4, with a 20px location_on in the same absolute start-4 wrapper as search above; Global Jobs lists "All of MENA" first -->
  <!-- "Search" takes the full Button recipe (base, lg, filled) with its state layer; the string below is shortened and lacks it; its panel classes are w-full min-w-28 sm:w-auto (D-CAI-11) -->
  <button type="submit" class="relative isolate inline-flex h-14 w-full min-w-28 items-center justify-center rounded-full border border-transparent bg-primary px-7 text-label-lg text-on-primary sm:w-auto">Search</button>
</form>

Checkbox, radio, and switch

Native checkboxes and radios in 48px label rows for answers in a form, and the switch for one setting that applies the moment it is pressed. Full page.

<fieldset class="flex flex-col">
  <legend class="mb-1.5 text-label-md text-on-surface">Work type</legend>
  <label class="relative isolate flex min-h-12 cursor-pointer items-start gap-3 rounded-8px px-2 py-3 text-body-lg text-on-surface before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0 has-disabled:cursor-default has-disabled:text-on-surface/38 has-disabled:**:text-on-surface/38 has-disabled:before:opacity-0">
    <input type="checkbox" name="type" value="full-time" class="mt-[calc((1lh-1.25rem)/2)] size-5 shrink-0 accent-primary-ink">
    <span class="min-w-0 flex-1 self-baseline">Full-time</span>
    <span class="self-baseline text-body-md tabular-nums text-on-surface-variant">12<span class="sr-only"> jobs</span></span>
  </label>
</fieldset>

Choice card

A large option to tap: a card-shaped <label> around a visible native radio or checkbox, with a title, an optional description, and an optional icon. It is how forms ask a question whose answers people read and compare. Full page.

<fieldset class="flex flex-col">
  <legend class="mb-1.5 text-label-md text-on-surface">What is it about?</legend>
  <div class="flex flex-col gap-2">
    <label class="relative isolate flex min-h-14 cursor-pointer items-start gap-4 rounded-box border border-outline-variant bg-surface-container-lowest px-4 py-3 text-body-lg text-on-surface transition-colors duration-short-3 ease-standard before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0 has-checked:border-primary-ink has-checked:bg-primary-container has-checked:text-on-primary-container has-checked:shadow-[inset_0_0_0_1px_var(--color-primary-ink)] has-focus-visible:outline-3 has-focus-visible:outline-offset-2 has-focus-visible:outline-focus-ring forced-colors:has-checked:not-has-focus-visible:outline-2 forced-colors:has-checked:not-has-focus-visible:-outline-offset-3 forced-colors:has-checked:not-has-focus-visible:outline-[Highlight] has-disabled:cursor-default has-disabled:border-on-surface/12 has-disabled:shadow-none has-disabled:before:opacity-0 has-disabled:**:text-on-surface/38">
      <input type="radio" name="topic" value="sign-in" class="mt-[calc((1lh-1.25rem)/2)] size-5 shrink-0 accent-primary-ink focus-visible:outline-transparent">
      <span class="flex min-w-0 flex-1 flex-col">
        <span class="text-title-sm">I can’t sign in</span>
        <span class="text-body-md text-on-surface-variant">You forgot your password, or your account is locked.</span>
      </span>
    </label>
  </div>
</fieldset>

Sign in with Global ID

The one way to offer Global ID sign-in: a portable 56px pill with the Global ID logo and the label "Global ID", the same in every product, language, and theme. Full page.

<div class="flex flex-col gap-4">
  <!-- the product's own fields and its filled "Sign in", then the kit directly under it (-mt-1: 12px below), with no "or" divider (D-BCP-43) -->
  <button type="button" class="gid-sign-in gid-sign-in--full -mt-1" data-global-id-sign-in aria-label="Sign in with Global ID"><img src="/brand/global-id/sign-in-logo-light.svg" alt="" width="28" height="28"><span lang="en" translate="no">Global ID</span></button>
</div>

Containers

Card

A rounded surface that groups the content and actions about one subject: a status, a summary, a record, a job, an app, a task. Full page.

<!-- Outlined card (default). Filled: border-transparent bg-surface-container-low. Elevated: border-transparent bg-card-elevated-container shadow-elevation-1.
     Tonal: border-transparent bg-pastel-peach text-on-pastel-peach (lavender, mint, sand). Dashed: border-dashed bg-transparent. -->
<article class="relative isolate flex min-w-0 flex-col gap-stack rounded-card border border-outline-variant bg-card-outlined-container p-card text-on-surface sm:p-card-medium">
  <div class="flex flex-col gap-stack-tight">
    <h3 class="text-title-md text-balance">You’re well protected</h3>
    <p class="text-body-lg text-pretty text-on-surface-variant">All good. Nothing needs your attention.</p>
  </div>
  <div class="mt-auto flex flex-wrap items-center gap-x-4 gap-y-2 border-t border-outline-variant pt-stack text-body-md text-on-surface-variant">…</div>
</article>

<!-- Clickable card: the card hovers and shows the pressed layer; the title link stretches and carries the ring. -->
<article class="relative isolate flex min-w-0 flex-col gap-stack rounded-card border border-outline-variant bg-card-outlined-container p-card text-on-surface transition-[box-shadow,border-color] duration-short-3 ease-standard hover:border-outline hover:shadow-elevation-3 before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 has-[a:active]:before:opacity-(--opacity-state-pressed) sm:p-card-medium">
  <div class="flex items-start gap-4">
    <div class="flex min-w-0 flex-1 flex-col gap-stack-tight">
      <h3 class="text-title-md"><a href="/jobs/frontend-developer-react" class="inline-block rounded-8px no-underline underline-offset-4 hover:underline after:absolute after:inset-0 after:rounded-card focus-visible:outline-transparent focus-visible:after:outline-3 focus-visible:after:outline-offset-2 focus-visible:after:outline-focus-ring">Frontend Developer (React)</a></h3>
      <p class="text-body-md text-on-surface-variant">Byblos Digital Studio (Demo)</p>
    </div>
    <div class="relative z-10 ms-auto flex items-center gap-2"><!-- icon button "Save job: Frontend Developer (React)" --></div>
  </div>
</article>

<!-- Floating form card -->
<div class="flex w-full max-w-form flex-col gap-stack-loose rounded-sheet border border-transparent bg-card-elevated-container px-5 py-10 shadow-elevation-1 sm:px-10">…</div>

<!-- Icon tiles: sm size-10 rounded-12px · md size-12 rounded-box · lg size-14 rounded-box · xl size-16 rounded-24px · 2xl size-20 rounded-24px · round rounded-full -->
<span aria-hidden="true" class="inline-flex size-14 shrink-0 items-center justify-center rounded-box bg-pastel-peach text-on-pastel-peach"><!-- Icon 28px, FILL 1 --></span>

Panel

A section-sized surface on the 32px hero radius that sets one part of a page apart: a hero, "How it works", the auth frame, one highlight, or the dark call-to-action band. Full page.

<!-- Tonal, feature padding (default). Hero padding: py-12 lg:py-20. Primary: bg-primary-container text-on-primary-container. -->
<section aria-labelledby="how" class="relative isolate overflow-hidden rounded-hero border border-transparent bg-surface-container-low px-5 py-10 text-on-surface sm:px-10 lg:px-16 lg:py-16">…</section>

<!-- Inverse band: the context colors re-pointed on the panel; secondary text and links written explicitly. -->
<section aria-labelledby="responsible" class="relative isolate overflow-hidden rounded-hero border border-transparent bg-inverse-surface px-5 py-10 text-inverse-on-surface [--color-focus-ring:var(--color-inverse-primary)] [--color-mark-ink:var(--color-on-card-art)] sm:px-10 lg:px-16 lg:py-16">
  <h2 id="responsible" class="text-hero-md">Responsible by default.</h2>
  <p class="max-w-measure text-lead text-inverse-on-surface-variant">Every project follows the same rules, whatever its size.</p>
  <a href="/how-we-work" class="text-inverse-primary underline underline-offset-4">How we work</a>
</section>

List

A column of rows separated by hairlines: settings that open a one-field edit, recent activity, connected accounts, members, and key–value facts. Full page.

<!-- List card: hairlines between rows through divide-y. A bare list drops the card classes. -->
<ul class="m-0 list-none divide-y divide-outline-variant overflow-hidden rounded-card border border-outline-variant bg-card-outlined-container p-0 py-2">
  <li>
    <!-- Pressable row (two lines). One line: min-h-14. Three lines: min-h-22 items-start py-3. -->
    <button type="button" aria-haspopup="dialog" class="relative isolate flex min-h-18 w-full items-center gap-4 border border-transparent px-row-inset py-2 text-start text-on-surface before:absolute before:-inset-px before:-z-1 before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) focus-visible:-outline-offset-4 sm:ps-row-inset-medium">
      <span class="flex shrink-0 items-center justify-center text-on-surface-variant"><!-- Icon 24px --></span>
      <span class="flex min-w-0 flex-1 flex-col">
        <span class="text-title-sm">Mobile</span>
        <span class="text-body-md text-on-surface-variant"><bdi dir="ltr">+961 71 214 723</bdi></span>
      </span>
      <span class="ms-auto flex shrink-0 items-center gap-2 text-on-surface-variant"><!-- chevron_right, mirrored in RTL --></span>
    </button>
  </li>
</ul>

<!-- Key–value rows: one row from a 640px-wide container. -->
<dl class="@container divide-y divide-outline-variant">
  <div class="flex flex-col gap-stack-tight py-3 @min-[40rem]:flex-row @min-[40rem]:items-baseline @min-[40rem]:justify-between @min-[40rem]:gap-4">
    <dt class="text-body-md text-on-surface-variant">Last sign-in</dt>
    <dd class="text-body-md font-semibold text-on-surface @min-[40rem]:text-end">Today 08:42</dd>
  </div>
</dl>

Data table

Records in columns inside a named region that scrolls sideways: a directory of people, guests, stations, or rows of an imported file, with selection, sorting, and row actions. Full page.

<section aria-label="All people" tabindex="0" class="relative overflow-x-auto rounded-box border border-outline-variant bg-card-outlined-container">
  <table aria-label="All people" class="w-full min-w-260 border-collapse text-body-md text-on-surface">
    <thead>
      <tr>
        <th scope="col" class="h-14 w-16 ps-2 text-start"><!-- 48px label around the select-all box --></th>
        <th scope="col" aria-sort="ascending" class="h-14 p-0 text-start">
          <button type="button" class="relative isolate flex min-h-14 w-full items-center gap-1 border border-transparent px-3 text-start text-label-md text-on-surface-variant whitespace-nowrap before:absolute before:-inset-px before:-z-1 before:bg-current before:opacity-0 hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) focus-visible:-outline-offset-4">Name<!-- arrow_upward 18px --></button>
        </th>
        <th scope="col" class="h-14 px-3 text-start text-label-md whitespace-nowrap text-on-surface-variant">Global ID</th>
      </tr>
    </thead>
    <tbody>
      <tr class="h-16 has-[:checked]:bg-primary-container/30">
        <td class="w-16 border-t border-outline-variant ps-2 align-middle">
          <label class="relative isolate inline-flex size-12 cursor-pointer items-center justify-center rounded-full before:absolute before:inset-0 before:-z-1 before:rounded-full before:bg-current before:opacity-0 hover:before:opacity-(--opacity-state-hover)">
            <input type="checkbox" aria-label="Select Layla Haddad" class="size-5 accent-primary-ink">
          </label>
        </td>
        <th scope="row" class="border-t border-outline-variant px-3 text-start font-normal whitespace-nowrap">
          <a href="/admin/people/layla-haddad" class="inline-flex min-h-12 flex-col justify-center text-label-md text-on-surface no-underline hover:underline">Layla Haddad<span class="text-body-md text-on-surface-variant">layla.haddad@example.com</span></a>
        </th>
        <td class="border-t border-outline-variant px-3 py-2 font-mono text-code-sm whitespace-nowrap"><bdi dir="ltr" translate="no">GU-25-000123</bdi></td>
      </tr>
    </tbody>
  </table>
</section>

<!-- Numbers: text-end tabular-nums whitespace-nowrap. Compact rows: h-12; the record link takes min-h-6 (its 24px line) instead of min-h-12, plus relative after:absolute after:inset-x-0 after:inset-y-[calc((100%-3rem)/2)]; the row-action button adds focus-visible:-outline-offset-4. -->
<!-- Bulk bar: while nothing is ticked, render it sr-only with no aria-label, keeping the empty live count. -->
<section aria-label="People selected" class="flex flex-wrap items-center gap-x-3 gap-y-1 rounded-box border border-transparent bg-primary-container py-2 ps-5 pe-2 text-on-primary-container">
  <!-- check_box 24px, FILL 1 -->
  <p aria-live="polite" class="me-auto text-label-md">2 selected</p>
  <!-- text buttons, sm -->
</section>

Accordion

Rows that show and hide their content: FAQs and static disclosures as native details and summary, and controlled disclosures such as filter groups. Full page.

<div>
  <details class="border-b border-outline-variant first:border-t open:[&>summary>span]:rotate-180">
    <summary class="relative isolate flex min-h-16 cursor-pointer list-none items-center justify-between gap-4 border border-transparent px-row-inset py-5 text-title-sm text-on-surface before:absolute before:-inset-px before:-z-1 before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) focus-visible:-outline-offset-4 [&::-webkit-details-marker]:hidden">
      How do I join an event?
      <span aria-hidden="true" class="text-on-surface-variant transition-transform duration-short-4 ease-standard"><!-- expand_more 24px --></span>
    </summary>
    <div class="max-w-160 ps-row-inset pe-12 pb-6 text-body-md/6 text-on-surface-variant">
      <p>Sign in using an access method connected to your account. …</p>
    </div>
  </details>
</div>

<!-- Compact summary (a button): min-h-12 rounded-8px px-2 py-0 text-label-md text-on-surface-variant, no hairlines; the chevron turns with aria-expanded:[&>span]:rotate-180. -->

Avatar

A person shown as a circle (a photo, two initials, or the person icon), or an organization or app shown as a rounded square. Full page.

<!-- Person, 40px; md size-14, lg size-24. The initials size is round(size × 0.36) through a custom property. -->
<span aria-hidden="true" style="--oa-avatar-font: 14px" class="inline-flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-full bg-primary-container text-(length:--oa-avatar-font) font-bold text-on-primary-container select-none">LH</span>

<!-- Organization, 48px, initials text-label-md; 40px rounded-12px (text-label-md), 56px text-title-md, 96px rounded-24px text-display-sm -->
<span role="img" aria-label="Byblos Digital Studio (Demo)" class="inline-flex size-12 shrink-0 items-center justify-center overflow-hidden rounded-box bg-surface-container-high text-label-md text-on-surface">BS</span>

<!-- Stack: each avatar ring-2 ring-surface; every avatar after the first -ms-2 -->

Badge

A small count or dot on a control that says how many things are on, new, or waiting: "Filters" with "1", a navigation icon with "4", a dot for something that needs attention. Full page.

<!-- Count badge, inside a button with gap-2 -->
<span aria-hidden="true" class="inline-flex h-6 min-w-6 shrink-0 items-center justify-center rounded-full border border-transparent bg-primary px-1.5 text-label-sm tabular-nums text-on-primary">1</span>

<!-- Icon badge on a 48px icon button (relative): -->
<span aria-hidden="true" class="pointer-events-none absolute top-[calc(50%-16px)] start-[calc(50%+2px)] inline-flex h-4 min-w-4 items-center justify-center rounded-full border border-transparent bg-primary px-1 text-label-sm tabular-nums text-on-primary">4</span>

<!-- Dot on a 48px icon button (relative): -->
<span aria-hidden="true" class="pointer-events-none absolute top-[calc(50%-12px)] start-[calc(50%+6px)] size-1.5 rounded-full border-3 border-transparent bg-primary-ink"></span>

Divider

A 1px outline-variant hairline that separates content, and the "or" divider between two ways to do the same thing. Full page.

<hr class="m-0 border-0 border-t border-outline-variant">
<hr class="m-0 ms-18 border-0 border-t border-outline-variant sm:ms-20">
<p class="flex items-center gap-4 text-body-md text-on-surface-variant before:flex-1 before:border-t before:border-outline-variant after:flex-1 after:border-t after:border-outline-variant">or</p>

Overlays

Dialog

A modal surface for one small job: a question to answer, one small form to fill in, or a destructive action to confirm. Full page.

<!-- On a native <dialog> opened with showModal(): write open:flex in place of flex, so a closed dialog keeps the browser's display: none; draw the scrim with backdrop:bg-scrim in place of the overlay div; undo the browser's centering on the sheets, top-auto my-0 on the bottom sheet and start-auto m-0 max-h-none on the side sheet; close on a scrim press with the script of components/dialog.md (canonical §10.19, D-CSN-21) -->
<!-- Dialog.Overlay -->
<div class="fixed inset-0 z-50 bg-scrim transition-opacity duration-short-3 ease-standard starting:opacity-0"></div>
<!-- Dialog.Content -->
<div class="fixed inset-0 z-50 m-auto flex h-fit max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-dialog flex-col gap-stack-loose overflow-auto overscroll-contain rounded-sheet border border-transparent bg-surface-raised p-card-medium text-on-surface shadow-elevation-3 transition-[opacity,scale] duration-short-3 ease-emphasized starting:scale-95 starting:opacity-0">
  <div class="flex flex-col gap-stack-tight pe-10">
    <h2 class="text-headline-sm text-on-surface">Sign out of the library computer?</h2>
    <p class="text-body-md text-on-surface-variant">Anyone using it will have to sign in again to open your apps.</p>
    <!-- the close icon button: absolute top-2 end-2 on the icon-button recipe -->
  </div>
  <form class="-m-2 flex min-h-0 flex-1 flex-col gap-fields overflow-y-auto overscroll-contain p-2"><!-- fields --></form>
  <div class="flex flex-none flex-wrap items-center justify-end gap-2"><!-- Cancel (text, md) then the main button --></div>
</div>

Bottom sheet

The phone container of a dialog: a modal panel that rises from the bottom edge for one small job, below 768px. Full page.

<!-- Dialog.Content as a bottom sheet; the overlay is the dialog's (bg-scrim) -->
<div class="fixed inset-x-0 bottom-0 z-50 mx-auto flex h-fit max-h-[90dvh] w-full max-w-dialog flex-col gap-stack-loose overflow-auto overscroll-contain rounded-t-sheet border border-b-0 border-transparent bg-surface-raised px-card-medium pt-9 pb-[calc(var(--space-card-medium)+env(safe-area-inset-bottom))] text-on-surface shadow-elevation-3 transition-[translate] duration-short-4 ease-emphasized starting:translate-y-full">
  <span class="absolute inset-x-0 top-4 mx-auto h-1 w-8 rounded-full bg-outline/40" aria-hidden="true"></span>
  <div class="flex flex-col gap-stack-tight pe-10">
    <h2 class="text-headline-sm text-on-surface">Sign out of <bdi lang="en" translate="no" class="whitespace-nowrap">Global ID</bdi> on this phone?</h2>
    <p class="text-body-md text-on-surface-variant">Your pass turns off on this phone, and what <bdi lang="en" translate="no" class="whitespace-nowrap">Global ID</bdi> keeps here is cleared. Sign in again to use it here.</p>
  </div>
  <div class="flex flex-none flex-wrap items-center justify-end gap-2">
    <!-- Cancel (outlined, lg) and Sign out (danger, lg), each with flex-1 -->
  </div>
</div>

Side sheet

A modal panel that slides in from the side of the window to hold navigation on phones: the site header's menu, and the admin console's drawer below 768px. Full page.

<!-- Dialog.Content as an end sheet (the phone menu); the overlay is the dialog's (bg-scrim). Without React it is a <dialog aria-labelledby> opened with showModal() (canonical §10.19), adapted as the note above Dialog.Overlay says: open:flex in place of flex, start-auto m-0 max-h-none, and backdrop:bg-scrim -->
<div class="fixed inset-y-0 end-0 z-50 flex h-dvh w-[85vw] max-w-side-sheet flex-col gap-stack-loose overflow-auto overscroll-contain rounded-s-sheet border border-transparent bg-surface-raised pt-[calc(var(--space-6)+env(safe-area-inset-top))] pb-[calc(var(--space-6)+env(safe-area-inset-bottom))] ps-6 pe-[calc(var(--space-6)+env(safe-area-inset-right))] rtl:pe-[calc(var(--space-6)+env(safe-area-inset-left))] text-on-surface shadow-elevation-3 transition-[translate] duration-short-4 ease-emphasized starting:translate-x-full rtl:starting:-translate-x-full">
  <div class="flex flex-row items-center justify-between gap-2">
    <h2 class="text-title-lg text-on-surface">Menu</h2>
    <!-- the close icon button with -me-3 -->
  </div>
  <!-- the phone menu, opened by the header's menu button with aria-expanded and aria-controls: <nav aria-label="Main"> with a 56px pill item per header link, in words only as in the bar (no icons), each relative isolate flex min-h-14 items-center gap-3 rounded-full border border-transparent px-4 text-label-md font-medium text-on-surface-variant with the header links' state-layer classes, the current one with aria-current="page" and aria-[current]:bg-primary-container aria-[current]:font-bold aria-[current]:text-on-surface, the first with autofocus; a divider <hr class="border-outline-variant">; the language row; then "Sign in" as a full-width outlined button; the Global ID circle stays in the bar at every width (canonical §10.14, D-CSN-12, D-CSN-55). Or the drawer -->
</div>

Anchored lists and panels that open from a button: action menus for row actions, disclosure lists for the language and account links, and popovers for help and details. Full page.

<div class="relative inline-flex align-middle">
  <!-- the trigger: an icon button with aria-haspopup, aria-expanded, and aria-controls -->
  <div role="menu" class="absolute top-full end-0 mt-1 z-40 w-max min-w-50 max-w-menu overflow-y-auto overscroll-contain rounded-box border border-transparent bg-surface-raised py-2 text-on-surface shadow-elevation-3 transition-[opacity,translate] duration-short-3 ease-emphasized starting:translate-y-1 starting:opacity-0">
    <button type="button" role="menuitem" tabindex="-1" class="relative isolate flex min-h-12 w-full items-center gap-3 px-row-inset text-start text-body-lg text-on-surface before:absolute before:inset-0 before:-z-1 before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0 focus-visible:-outline-offset-4 disabled:text-on-surface/38 disabled:before:opacity-0 aria-disabled:text-on-surface/38 aria-disabled:before:opacity-0">
      <span class="size-5 shrink-0 text-on-surface-variant" aria-hidden="true"><!-- icon --></span>
      Print ID card
    </button>
    <hr class="my-2 border-0 border-t border-outline-variant">
  </div>
</div>

Tooltip

The plain tooltip: a short label that appears beside a control on mouse rest or keyboard focus and repeats or adds to the control's name. Full page.

<span class="relative inline-flex align-middle">
  <!-- the trigger: an icon button with aria-label and aria-describedby -->
  <span role="tooltip" id="tip-close" hidden class="absolute bottom-full start-1/2 mb-1 -translate-x-1/2 rtl:translate-x-1/2 z-70 block w-max max-w-tooltip min-h-6 rounded-4px border border-transparent bg-inverse-surface px-2 py-1 text-body-sm text-inverse-on-surface transition-opacity duration-short-3 ease-standard starting:opacity-0">Close</span>
</span>

The 72px glass bar at the top of every marketing and public page, and one style for every product (rule 16): the product lock-up; the main navigation from 1024px (from 1280px with four or five links); then the language switcher, the theme toggle (only in a product that ships a dark theme), the sign-in pair (the text button "Sign in" and Sign in with Global ID as its 48px stroke-less circle; once signed in, the account button in place of both), and the menu button, with a menu sheet on smaller windows. The header has no call to action. A zone may be empty; the order never changes. A page's own call to action lives in the page, never in the header (D-CSN-53). Full page.

<html class="scroll-pt-[calc(var(--size-scroll-offset)+env(safe-area-inset-top))] short:scroll-pt-0">
<header class="sticky top-0 z-30 short:static bg-surface-container/90 backdrop-blur-xl pt-[env(safe-area-inset-top)] pr-[env(safe-area-inset-right)] pl-[env(safe-area-inset-left)] text-on-surface forced-colors:bg-[Canvas] [@media(prefers-reduced-transparency:reduce)]:bg-surface-container supports-[not(backdrop-filter:blur(1px))]:bg-surface-container">
  <div class="mx-auto flex min-h-18 w-full max-w-page items-center gap-3 px-gutter sm:px-gutter-medium">
    <!-- lock-up: the brand kit's recipe, shrink-0 -->
    <nav aria-label="Main" class="hidden lg:mx-auto lg:block">
      <ul class="flex items-center gap-1">
        <li><a href="/en/jobs" aria-current="page" class="relative isolate inline-flex min-h-12 items-center whitespace-nowrap rounded-full border border-transparent px-4 text-label-lg text-on-surface-variant before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none aria-[current]:bg-primary-container aria-[current]:font-bold aria-[current]:text-on-surface aria-[current]:after:absolute aria-[current]:after:inset-x-3 aria-[current]:after:bottom-1 aria-[current]:after:border-b-3 aria-[current]:after:border-primary-ink aria-[current]:after:rounded-t-[3px]">Find jobs</a></li>
        <!-- Global Jobs ships two links, "Find jobs" and "For employers" (/en/for-employers); "Companies" is a footer link only (R-39) -->
      </ul>
    </nav>
    <div class="ms-auto flex flex-none items-center gap-2 lg:ms-0">
      <!-- always in this order: language switcher, an icon in a header (size-12, a 24px translate, its words sr-only): max-sm:hidden; the theme toggle, only in a product that ships a dark theme: the icon-button recipe with dark_mode, aria-label="Dark theme", aria-pressed, at every width (D-CSN-56); the sign-in pair: signed out, the text button "Sign in" (the text-button recipe, max-sm:hidden), then Sign in with Global ID as the kit's circle, 48px and stroke-less in a header, unmodified (the kit's own files; never a Tailwind rebuild of it), which starts sign-in at once and stays at every width; signed in, the account button (the icon-button recipe holding the sm avatar, aria-label="Account menu, {name}") in place of both. No CTA -->
      <!-- menu button: the icon-button recipe + lg:hidden -->
    </div>
  </div>
</header>

The end of every page, and one style for every product (rule 16): the brand zone, one or two product link groups, the Platforms group that lists the family, and the legal bar that says who owns and who builds the product. Inside an app shell the same footer shows its legal links only, as one quiet row at the end of main. Full page.

<footer class="border-t border-outline-variant bg-surface-container pr-[env(safe-area-inset-right)] pl-[env(safe-area-inset-left)]">
  <div class="mx-auto grid w-full max-w-page gap-6 px-gutter py-8 sm:px-gutter-medium sm:py-12 xl:flex xl:items-start xl:gap-10">
    <div class="flex flex-col items-start gap-4 xl:min-w-0 xl:flex-[1.6_1_0]">
      <!-- the M lock-up -->
      <p class="m-0 max-w-[28rem] text-body-md text-on-surface-variant">Jobs across the Middle East and North Africa. Every company is reviewed before its jobs go live.</p>
    </div>
    <div class="contents md:flex md:items-start md:gap-10 xl:contents">
      <nav aria-labelledby="footer-seekers" class="flex min-w-0 flex-col gap-2 md:flex-[1_1_0]">
        <h2 id="footer-seekers" class="m-0 text-title-sm text-on-surface">Job seekers</h2>
        <ul class="m-0 flex list-none flex-col items-start p-0">
          <li><a href="/en/jobs" class="inline-flex min-h-12 min-w-12 items-center rounded-8px text-label-lg text-on-surface no-underline underline-offset-4 hover:underline">Find jobs</a></li>
          <!-- then "Companies", "Sign in", "Create account", and "Safety" (a product with its own accounts links both here, since the header carries only the Global ID circle); the second and last product group "Employers" ("For employers", "Post a job", "Contact us"); the legal bar lists "Privacy notice", "Terms", and "Accessibility" (Global Jobs' links as components/footer.md sets them, canonical §10.16, R-39) -->
        </ul>
      </nav>
      <!-- always the last group, the same on every product (D-CSN-52) -->
      <nav aria-labelledby="footer-platforms" class="flex min-w-0 flex-col gap-2 rounded-card bg-surface-container-high p-4 md:flex-[0_0_24.5rem]">
        <h2 id="footer-platforms" class="m-0 text-title-sm text-on-surface">Platforms</h2>
        <ul class="m-0 list-none gap-x-4 p-0 sm:columns-2">
          <li class="break-inside-avoid"><a href="https://id.oait.app" class="inline-flex min-h-12 min-w-12 items-center gap-2.5 rounded-8px text-label-lg text-on-surface no-underline underline-offset-4 hover:underline"><!-- <Mark id="global-id" className="size-6 flex-none" /> --><bdi lang="en" translate="no">Global ID</bdi><Icon name="north_east" class="text-(length:--size-icon-xs) rtl:-scale-x-100" /></a></li>
          <!-- then Global Security (security.oait.app), Global Games (games.oait.app), Global Tasks (tasks.oait.app), Global Events (events.oait.app), Global Tests (tests.oait.app), Global Jobs (jobs.oait.app), Tamakkan (tamakkan.oait.app): the same row; this product's own row links to its home and has no arrow -->
        </ul>
      </nav>
    </div>
  </div>
  <div class="border-t border-outline-variant bg-surface-container-highest">
    <div class="mx-auto flex w-full max-w-page flex-wrap items-center gap-x-6 gap-y-2 px-gutter pt-6 pb-[calc(1.5rem+env(safe-area-inset-bottom))] text-body-md text-on-surface-variant sm:px-gutter-medium">
      <p class="m-0"><a href="https://oait.app" class="inline-flex min-h-12 items-center rounded-8px text-on-surface-variant underline underline-offset-4 hover:decoration-2"><span>Powered by <bdi lang="en" translate="no" class="font-semibold">OAIT</bdi></span></a> at <a href="https://gu.edu.lb" class="inline-flex min-h-12 items-center rounded-8px text-on-surface-variant underline underline-offset-4 hover:decoration-2"><span>Global University</span></a></p>
      <ul class="m-0 flex list-none flex-wrap gap-x-4 p-0">
        <li><a href="/en/privacy" class="inline-flex min-h-12 min-w-12 items-center justify-center rounded-8px text-on-surface-variant underline underline-offset-4 hover:decoration-2">Privacy notice</a></li>
      </ul>
      <div class="ms-auto"><!-- language switcher; a three-language list opens upward (data-side="top") --></div>
    </div>
  </div>
</footer>

The way up from a page: a back link when the page sits one level below its parent, a breadcrumb trail when it sits two or more levels down. Full page.

<nav aria-label="Breadcrumb">
  <a href="/security" class="-me-2 inline-flex min-h-12 min-w-12 items-center gap-2 rounded-8px pe-2 text-label-lg text-primary-ink no-underline underline-offset-4 hover:underline">
    <span class="oa-icon oa-icon--md oa-icon--mirror" aria-hidden="true" translate="no">arrow_back</span>Back to Security
  </a>
</nav>

<nav aria-label="Breadcrumb">
  <ol class="m-0 flex list-none flex-wrap items-center p-0 text-body-md text-on-surface-variant">
    <li class="inline-flex min-w-0 items-center"><a href="/admin/guests" class="inline-flex min-h-12 min-w-12 items-center justify-center rounded-8px text-on-surface-variant no-underline underline-offset-4 hover:underline">Guest lists</a><span class="mx-2" aria-hidden="true">/</span></li>
    <li class="inline-flex min-w-0 items-center"><span class="text-on-surface wrap-anywhere" aria-current="page">Import guests</span></li>
  </ol>
</nav>

Pagination

How long collections continue: data tables page with a status line and previous and next circles; member lists show five items and a "Show {count} more" button. That button is outlined md (the Button recipe); {count} is the number of items it adds, and it moves focus to the first new item (D-CSN-18). Full page.

<nav aria-label="Pagination" class="flex flex-wrap items-center justify-between gap-x-4 gap-y-2">
  <p class="m-0 text-body-md text-on-surface-variant">Showing 1–25 of 48</p>
  <div class="flex items-center gap-2">
    <span aria-disabled="true" class="inline-flex size-12 flex-none items-center justify-center rounded-full border border-outline-variant text-outline">
      <span class="oa-icon oa-icon--mirror" aria-hidden="true" translate="no">chevron_left</span><span class="sr-only">Previous page</span>
    </span>
    <span class="min-w-24 text-center text-body-md font-medium text-on-surface">Page 1 of 2</span>
    <a href="?page=2" aria-label="Next page" class="relative isolate inline-flex size-12 flex-none items-center justify-center rounded-full border border-outline text-on-surface-variant before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none">
      <span class="oa-icon oa-icon--mirror" aria-hidden="true" translate="no">chevron_right</span>
    </a>
  </div>
</nav>

Sticky action bar

A glass bar stuck to the bottom of a phone's window that keeps a page's one main action in reach when that action has scrolled away or lives in an aside. Full page.

<div class="sticky bottom-0 z-20 short:static flex items-center gap-3 border-t border-outline-variant bg-surface/80 backdrop-blur-xl px-4 pt-3 pb-[calc(0.75rem+env(safe-area-inset-bottom))] lg:hidden forced-colors:bg-[Canvas] [@media(prefers-reduced-transparency:reduce)]:bg-surface supports-[not(backdrop-filter:blur(1px))]:bg-surface">
  <div class="flex min-w-0 flex-1 flex-col">
    <p dir="auto" class="m-0 truncate text-title-md text-on-surface [text-align:match-parent]">Frontend Developer (React)</p>
    <p dir="auto" class="m-0 truncate text-body-md text-on-surface-variant [text-align:match-parent]">Byblos Digital Studio (Demo)</p>
  </div>
  <!-- one filled lg button: the button recipe of button.md -->
</div>

App navigation

Top app bar

The bar at the top of every app shell: the product's home link, an optional context chip, and the language switcher and account control. This page also specifies the app shell, the grid that the bar, the navigation, and the main region share. Full page.

<!-- Member app shell: Global ID's AppShell (D-LAY-09) -->
<div class="grid h-dvh grid-cols-[minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)_auto] bg-surface text-on-surface md:grid-cols-[auto_minmax(0,1fr)] md:grid-rows-[auto_minmax(0,1fr)] md:pr-[env(safe-area-inset-right)] md:pl-[env(safe-area-inset-left)]">
  <header class="flex min-h-[calc(var(--size-header-compact)+env(safe-area-inset-top))] items-center gap-3 bg-surface pt-[env(safe-area-inset-top)] pr-[env(safe-area-inset-right)] pl-[env(safe-area-inset-left)] md:col-span-2 md:min-h-[calc(var(--size-header)+env(safe-area-inset-top))] md:px-0">
    <div class="flex min-w-0 flex-1 items-center gap-3 ps-4 md:ps-6">
      <!-- the lock-up link (logo-lockup.md), plus shrink-0 so the chip gives way first -->
      <!-- console only, the context chip: -->
      <span class="inline-flex h-8 min-w-0 items-center gap-1.5 overflow-hidden rounded-chip bg-secondary-container px-3 text-label-md text-on-secondary-container">
        <Icon name="admin_panel_settings" filled size={18} />
        <span class="min-w-0 truncate">Admin console</span>
      </span>
    </div>
    <div class="ms-auto flex shrink-0 items-center gap-2 pe-1 md:pe-4">
      <!-- the language switcher (language-switcher.md) -->
      <button type="button" aria-label="Account menu, Layla Haddad" aria-expanded="false" aria-controls="account-menu" class="relative isolate inline-flex size-12 items-center justify-center rounded-full border border-transparent text-on-surface-variant before:absolute before:-inset-px before:-z-1 before:rounded-full before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 hover:before:opacity-8 active:before:opacity-12 active:before:duration-0">
        <span aria-hidden="true" class="flex size-10 items-center justify-center rounded-full bg-primary-container text-label-md font-bold text-on-primary-container">LH</span>
      </button>
      <!-- its list: a .oa-menu__anchor wraps the button and the list (menu.md) -->
    </div>
  </header>
  <div class="hidden md:flex md:min-h-0 md:flex-col md:overflow-y-auto md:overscroll-contain md:pb-[env(safe-area-inset-bottom)]"><!-- the navigation rail (navigation-rail.md) --></div>
  <main id="main" tabindex="-1" class="min-h-0 overflow-y-auto overscroll-contain pt-1 pr-[calc(1rem+env(safe-area-inset-right))] pb-6 pl-[calc(1rem+env(safe-area-inset-left))] md:px-6 md:pt-2 md:pb-[calc(3rem+env(safe-area-inset-bottom))]">
    <div class="mx-auto flex w-full max-w-page flex-col gap-stack-loose md:gap-stack-group">…</div>
  </main>
  <div class="md:hidden">…navigation bar…</div>
</div>
<!-- Console shell: the same, with grid-rows-[auto_auto_minmax(0,1fr)] md:grid-cols-[var(--size-nav-drawer)_minmax(0,1fr)],
     no bottom bar, a 72px header (min-h-[calc(var(--size-header)+env(safe-area-inset-top))] at every width),
     main pb-[calc(1.5rem+env(safe-area-inset-bottom))] below md (it meets the bottom edge), and the page frame max-w-wide.
     Its tones (D-CSN-58): bg-surface-container on the shell and the header in place of bg-surface; on main,
     bg-surface pt-6 md:rounded-ss-card in place of pt-1 md:pt-2; no background on the drawer. On <html>: [scrollbar-gutter:auto] (D-LAY-21). -->

The bottom bar of the member app on phones: two to five destinations, each an icon in an indicator pill above a label, as the last row of the app shell. Full page.

<nav aria-label="Global ID app" class="bg-surface-container pt-3 pr-[calc(0.5rem+env(safe-area-inset-right))] pb-[calc(1rem+env(safe-area-inset-bottom))] pl-[calc(0.5rem+env(safe-area-inset-left))] md:hidden">
  <ul class="m-0 flex list-none p-0">
    <li class="flex min-w-0 flex-1">
      <a href="/home" aria-current="page" class="flex min-h-12 min-w-0 flex-1 flex-col items-center justify-center gap-1 rounded-full text-center text-on-surface-variant no-underline hover:[&>:first-child]:before:opacity-8 active:[&>:first-child]:before:opacity-12 active:[&>:first-child]:before:duration-0 aria-[current=page]:text-on-surface aria-[current=page]:[&>:first-child]:bg-primary-container aria-[current=page]:[&>:first-child]:text-on-primary-container aria-[current=page]:[&>:last-child]:font-bold aria-[current=true]:text-on-surface aria-[current=true]:[&>:first-child]:bg-primary-container aria-[current=true]:[&>:first-child]:text-on-primary-container aria-[current=true]:[&>:last-child]:font-bold">
        <span class="relative isolate inline-flex h-8 w-16 items-center justify-center rounded-full before:absolute before:inset-0 before:-z-1 before:rounded-full before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3">
          <Icon name="home" filled={current} />
        </span>
        <span class="text-label-sm">Home</span>
      </a>
    </li>
    <!-- My ID, Vault, Me -->
  </ul>
</nav>

The member app's navigation from 768px: a 96px column at the inline start, its destinations stacked as icons in indicator pills above their labels. Full page.

<nav aria-label="Global ID" class="hidden w-24 flex-col items-center bg-surface pt-3 pb-6 md:flex">
  <ul class="m-0 flex list-none flex-col items-center gap-3 p-0">
    <li>
      <a href="/id" aria-current="page" class="flex min-h-14 w-20 flex-col items-center justify-center gap-1 rounded-full text-center text-on-surface-variant no-underline hover:[&>:first-child]:before:opacity-8 active:[&>:first-child]:before:opacity-12 active:[&>:first-child]:before:duration-0 aria-[current=page]:text-on-surface aria-[current=page]:[&>:first-child]:bg-primary-container aria-[current=page]:[&>:first-child]:text-on-primary-container aria-[current=page]:[&>:last-child]:font-bold aria-[current=true]:text-on-surface aria-[current=true]:[&>:first-child]:bg-primary-container aria-[current=true]:[&>:first-child]:text-on-primary-container aria-[current=true]:[&>:last-child]:font-bold">
        <span class="relative isolate inline-flex h-8 w-14 items-center justify-center rounded-full before:absolute before:inset-0 before:-z-1 before:rounded-full before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3">
          <Icon name="badge" filled={current} />
        </span>
        <span class="text-label-sm">My ID</span>
      </a>
    </li>
    <!-- Home, Vault, Profile, Security -->
  </ul>
</nav>

The navigation of consoles: a 272px column of grouped places from 768px, and the same list in a modal side sheet behind a "Menu" row below 768px. Full page.

<nav aria-label="Admin console" class="flex flex-col p-3">
  <!-- no background: the console shell's surface-container shows through (D-CSN-58) -->
  <ul class="m-0 mb-2 flex list-none flex-col p-0">
    <li><!-- the item below, with dashboard and "Overview": the first destination --></li>
  </ul>
  <div class="flex flex-col">
    <button type="button" aria-expanded="true" aria-controls="directory" class="relative isolate flex min-h-12 w-full items-center gap-3 rounded-full border border-transparent px-4 py-2 text-start text-label-md text-on-surface-variant before:absolute before:-inset-px before:-z-1 before:rounded-full before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 hover:before:opacity-8 active:before:opacity-12 active:before:duration-0 aria-expanded:[&>:last-child]:rotate-180">
      <span id="directory-title" class="min-w-0 flex-1">Directory</span>
      <Icon name="expand_more" className="transition-transform duration-short-4 ease-standard" />
    </button>
    <ul id="directory" aria-labelledby="directory-title" class="m-0 flex list-none flex-col p-0">
      <li>
        <a href="/admin/people" aria-current="page" class="relative isolate flex min-h-14 items-center gap-3 rounded-full border border-transparent px-4 text-label-md font-medium text-on-surface-variant no-underline before:absolute before:-inset-px before:-z-1 before:rounded-full before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 hover:before:opacity-8 active:before:opacity-12 active:before:duration-0 aria-[current=page]:bg-primary-container aria-[current=page]:font-bold aria-[current=page]:text-on-surface aria-[current=page]:[&>:first-child]:text-on-primary-container">
          <Icon name="group" filled={current} />
          <span class="min-w-0 flex-1">People</span>
        </a>
      </li>
    </ul>
  </div>
  <hr class="m-4 h-0 border-0 border-t border-outline-variant">
  <!-- the way back: an outlined md button link, full width (button.md), with a mirrored 20px arrow_back -->
  <a href="/home"><Icon name="arrow_back" size={20} mirror />Back to my <bdi lang="en" translate="no" class="whitespace-nowrap">Global ID</bdi></a>
</nav>
<!-- Below md: the Menu row -->
<button type="button" aria-expanded="false" aria-controls="console-menu" class="relative isolate flex min-h-12 w-full items-center gap-3 border border-transparent border-b-outline-variant bg-surface pr-[calc(1rem+env(safe-area-inset-right))] pl-[calc(1rem+env(safe-area-inset-left))] text-start text-label-md text-on-surface-variant before:absolute before:-inset-px before:-z-1 before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 hover:before:opacity-8 focus-visible:-outline-offset-4 active:before:opacity-12 active:before:duration-0 md:hidden">
  <Icon name="menu" />Menu
</button>

Tabs

Underline tabs switch between views of the same thing without leaving the page; link tabs, drawn the same way, move between pages that share one place. Full page.

<div class="flex flex-col gap-stack-loose">
  <div role="tablist" aria-label="Kinds of items" class="flex overflow-x-auto border-b border-outline-variant">
    <button type="button" role="tab" id="tab-passwords" aria-selected="true" aria-controls="panel" tabindex="0" class="relative isolate inline-flex min-h-12 shrink-0 items-center gap-2 border border-transparent px-4 text-label-md whitespace-nowrap text-on-surface-variant transition-colors duration-short-3 before:absolute before:-inset-px before:-z-1 before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 after:absolute after:inset-x-3 after:-bottom-px after:h-[3px] after:rounded-t-[3px] after:transition-colors after:duration-short-4 hover:before:opacity-8 focus-visible:-outline-offset-4 active:before:opacity-12 active:before:duration-0 aria-selected:text-primary-ink aria-selected:after:bg-primary-ink">Passwords</button>
    <!-- every tab takes the same classes -->
    <button type="button" role="tab" id="tab-codes" aria-selected="false" tabindex="-1">Codes</button>
  </div>
  <div role="tabpanel" id="panel" aria-labelledby="tab-passwords" tabindex="0">…</div>
</div>
<!-- Link tabs: <nav aria-label="Person record"><ul class="flex overflow-x-auto border-b border-outline-variant"> of <a> with the same
     classes, aria-current="page" on the current one, selected through aria-[current=page]:text-primary-ink aria-[current=page]:after:bg-primary-ink. -->

Stepper

The step header of in-app flows of three or more steps: "Step 2 of 4", the step's heading, and a segmented bar, with Continue and Back ending each step. Full page.

<form class="flex flex-col gap-stack-loose" novalidate>
  <div class="flex flex-col gap-stack-tight">
    <p id="step-count" class="text-label-md text-on-surface-variant">Step 2 of 4</p>
    <h1 id="step-title" tabindex="-1" aria-describedby="step-count" class="text-headline-md text-balance text-on-surface">Profile</h1>
    <div aria-hidden="true" class="mt-2 flex gap-1">
      <span class="h-1 flex-1 rounded-full bg-primary-ink"></span>
      <span class="h-1 flex-1 rounded-full bg-primary-ink"></span>
      <span class="h-1 flex-1 rounded-full bg-surface-container-highest"></span>
      <span class="h-1 flex-1 rounded-full bg-surface-container-highest"></span>
    </div>
  </div>
  <!-- the step's fields -->
  <div class="flex flex-col gap-3 sm:flex-row sm:items-center">
    <!-- Continue: the filled lg button; Back: the text md button (button.md) -->
    <button type="submit">Continue</button>
    <button type="button">Back</button>
  </div>
</form>

Feedback

Snackbar

The family's only transient message: one short sentence at the bottom of the window that confirms what just happened, or says that a background action failed, and goes by itself. Full page.

{/* Host: once per page, empty at load. Above a navigation bar use bottom-[calc(6rem+env(safe-area-inset-bottom))] instead of the bottom-[calc(1rem…)] value; above a sticky action bar (below 1024px) use the bar's height plus 1rem in the same calc. */}
<div
  role="status"
  aria-live="polite"
  className="pointer-events-none fixed inset-x-4 bottom-[calc(1rem+env(safe-area-inset-bottom))] z-60 flex md:inset-x-6 md:bottom-[calc(1.5rem+env(safe-area-inset-bottom))] print:hidden"
>
  <div className="pointer-events-auto flex min-h-14 w-full max-w-snackbar items-center gap-1 rounded-12px border border-outline bg-inverse-surface py-1 ps-4 pe-1 text-body-md text-inverse-on-surface shadow-elevation-3 transition-opacity duration-short-3 ease-emphasized starting:opacity-0 [--color-focus-ring:var(--color-inverse-primary)]">
    <p className="min-w-0 flex-1 py-2.5 wrap-anywhere text-pretty">Mobile number saved</p>
    <button
      type="button"
      className="relative isolate inline-flex h-12 shrink-0 items-center justify-center rounded-full border border-transparent px-3.5 text-label-md whitespace-nowrap text-inverse-primary before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none"
    >
      Undo
    </button>
    <button
      type="button"
      aria-label="Close message"
      className="relative isolate inline-flex size-12 shrink-0 items-center justify-center rounded-full border border-transparent text-inverse-on-surface before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none"
    >
      <Icon name="close" size={24} />
    </button>
  </div>
</div>

One inline notice in five tones that stays in the page until its cause goes away; it also covers the form error summary and the full-width page strip for demo, practice, and staging screens. Full page.

<div role="alert" className="flex w-full items-start gap-3 rounded-box border border-transparent bg-error-container px-4 py-3 text-body-md text-on-error-container [--oa-link:currentColor]">
  <span className="flex h-lh shrink-0 items-center">
    <Icon name="error" size={20} filled />
  </span>
  <div className="flex min-w-0 flex-1 flex-col items-start gap-1">
    <p className="text-pretty">Your request couldn’t be sent. Try again, or email us at <a className="font-semibold text-current underline underline-offset-4 hover:decoration-2" href="mailto:info@oait.app">info@oait.app</a>.</p>
    <div className="mt-1 flex flex-wrap items-center gap-2">
      <button
        type="button"
        className="relative isolate inline-flex h-10 shrink-0 items-center rounded-full border border-transparent px-5 text-label-md text-current before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard after:absolute after:inset-x-0 after:-inset-y-[5px] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none"
      >
        Try again
      </button>
    </div>
  </div>
</div>

Progress

A linear bar shows how much of a task is done and a spinner shows that something is happening; both always come with words. Full page.

<div className="flex w-full flex-col gap-2">
  <p id="answers" className="flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1 text-body-md text-on-surface">
    <span>Answered 12 of 120</span>
    <span className="text-label-md tabular-nums text-on-surface-variant">10%</span>
  </p>
  <div
    role="progressbar"
    aria-labelledby="answers"
    aria-valuemin={0}
    aria-valuemax={100}
    aria-valuenow={10}
    className="block h-2 w-full overflow-hidden rounded-full bg-surface-container-highest forced-colors:border forced-colors:border-[CanvasText]"
  >
    <span
      className="block h-full w-(--oa-progress-value) rounded-full bg-primary-ink transition-[width] duration-medium-2 ease-emphasized forced-colors:forced-color-adjust-none forced-colors:bg-[Highlight]"
      style={{ "--oa-progress-value": "10%" } as React.CSSProperties}
    />
  </div>
</div>

Skeleton

Placeholder blocks drawn in the final layout, which stand in for content with a known layout while it takes more than a second to load. Full page.

<div aria-busy="true">
  <p className="sr-only">Loading people…</p>
  <ul aria-hidden="true" className="overflow-hidden rounded-card border border-outline-variant bg-card-outlined-container py-2">
    <li className="flex min-h-18 items-center gap-4 px-row-inset py-2 sm:ps-row-inset-medium">
      <span className="block size-10 shrink-0 rounded-full border border-transparent bg-skeleton motion-safe:animate-skeleton motion-safe:bg-[linear-gradient(90deg,var(--color-skeleton),var(--color-skeleton-highlight),var(--color-skeleton))] motion-safe:bg-size-[220%_100%]" />
      <span className="flex min-w-0 flex-1 flex-col gap-2">
        <span className="block h-4 w-3/5 rounded-4px border border-transparent bg-skeleton motion-safe:animate-skeleton motion-safe:bg-[linear-gradient(90deg,var(--color-skeleton),var(--color-skeleton-highlight),var(--color-skeleton))] motion-safe:bg-size-[220%_100%]" />
        <span className="block h-4 w-4/5 rounded-4px border border-transparent bg-skeleton motion-safe:animate-skeleton motion-safe:bg-[linear-gradient(90deg,var(--color-skeleton),var(--color-skeleton-highlight),var(--color-skeleton))] motion-safe:bg-size-[220%_100%]" />
      </span>
    </li>
  </ul>
</div>

Empty state

What a container shows when it has nothing to show, and the full pages that stand in for a view that cannot be shown: page not found, error, offline, not set up, and expired link. Full page.

<div className="flex w-full flex-col items-center gap-3 px-6 py-12 text-center">
  <span aria-hidden="true" className="flex size-16 shrink-0 items-center justify-center rounded-full bg-secondary-container text-on-secondary-container">
    <Icon name="search_off" size={32} filled />
  </span>
  <p className="text-title-lg text-balance text-on-surface">No people match these filters</p>
  <p className="max-w-[40ch] text-body-md text-pretty text-on-surface-variant">Try another type, unit, or status, or check the spelling of the name.</p>
  <div className="mt-1 flex flex-wrap items-center justify-center gap-3">
    <Button variant="outlined">Clear filters</Button>
  </div>
</div>

Status indicator

A dot and words that mark a state: a large dot with a halo before a heading or a line, a small dot inside chips and cells; only real-time live states pulse. Full page.

{/* Large, before a heading: the dot centers on the heading's first line. */}
<h2 className="flex items-start gap-3 text-headline-md">
  <span aria-hidden="true" className="ms-[5px] mt-[calc((1lh-12px)/2)] size-3 shrink-0 rounded-full border border-transparent bg-success shadow-[0_0_0_5px_var(--color-success-container)]" />
  <span>Live now</span>
</h2>

{/* Large, live: the halo pulses only while motion is allowed. */}
<p className="flex items-start gap-3 text-title-md">
  <span aria-hidden="true" className="ms-[5px] mt-[calc((1lh-12px)/2)] size-3 shrink-0 rounded-full border border-transparent bg-success text-success shadow-[0_0_0_5px_var(--color-success-container)] motion-safe:animate-live" />
  <span>Ready to scan</span>
</p>

{/* Small, inside a cell or chip. */}
<span className="inline-flex items-start gap-2">
  <span aria-hidden="true" className="mt-[calc((1lh-8px)/2)] size-2 shrink-0 rounded-full border border-transparent bg-warning" />
  <span>Waiting for its device</span>
</span>

Marketing

Hero

The top of a marketing page: a tonal panel that holds the page's one statement headline, a one-sentence lead, its main action, and the product's art. Full page. The art column is the product's slot, Tamakkan's being its collage (D-BCP-39, TK-3.01). Copy the kit's mask shapes from assets/shapes/ into the product's own /brand/shapes/, because a CSS mask fetched from another origin needs CORS. Art that stands still, as Tamakkan's does, takes no Pause control (canonical §7.5). While Tamakkan's public tests are not open, its eyebrow is the dot pill with a bg-warning dot, "Public tests are coming soon", and a launch-list sign-up form (a text field and a filled lg "Notify me at launch") takes the action slot, never a button to an assessment that does not work yet (canonical §10.27, D-BCP-23).

<section
  aria-labelledby="hero-title"
  className="relative isolate grid items-center gap-split overflow-hidden rounded-hero border border-transparent bg-surface-container-low px-5 py-12 text-on-surface sm:px-10 lg:grid-cols-[minmax(0,1.05fr)_minmax(0,1fr)] lg:gap-split-expanded lg:px-16 lg:py-20"
>
  <span aria-hidden="true" className="pointer-events-none absolute -start-20 -top-24 -z-1 size-75 rounded-full bg-pastel-peach opacity-(--opacity-decor-soft) print:hidden" />

  <div className="flex min-w-0 animate-rise flex-col items-start gap-6">
    <p className="inline-flex min-h-[34px] items-center gap-2 rounded-full border border-outline-variant bg-surface-container-lowest py-1.5 ps-2 pe-4 text-body-md font-medium text-on-surface-variant">
      <span aria-hidden="true" className="size-2.5 shrink-0 rounded-full bg-primary" />
      A new chapter starts here
    </p>
    <h1 id="hero-title" className="max-w-[13em] text-hero-lg text-balance">
      Good work.{" "}
      <span className="relative block w-fit max-w-full text-primary-ink">
        Closer to home.
        <svg aria-hidden="true" viewBox="0 0 300 16" preserveAspectRatio="none" className="pointer-events-none absolute start-0 -bottom-[0.2em] h-[0.16em] w-full overflow-visible rtl:bottom-[0.04em] rtl:-scale-x-100">
          <path className="stroke-primary" d="M2 11 C 60 3, 140 2, 298 8" fill="none" stroke="currentColor" strokeWidth={5} strokeLinecap="round" />
        </svg>
      </span>
    </h1>
    <p className="max-w-[30em] text-lead text-pretty text-on-surface-variant">
      Discover jobs and internships across the Middle East and North Africa.
    </p>
    <div className="mt-2 flex w-full flex-col gap-3 sm:flex-row sm:flex-wrap">
      <Button variant="filled" size="lg" href="/en/jobs" trailingIcon="arrow_forward">Explore jobs</Button>
      <Button variant="outlined" size="lg" href="/en/for-employers">I’m hiring</Button>
    </div>
    <p className="flex items-center gap-2 text-body-md text-on-surface-variant">
      <Icon name="verified_user" size={20} className="shrink-0 text-success" />
      Free for job seekers
    </p>
  </div>

  <div className="relative w-full max-w-120 min-w-0 animate-rise justify-self-center">
    <div id="hero-art" className="relative aspect-4/3">
      <span aria-hidden="true" className="pointer-events-none absolute end-[6%] top-[6%] -z-1 aspect-square w-[clamp(96px,34%,160px)] rotate-12 rounded-[25%] bg-pastel-lavender opacity-(--opacity-decor) animate-drift print:hidden" />
      <span aria-hidden="true" className="pointer-events-none absolute start-[8%] bottom-0 -z-1 aspect-square w-[clamp(136px,44%,200px)] bg-pastel-mint opacity-(--opacity-decor) mask-[url(/brand/shapes/sh-cookie.svg)] mask-contain mask-center mask-no-repeat animate-drift-slow print:hidden" />
      <PauseControl controls="hero-art" className="absolute end-0 bottom-0" />
    </div>
  </div>
</section>

Section header

The heading block of a marketing section: an eyebrow with its rule, the section's h2, and a one-sentence lead, above the section's content. Full page.

<section aria-labelledby="approach-title">
  <div className="flex max-w-reading flex-col items-start">
    <p className="mb-3 flex items-center gap-3 text-eyebrow text-primary-ink uppercase before:h-0.5 before:w-8 before:shrink-0 before:rounded-full before:bg-primary before:content-[''] [&:lang(ar)]:normal-case">
      How we work
    </p>
    <h2 id="approach-title" className="text-hero-md text-balance">Four steps. No guesswork.</h2>
    <p className="mt-4 max-w-measure text-lead text-pretty text-on-surface-variant">
      A clear path from the first conversation to results that last.
    </p>
  </div>
  <div className="mt-section-head">{/* the section's content */}</div>
</section>

Feature card

An outlined card that presents one service, feature, or reason on a marketing page: a pastel icon tile, a title, one or two sentences, and an optional link. Full page.

<ul role="list" className="grid gap-grid sm:grid-cols-2 lg:grid-cols-3">
  <li className="flex flex-col items-start gap-4 rounded-card border border-outline-variant bg-card-outlined-container p-card text-on-surface sm:p-card-medium">
    <span aria-hidden="true" className="inline-flex size-14 shrink-0 items-center justify-center rounded-box bg-pastel-peach text-on-pastel-peach sm:mb-1">
      <Icon name="school" size={28} filled />
    </span>
    <h3 className="text-title-md text-balance">AI Academy</h3>
    <p className="-mt-2 text-body-lg text-pretty text-on-surface-variant">
      Webinars, hands-on workshops, and the Applied AI Professional Diploma.
    </p>
    <p className="text-body-md text-on-surface-variant">
      <strong className="text-on-surface">For</strong> faculty, staff, and professionals
    </p>
    <a href="#contact" className="mt-auto inline-flex min-h-12 items-center gap-2 rounded-full font-semibold text-primary-ink">
      <span className="underline underline-offset-4 hover:decoration-2">Ask about this</span>
      <span className="sr-only">: AI Academy</span>
      <Icon name="arrow_forward" size={20} mirror />
    </a>
  </li>
</ul>

Stat tile

A filled card that shows one key number with its label: a count, a total, a KPI, a counter. Full page.

<dl className="grid grid-cols-2 gap-grid sm:grid-cols-3 lg:grid-flow-col lg:grid-cols-none lg:auto-cols-fr">
  <div className="flex min-h-28 min-w-0 flex-col gap-1 rounded-card border border-transparent bg-surface-container-low p-card text-on-surface sm:p-card-medium">
    <dt className="flex items-start justify-between gap-2 text-body-md font-medium text-on-surface-variant">
      Main gate
      <Icon name="sync_alt" size={24} className="-my-0.5 shrink-0" />
    </dt>
    <dd className="text-numeral-lg tabular-nums wrap-anywhere">214</dd>
    <dd className="text-body-md text-on-surface-variant">Counted in and out</dd>
  </div>
  <div className="flex min-h-28 min-w-0 flex-col gap-1 rounded-card border border-transparent bg-error-container p-card text-on-error-container sm:p-card-medium">
    <dt className="flex items-start justify-between gap-2 text-body-md font-medium">
      To fix
      <Icon name="error" size={24} filled className="-my-0.5 shrink-0" />
    </dt>
    <dd className="text-numeral-lg tabular-nums wrap-anywhere">3</dd>
  </div>
</dl>

Steps row

A numbered row of three or four bare steps on a marketing page, each a primary disc with an icon, a numeral, a title, and a sentence, joined by a connector: "how it works". Full page.

<ol role="list" className="grid gap-8 lg:grid-flow-col lg:auto-cols-fr">
  {steps.map((step, index) => (
    <li
      key={step.key}
      className="relative grid grid-cols-[3.5rem_minmax(0,1fr)] items-start gap-x-4 lg:grid-cols-1 before:absolute before:start-[27px] before:top-16 before:-bottom-6 before:w-0.5 before:rounded-full before:bg-outline-variant before:content-[''] last:before:hidden lg:before:start-[4.5rem] lg:before:-end-4 lg:before:top-[27px] lg:before:bottom-auto lg:before:h-0.5 lg:before:w-auto"
    >
      <span aria-hidden="true" className="row-span-3 flex size-14 items-center justify-center rounded-full border border-transparent bg-primary text-on-primary lg:row-span-1">
        <Icon name={step.icon} size={28} />
      </span>
      <span aria-hidden="true" className="col-start-2 text-label-md text-primary-ink tabular-nums lg:col-start-1 lg:mt-4">
        {String(index + 1).padStart(2, "0")}
      </span>
      <h3 className="col-start-2 mt-1 text-title-lg text-balance lg:col-start-1">{step.title}</h3>
      <p className="col-start-2 mt-2 max-w-[36ch] text-body-lg text-pretty text-on-surface-variant lg:col-start-1">{step.body}</p>
    </li>
  ))}
</ol>

CTA band

The page's one dark band: the inverse panel with a section header, up to six principle items, and at most one filled call to action with a text link. Full page.

<section
  aria-labelledby="employers-title"
  className="relative isolate flex flex-col items-start overflow-hidden rounded-hero border border-transparent bg-inverse-surface px-5 py-10 text-inverse-on-surface sm:px-10 lg:p-16 [--color-focus-ring:var(--color-inverse-primary)]"
>
  <span aria-hidden="true" className="pointer-events-none absolute -end-32 -top-48 -z-1 size-112 rounded-full bg-primary/20 blur-3xl print:hidden" />
  <span aria-hidden="true" className="pointer-events-none absolute -start-32 -bottom-48 -z-1 size-104 rounded-full bg-secondary/20 blur-3xl print:hidden" />
  <div className="flex max-w-reading flex-col items-start">
    <p className="mb-3 flex items-center gap-3 text-eyebrow text-inverse-primary uppercase before:h-0.5 before:w-8 before:shrink-0 before:rounded-full before:bg-primary before:content-[''] [&:lang(ar)]:normal-case">
      For the people building teams
    </p>
    <h2 id="employers-title" className="text-hero-md text-balance">Your next great hire could be closer than you think.</h2>
    <p className="mt-4 max-w-measure text-lead text-pretty text-inverse-on-surface-variant">
      Bring your opportunities to people across the Middle East and North Africa.
    </p>
  </div>
  <div className="mt-8 flex w-full flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center">
    <Button variant="filled" size="lg" href="/en/sign-up?role=employer">Create employer account</Button>
    <a href="#how-it-works" className="inline-flex min-h-12 items-center gap-2 rounded-full font-semibold text-inverse-primary">
      <span className="underline underline-offset-4 hover:decoration-2">How it works</span>
      <Icon name="arrow_forward" size={20} mirror />
    </a>
  </div>
  <ul role="list" className="mt-section-head grid w-full gap-x-10 gap-y-8 sm:grid-cols-2 lg:grid-cols-3">
    <li className="flex items-start gap-4">
      <span aria-hidden="true" className="flex size-12 shrink-0 items-center justify-center rounded-box border border-inverse-on-surface-variant text-inverse-primary">
        <Icon name="translate" size={24} />
      </span>
      <div>
        <p className="text-title-sm">Post in English or Arabic</p>
      </div>
    </li>
  </ul>
</section>

FAQ

A marketing section of up to six common questions, each a native disclosure row whose answer opens in place, under one h2. Full page.

<section aria-labelledby="faq-title" className="flex flex-col gap-section-head">
  <div className="flex max-w-reading flex-col items-start">
    <p className="mb-3 flex items-center gap-3 text-eyebrow text-primary-ink uppercase before:h-0.5 before:w-8 before:shrink-0 before:rounded-full before:bg-primary before:content-[''] [&:lang(ar)]:normal-case">
      Before you jump in
    </p>
    <h2 id="faq-title" className="text-hero-md text-balance">A few good questions.</h2>
  </div>
  <div className="w-full max-w-reading">
    {questions.map((q) => (
      <details key={q.key} className="border-b border-outline-variant first:border-t">
        <summary className="relative isolate flex min-h-16 cursor-pointer list-none items-center justify-between gap-4 border border-transparent px-row-inset py-5 text-title-sm text-on-surface before:absolute before:-inset-px before:-z-1 before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none focus-visible:-outline-offset-4 [&::-webkit-details-marker]:hidden">
          {q.question}
          <Icon name="expand_more" size={24} className="shrink-0 text-on-surface-variant transition-transform duration-short-4 ease-standard in-open:rotate-180" />
        </summary>
        <div className="max-w-160 ps-row-inset pe-12 pb-6 text-body-md/6 text-on-surface-variant">
          <p>{q.answer}</p>
        </div>
      </details>
    ))}
  </div>
</section>

Pause control

The 48px outlined icon button that pauses every animation in its region, required wherever something moves by itself for more than 5 seconds. Full page. Name it "Pause animation" with pause, then "Play animation" with play_arrow once paused, in the page language; neither glyph mirrors. Wrap it in the plain tooltip with the same words. A press sets data-motion="paused" on the region its aria-controls names, and base.css then pauses every animation inside; it also stops any auto-advance for the visit (canonical §7.5, D-SEM-17, C-4).

<button
  type="button"
  aria-controls="hero-art"
  aria-label={paused ? t("motion.play") : t("motion.pause")}
  onClick={toggle}
  /* grid, not inline-grid: with the spacing token grid, inline-grid also sets inline-size: 16px */
  className="relative isolate grid size-12 shrink-0 place-items-center rounded-full border border-outline-variant bg-surface-container-lowest text-on-surface-variant before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none motion-reduce:hidden print:hidden"
>
  <Icon name={paused ? "play_arrow" : "pause"} size={24} />
</button>

Brand kit

Logo lock-up

A product's mark, its name in live text, and an optional endorsement line, set together as one link home; this page also covers the mark on its own. Full page.

<!-- Header lock-up: S below 640px, M from 640px. Write grid w-fit, not inline-grid: Tailwind CSS v4 also reads inline-grid as inline-size: var(--spacing-grid), which makes the link 16px wide (measured with 4.3.3) -->
<a href="/" class="grid w-fit shrink-0 grid-cols-[auto_auto] grid-rows-[1fr_auto_auto_1fr] items-center gap-x-2 sm:gap-x-2.5 min-h-12 rounded-12px text-on-surface no-underline">
  <svg class="col-start-1 row-span-full size-8 sm:size-10" viewBox="180 180 720 720" aria-hidden="true" focusable="false"><!-- the paths of the product's light master, assets/app-marks/<product>.svg (global-id.svg here, global-jobs.svg for Global Jobs): the #4c4c4d parts with fill="var(--color-mark-ink)", the #f47920 parts, or Tamakkan's violet dot, with fill="var(--color-mark-accent)", and the Games amber as drawn; never a stand-in drawing (D-BCP-06, D-BCP-08, R-31) --></svg>
  <span class="col-start-2 row-start-2 whitespace-nowrap text-lockup-name-compact sm:text-lockup-name"><bdi lang="en" translate="no">Global ID</bdi></span>
  <span class="col-start-2 row-start-3 hidden whitespace-nowrap text-label-sm text-on-surface-variant sm:block">Global University</span>
</a>

<!-- Tamakkan's lock-up: its mark in column 1 (copy the inline <svg>, with its var(--color-mark-*) fills, from reference/snippets/brand-kit.html; data-product="tamakkan" goes on the <svg> too), this wordmark in the name slot, and no sub-line, because endorsed brands carry none (canonical §1.4, D-BCP-09). Its <a> also carries data-product="tamakkan" -->
<span class="col-start-2 row-start-2 whitespace-nowrap text-lockup-name-compact font-bold sm:text-lockup-name"><bdi lang="en" translate="no" class="after:content-['.'_/_''] after:text-mark-accent">tamakkan</bdi></span>

<!-- A mark alone, and the ink on a ground that stays dark -->
<svg class="size-10 shrink-0" viewBox="180 180 720 720" role="img" aria-label="Global Events"><!-- paths --></svg>
<div class="[--color-mark-ink:var(--color-on-card-art)]"><!-- marks drawn white in both themes --></div>

Language switcher

The control that shows the page's language and changes it: a disclosure listing every language in its own script when a product has three, a direct link or button to the other language when it has two. Full page.

<!-- Three languages -->
<div class="relative inline-flex">
  <button type="button" aria-label="Language: English" aria-expanded="false" aria-controls="lang-list" class="relative isolate inline-flex h-12 w-12 min-w-12 items-center justify-center gap-1.5 rounded-full border border-transparent px-0 text-label-md text-on-surface whitespace-nowrap cursor-pointer select-none md:w-auto md:px-3 before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0">
    <Icon name="translate" class="text-(length:--size-icon-lg) md:text-(length:--size-icon-md)" />
    <span class="hidden md:inline">English</span>
    <Icon name="arrow_drop_down" class="hidden text-(length:--size-icon-md) md:inline-block" />
  </button>
  <ul id="lang-list" hidden class="absolute end-0 top-full z-40 mt-1 w-max min-w-50 max-w-menu list-none rounded-box border border-transparent bg-surface-raised px-0 py-2 text-on-surface shadow-elevation-3 transition-[opacity,translate] duration-short-3 ease-emphasized starting:opacity-0 starting:translate-y-1">
    <li><button type="button" lang="en" aria-current="true" class="relative isolate flex min-h-12 w-full items-center justify-between gap-3 px-4 text-start text-body-lg text-on-surface cursor-pointer focus-visible:-outline-offset-4 disabled:text-on-surface/38 before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0">English<Icon name="check" class="text-(length:--size-icon-md) text-primary-ink" /></button></li>
    <!-- العربية (lang="ar"), Français (lang="fr") -->
  </ul>
</div>

<!-- Two languages -->
<a href="/ar/jobs" hreflang="ar" class="relative isolate inline-flex h-12 min-w-12 items-center justify-center gap-2 rounded-full border border-transparent px-3 text-label-md text-on-surface no-underline whitespace-nowrap before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0">
  <Icon name="translate" class="text-(length:--size-icon-md)" />
  <span lang="ar">العربية</span><span class="sr-only">Switch to Arabic</span>
</a>

Theme toggle

How people choose light or dark: products follow the system setting, settings pages offer "Appearance: System / Light / Dark", and the header of a product that ships a dark theme carries a 48px dark_mode icon button. Full page.

<!-- Appearance: the segmented recipe, filling the row below 640px -->
<div class="flex flex-col gap-2">
  <p id="appearance" class="text-label-md text-on-surface">Appearance</p>
  <fieldset aria-labelledby="appearance" class="m-0 flex w-full min-w-0 max-w-full overflow-hidden rounded-full border border-outline bg-surface p-0 sm:w-fit">
    <button type="button" value="system" aria-pressed="true" class="relative isolate inline-flex h-12 flex-1 items-center justify-center gap-2 border-s border-outline px-6 text-label-lg text-on-surface whitespace-nowrap cursor-pointer first-of-type:border-s-0 first-of-type:rounded-s-full last-of-type:rounded-e-full focus-visible:-outline-offset-4 aria-pressed:bg-primary-container aria-pressed:text-on-primary-container transition-[background-color,color] duration-short-3 ease-standard before:pointer-events-none before:absolute before:inset-0 not-first-of-type:before:-start-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0"><Icon name="check" class="hidden text-(length:--size-icon-md) [font-variation-settings:'FILL'_1] in-aria-pressed:inline-block" />System</button>
    <!-- Light (value="light"), Dark (value="dark"); the chosen one shows the 20px check -->
  </fieldset>
</div>

<!-- The header toggle, in a product that ships a dark theme (D-CSN-56). The footer twin (D-CSN-57) is the language switcher pill with dark_mode and the words "Dark theme": <button type="button" aria-pressed="false" class="…the language switcher recipe… aria-pressed:bg-primary-container aria-pressed:text-on-primary-container">. -->
<button type="button" aria-label="Dark theme" aria-pressed="false" class="relative isolate inline-flex size-12 items-center justify-center rounded-full border border-transparent text-on-surface-variant aria-pressed:bg-primary-container aria-pressed:text-on-primary-container before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0">
  <Icon name="dark_mode" class="text-(length:--size-icon-lg) in-aria-pressed:[font-variation-settings:'FILL'_1]" />
</button>

Platform strip

Product component (oait.app): a labeled row of 48px tiles, one per product of the family, that picks which product a showcase presents, with a link to explore the chosen one. Full page.

<div role="group" aria-labelledby="platforms-label" aria-describedby="platforms-hint" class="flex flex-col items-center gap-3">
  <div class="flex flex-wrap items-center justify-center gap-3">
    <p id="platforms-label" class="m-0 text-body-md font-medium text-on-surface-variant">Our platforms</p>
    <!-- the Pause control, when the strip drives a moving stack -->
  </div>
  <p id="platforms-hint" class="sr-only">Choose a platform to bring its card to the front</p>
  <div class="flex flex-wrap justify-center gap-2">
    <button type="button" aria-pressed="true" aria-label="Global ID" class="relative isolate grid size-12 place-items-center rounded-box border border-outline-variant bg-card-outlined-container text-on-surface-variant cursor-pointer transition-[background-color,border-color,box-shadow] duration-short-3 ease-standard aria-pressed:border-transparent aria-pressed:bg-primary-container aria-pressed:text-on-primary-container aria-pressed:shadow-[inset_0_0_0_2px_var(--color-primary-ink)] forced-colors:aria-pressed:border-2 forced-colors:aria-pressed:border-[Highlight] before:pointer-events-none before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard before:content-[''] hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:duration-0">
      <svg class="size-8" viewBox="180 180 720 720" aria-hidden="true" focusable="false"><!-- the mark's paths --></svg>
    </button>
    <!-- seven more tiles, in the family's order -->
  </div>
  <a href="https://id.oait.app" class="inline-flex min-h-12 items-center gap-2 rounded-full text-label-lg text-primary-ink">
    <span class="underline underline-offset-4 hover:decoration-2">Explore this app: <bdi lang="en" translate="no">Global ID</bdi></span>
    <Icon name="north_east" class="text-(length:--size-icon-md)" />
  </a>
</div>

Product signatures

ID card

Global ID's credential: a person's University card, English on the front and Arabic on the back, drawn in the colors of their person type. Product component (Global ID). Full page.

<!-- the card: a container that turns its inner box -->
<div class="@container relative isolate w-full perspective-[1600px]" data-person-type="student" data-side="en">
  <div class="relative aspect-[1.586] transform-3d transition-transform duration-extra-long-3 ease-spring">
    <!-- front: rounded-[5.5cqw] border border-transparent bg-linear-135 from-cat-orange-from via-cat-orange-mid via-58% to-cat-orange-to shadow-art text-on-card-art backface-hidden -->
    <!-- back: rotate-y-180 bg-cat-orange-container text-on-cat-orange-container backface-hidden -->
  </div>
  <button type="button" aria-label="Show the Arabic side" class="absolute inset-0 rounded-[5.5cqw] border border-transparent"></button>
</div>

QR pass

Global ID's scan pass: the person's rotating scan code on its orange panel, held up to a reader at a gate, the library, or an exam. Product component (Global ID). Full page.

<section class="relative isolate flex flex-col items-center gap-3.5 overflow-hidden rounded-hero border border-transparent bg-cat-orange-from bg-linear-160 from-cat-orange-from via-cat-orange-mid via-60% to-cat-orange-mid px-4 pt-3.5 pb-2.5 text-on-card-art shadow-art" aria-labelledby="pass-title">
  <h2 class="sr-only" id="pass-title">Your scan code</h2>
  <div class="flex flex-wrap items-center gap-2 self-stretch">
    <p class="inline-flex min-h-8 items-center gap-2 text-label-md"><span class="size-2.5 rounded-full bg-current animate-live" aria-hidden="true"></span>Ready to scan</p>
    <!-- Hide: the on-art button, ms-auto -->
  </div>
  <div class="relative p-3"><!-- four corners, animate-breathe -->
    <div class="grid size-59 place-items-center rounded-28px border border-transparent bg-on-card-art p-3.5 text-cat-orange-from shadow-elevation-1" dir="ltr">
      <!-- the 208px code and the mark tile on one grid cell -->
    </div>
  </div>
  <p class="text-title-md">Lina Haddad</p>
  <p class="text-body-md">Student · <bdi class="font-mono text-code-sm" dir="ltr">GU-25-000123</bdi></p>
  <div class="relative flex min-h-12 flex-wrap items-center justify-between gap-2 self-stretch pt-1">
    <p class="inline-flex items-center gap-2 text-body-sm font-medium"><!-- the ring -->New code every 30 seconds</p>
    <!-- My ID card: the standalone link -->
  </div>
</section>

Passport card

The family's platform card: one product, or a sample person, drawn as an ID-1 card for marketing heroes, app switchers, and social images. Family illustration (canonical §9): oait and every product's marketing may draw it; it is art, never a control. Full page.

<div aria-hidden="true">
  <div class="@container relative isolate flex aspect-[1.586] w-full flex-col justify-between overflow-hidden rounded-[5.5%/8.723%] border border-transparent bg-linear-135 from-passport-games-from via-passport-games-mid via-58% to-passport-games-to text-on-card-art shadow-art rtl:bg-linear-225">
    <!-- top row, middle row, bottom row: the component's own stylesheet -->
  </div>
</div>
<p class="sr-only">Cards for the eight platforms of the Office of AI Transformation: …</p>

Job card

One job posting in Global Jobs' results: the employer, the title as the card's one link, where, how much, and how long it stays open. Product component (Global Jobs). Full page.

<article class="relative isolate flex min-w-0 flex-col gap-stack rounded-card border border-outline-variant bg-card-outlined-container p-card text-on-surface transition-[box-shadow,border-color] duration-short-3 ease-standard hover:border-outline hover:shadow-elevation-3 before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 has-[a:active]:before:opacity-(--opacity-state-pressed) sm:p-card-medium">
  <div class="flex items-center gap-4">
    <span class="grid size-12 shrink-0 place-items-center rounded-box bg-surface-container-high text-label-md text-on-surface uppercase" aria-hidden="true">BD</span>
    <p class="flex min-w-0 flex-auto items-center gap-1.5 text-body-md font-medium text-on-surface-variant"><bdi lang="en" dir="ltr">Byblos Digital Studio (Demo)</bdi><!-- verified, 16px, text-success --><span class="sr-only">Verified employer</span></p>
    <!-- the save toggle: a 48px icon button, relative z-10, -me-2 -my-2 -->
  </div>
  <h3 class="text-title-md"><a class="inline-block rounded-8px no-underline underline-offset-4 hover:underline after:absolute after:inset-0 after:rounded-card focus-visible:outline-transparent focus-visible:after:outline-3 focus-visible:after:outline-offset-2 focus-visible:after:outline-focus-ring" href="/en/jobs/frontend-developer-react">Frontend Developer (React)</a></h3>
  <p class="flex items-start gap-2 text-body-md text-on-surface-variant"><!-- location_on, 16px -->Mount Lebanon, Lebanon · Full-time · Hybrid</p>
  <p class="text-title-sm text-on-surface">US$1,200–1,800 <span class="text-body-md text-on-surface-variant">per month</span></p>
  <div class="mt-auto flex flex-wrap items-center gap-x-4 gap-y-2 border-t border-outline-variant pt-4 text-body-md text-on-surface-variant">
    <span>Posted 3 days ago</span>
    <!-- Closes in 4 days: the warning inline status -->
  </div>
</article>

Game tiles

Global Games' campus-play pieces: the visitor's passport score, the points and visit tiles, the leaderboard of rank rows, and the booth cards. Product component (Global Games). Full page.

<!-- passport score -->
<section class="flex flex-col gap-stack rounded-card border border-transparent bg-primary-container p-card text-on-primary-container sm:p-card-medium" aria-labelledby="passport-title">
  <h2 class="text-title-md" id="passport-title">Your campus passport</h2>
  <p class="flex flex-wrap items-baseline gap-2"><span class="text-hero-lg tabular-nums">3</span><span class="text-title-sm">points</span></p>
</section>

<!-- rank row -->
<li class="grid min-h-18 grid-cols-[var(--size-chip-sm)_auto_minmax(0,1fr)_auto] items-center gap-x-4 px-row-inset py-2 sm:ps-row-inset-medium">
  <span class="text-center text-numeral-md tabular-nums">1</span>
  <!-- 40px avatar, aria-hidden -->
  <span class="flex min-w-0 flex-col gap-2"><span class="text-title-sm"><bdi>Maya</bdi></span><!-- the thin progress bar --></span>
  <span class="flex flex-col items-end text-end"><span class="text-numeral-md tabular-nums">4</span> <span class="text-body-sm text-on-surface-variant">points</span></span>
</li>

Stage

Global Games' projector stage: a fixed 1920 × 1080 artboard, scaled to the screen and letterboxed, showing one scene at a time to a room. Product component (Global Games). Full page.

<html lang="en" dir="ltr" data-theme="dark">
<body class="bg-surface text-on-surface">
  <div class="fixed inset-0 overflow-hidden [container-type:size]">
    <div class="absolute start-1/2 top-1/2 isolate flex h-[var(--size-stage-height)] w-[var(--size-stage-width)] -translate-x-1/2 -translate-y-1/2 scale-(--oa-stage-scale) flex-col gap-10 overflow-hidden bg-surface p-stage-safe rtl:translate-x-1/2">
      <header class="flex min-h-22 flex-none items-center gap-8">
        <!-- the stage lock-up -->
        <p class="text-display-sm"><bdi lang="en">Open Doors</bdi></p>
        <span class="inline-flex items-center rounded-full border border-transparent bg-surface-container-high px-6 py-2 text-headline-md">Qualification live</span>
        <span class="ms-auto inline-flex items-center gap-4 text-headline-md"><span class="size-6 rounded-full bg-success animate-live" aria-hidden="true"></span>Public stage</span>
      </header>
      <main id="main" tabindex="-1" class="flex min-h-0 flex-auto flex-col gap-6">
        <h1 class="text-display-md">The leaderboard</h1>
        <p class="text-headline-md text-on-surface-variant">First visits earn points. Your progress is based on every available point.</p>
      </main>
    </div>
  </div>
</body>
</html>

Result card

Tamakkan's assessment results: a ranked summary of a person's strongest themes, and the HBDI result with its four lettered quadrants and recommended majors. Product component (Tamakkan). Full page.

<!-- result summary -->
<section class="flex flex-col gap-stack rounded-card border border-transparent bg-surface-container-low p-card text-on-surface sm:p-card-medium" aria-labelledby="themes-title">
  <h2 class="text-title-md" id="themes-title">Your strongest interest themes</h2>
  <ol class="flex flex-col gap-stack">
    <li class="grid grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-4">
      <span class="grid size-8 place-items-center rounded-full bg-primary-container text-label-md tabular-nums text-on-primary-container">1</span>
      <span class="flex min-w-0 flex-col gap-1"><span class="text-title-sm">Investigative (I)</span><span class="text-body-md text-on-surface-variant">Thrives on research, analysis, and solving complex puzzles.</span></span>
      <span class="text-numeral-md tabular-nums text-primary-ink">42</span>
    </li>
  </ol>
</section>

<!-- dominant style, a quadrant score card, a major -->
<p class="self-start rounded-12px border border-transparent bg-primary px-5 py-3 text-title-md text-on-primary">Dominant style: Analytical</p>
<li class="grid min-h-18 grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-x-3 rounded-card border border-outline-variant bg-card-outlined-container px-4 py-3">
  <span class="grid size-10 place-items-center rounded-12px bg-pastel-lavender text-title-md text-on-pastel-lavender">A</span>
  <span class="flex min-w-0 flex-col"><span class="text-title-sm">Analytical</span><span class="text-body-sm text-on-surface-variant">Logic and data</span></span>
  <span class="text-numeral-md tabular-nums">31</span>
</li>
<li class="flex flex-col items-start gap-stack-tight rounded-card border border-s-4 border-outline-variant border-s-chart-2 bg-card-outlined-container p-card sm:p-card-medium">…</li>

13. Mobile apps

Read this section when the product is a mobile application: native iOS (SwiftUI), native Android (Jetpack Compose or XML views), Flutter, React Native or Expo, or the web UI inside a shell (Capacitor, a web view, an installed PWA). Sections 1 to 9 still apply: the same color roles, type scale, spacing, radii, icons, words and accessibility contract. This section says how they reach an app and what the platform decides. The binding text is canonical §18; the explanations are in Mobile apps; the starting point per stack is platforms/README.md.

13.1 The principle

The family's content, the platform's behaviour (D-APP-02).

  • Identical on every platform: color roles and values, the 28 text styles, the spacing scale, radii, Material Symbols Rounded and its registry, component anatomy and states, the glossary and sentence case, three languages, 48-unit targets, one main action per screen.
  • Left to the platform: the back gesture, scroll physics, text selection, the keyboard, the status bar and the system's gesture or button bar (the app's own top app bar and navigation bar are OAIT's on every platform, D-APP-66), haptic hardware, how text scales, and every piece of UI the system draws itself (permission prompts, the passkey sheet, the share sheet, photo and date pickers, system alerts). Never restyle or imitate system UI (D-APP-41).

13.2 Tokens for your stack

Every file under tokens/native/ is generated from the one token source; copy the files for the stack and never edit them (D-APP-06). One CSS pixel is one density-independent unit: 1px = 1dp = 1pt = 1 logical pixel; rem × 16 (D-APP-05).

Stack Files Entry point
React Native, Expo tokens/native/ts/tokens.ts, theme.ts createOaitTheme({ scheme, accent, locale, windowWidth })
Jetpack Compose tokens/native/kotlin/OaitTokens.kt, OaitTheme.kt OaitTheme(darkTheme, accent, fonts, arabic, compact) { … }, then OaitTheme.colors, OaitTheme.type, OaitShapes
Android Views tokens/native/android-res/ Theme.Oait, @color/oait_color_*, @dimen/oait_*, TextAppearance.Oait.*
Flutter tokens/native/dart/oait_tokens.dart, oait_theme.dart oaitTheme(brightness:, accent:, locale:), then Theme.of(context).extension<OaitColors>()! and extension<OaitTextStyles>()!
SwiftUI tokens/native/swift/OaitTokens.swift, OaitTheme.swift @Environment(\.oaitColors), .oaitTextStyle(OaitTypeValues.bodyLg)
Shell or installed web app the web files of section 2 plus data-shell on <html> in a hybrid shell (13.9)

Names keep their words in lowerCamelCase with the family word first: primaryInk, onSurfaceVariant, space4, radiusCard, sizeTouchTarget, bodyMd, durationShort3. Android XML: oait_color_primary_ink, oait_space_4 (D-APP-07). The Kotlin and TypeScript files are compiled and rendered in the package's build; the Dart and Swift files are parsed but not compiled: run flutter analyze or build in Xcode first.

// React Native
const theme = createOaitTheme({ scheme: 'light', accent: 'family', locale, windowWidth: width })
<Text style={[theme.text.bodyLg, { color: theme.colors.onSurface }]}>{label}</Text>
// Jetpack Compose
OaitTheme(darkTheme = false, fonts = fonts, arabic = isArabic, compact = widthDp < OaitBreakpoint.breakpointSm) {
    Text(label, style = OaitTheme.type.bodyLg, color = OaitTheme.colors.onSurface)
}
// Flutter
MaterialApp(theme: oaitTheme(brightness: Brightness.light, locale: locale));
final colors = Theme.of(context).extension<OaitColors>()!;
// SwiftUI
Text(label).oaitTextStyle(OaitTypeValues.bodyLg).foregroundStyle(colors.onSurface)

13.3 Color in apps

  • Use the OAIT roles by their own names. Rule 2 holds: the orange primary is a fill with onPrimary content; orange text, icons and thin lines are primaryInk.
  • The Material bridge (D-APP-10). In Compose, Android Views and Flutter the toolkit's Material ColorScheme is filled for you so stock Material components stay legible: Material's primary slot holds primaryInk and onPrimary holds surface. So MaterialTheme.colorScheme.primary is not the orange fill. Set the orange fill explicitly on the filled button, the FAB, count badges and step discs: containerColor = OaitTheme.colors.primary, contentColor = OaitTheme.colors.onPrimary.
  • No dynamic color (Material You), no tonal elevation, no surface tint: the scheme is fixed and surface tones are tokens (D-APP-24).
  • Light and dark: an app is light-only until the product's dark review passes, then follows the system (D-APP-27). The Tamakkan accent is a build-time choice of Tamakkan's own app, never a runtime switch (D-APP-09).

13.4 Type, fonts and icons

  • Use the text styles by name; never a raw size. Below 640 units of window width the compact sizes apply (the generated themes do it from compact or windowWidth). Arabic uses the Arabic variants: taller lines, no tracking (D-APP-12, D-APP-13).
  • Text scales with the person's setting: sp on Android, Dynamic Type on iOS, the text scaler in Flutter, font scaling in React Native. Never switch it off (allowFontScaling={false}, TextScaler.noScaling, a pinned dynamicTypeSize). Layouts reflow to 200% with nothing lost: minimum heights, never fixed heights (D-APP-17). Only text inside navigation chrome that cannot grow (navigation bar labels, top app bar titles, tabs, segmented buttons) is capped, at 1.3× (D-APP-18).
  • Fonts are bundled from assets/fonts/: Roboto Flex, Inter, Noto Kufi Arabic, Roboto Mono. Inter is the heading face: the hero, display, headline, and title styles use it on Android and iOS alike, through the heading family of the generated styles; Arabic headings stay in Noto Kufi Arabic; never the system font (San Francisco, Roboto) for content (D-APP-64). No runtime font download. Variable files for Compose, Views and Flutter; static files by PostScript name (RobotoFlex-SemiBold) for React Native and SwiftUI. Show the licence texts on one screen of the app (D-APP-19, D-APP-20).
  • Icons: Material Symbols Rounded only, from assets/fonts/app/MaterialSymbolsRounded-OAIT.ttf, drawn as one character at the code point in the generated OaitIcons constants (icons in TypeScript). FILL 1 only for selected or current items, status icons and icons in filled tonal tiles. Flip the glyphs marked mirrored in right-to-left layouts and no others. No SF Symbols in app content, no Lucide, no other icon package (D-APP-25).
  • Western digits in every language: format with a locale that carries Latin digits (ar-u-nu-latn), because device data may default Arabic to Arabic-Indic digits (D-APP-23).

13.5 Layout

  • Window widths are the family's breakpoints in units: 640 (two columns, 24 gutters), 768 (navigation bar becomes the rail, bottom sheet becomes a dialog), 1024 (side panes, three columns). Use OaitBreakpoint, not the toolkit's 600 and 840 classes (D-APP-34).
  • Edge to edge with insets (D-APP-35): backgrounds and scrolling content run under the system bars; bars and controls stay inside the insets. The top app bar adds the top inset to its height; a bottom bar adds the bottom inset to its own padding. Gutters are 16 below 640 and 24 from it, in addition to the inset. The status bar is transparent.
  • Keyboard: a focused field is never hidden; the screen scrolls or the sheet lifts with the keyboard inset, and the main action stays reachable (D-APP-36).
  • Below 480 units of height, pinned bars release and scroll with the content (D-APP-37). Apps rotate and resize; no orientation lock except where one orientation is essential, such as the Games stage (D-APP-38).

13.6 Navigation and platform behaviour

  • App shell (D-APP-39): a top app bar and a navigation bar with 2 to 5 labeled destinations below 768; the navigation rail from 768.
  • The same bars on Android and iOS (D-APP-66): every app draws the OAIT bars, an 80-unit navigation bar on surfaceContainer and a 64-unit top app bar on surface. In SwiftUI hide the system navigation bar and tab bar (toolbar(.hidden, for:)), keep NavigationStack for the back stack and the edge swipe, and place the OAIT bars with safeAreaInset; add the insets, the tab-bar and selected traits, and the Large Content Viewer yourself. Never tint or imitate a system bar.
  • Back (D-APP-42): every screen that is not a tab root has a back control in the top app bar (arrowBack, mirrored in right to left). The iOS edge swipe and the Android back gesture always work: back closes the top overlay first (menu, sheet, dialog), then pops the screen.
  • Dialogs and sheets (D-APP-43): the OAIT dialog and bottom sheet for the app's own questions; bottom sheets below 768, dialogs from it; Cancel then the main action at the inline end. A sheet has a visible Close button: dragging is never the only way to dismiss.
  • Gestures (D-APP-44): every swipe, drag or pull has a visible single-tap alternative on the same screen (pull to refresh has a Refresh action; swipe actions repeat in the row's menu).
  • Permissions (D-APP-45): ask at the moment of use, never at launch. A denied permission shows a way forward that does not need it, and a link to Settings.
  • Sign-in (D-APP-46): passkeys through the platform API, worded "face or fingerprint" first. "Sign in with Global ID" from another product's app opens the system browser session, never an embedded web view. Biometrics are never the only way in.
  • Language (D-APP-47): follow the system or per-app language among English, Arabic and French; right to left for Arabic with start and end, never left and right.

13.7 Touch, focus, motion and haptics

  • Pressed is the 12% state layer of the content color inside the control's shape: a bounded ripple at that alpha on Android, a fade on iOS. Hover (8%) only when a pointer is attached. Nothing scales, lifts or swaps color (D-APP-32).
  • Focus (D-APP-33): for keyboards, switches and D-pads, a kit-drawn control shows the OAIT ring (3 units of focusRing, 2 outside the edge); where the system draws focus (iOS), the system indicator stands. Touch never shows a ring.
  • Reduced motion (D-APP-30): any system flag that asks for less motion switches OAIT motion off; a cross-fade of durationShort3 is allowed.
  • Haptics (D-APP-31): optional and never the only feedback, for three meanings only: a selection changed, a task succeeded, an action was rejected. Nothing on ordinary taps.
  • Bold text (D-APP-29): when the system's bold-text setting is on, each style steps up one family weight, to 700 at most.

13.8 Accessibility in apps

WCAG 2.2 AA per screen (D-APP-49). 48-unit targets on every platform, also on iOS, with 8 units between smaller targets. Every control exposes a name (its visible label), a role, its state and its value; decorative icons are hidden from assistive technology; a row with a label and a control is one element; screen titles are headings (D-APP-50). Reading and focus order follow the visual order in the current direction (D-APP-51). What the web announces with role="status" or role="alert", an app announces: live regions on Android, Compose and Flutter; posted announcements on iOS (D-APP-52). Test with VoiceOver and TalkBack in English and Arabic before release (D-APP-53).

13.9 Shells and installed web apps

The web package is the UI, unchanged (D-APP-57). A hybrid shell sets data-shell on <html>; an installed web app is detected by display-mode: standalone. In both, the shell layer of oait-ui.css stops pull to refresh and rubber-banding on the app frame, keeps chrome and controls from being selected, and keeps surface behind the page. Insets are read through --oa-safe-top, --oa-safe-bottom, --oa-safe-start and --oa-safe-end, which a shell may set where the web view does not supply env() (D-APP-58). Inputs keep a font size of 16px or more (iOS zooms below it); every screen that is not a root shows a back control; Android back closes the top overlay, then goes back in history (D-APP-59). Setup, plugins and store rules: platforms/hybrid.md.

13.10 Components in apps

Each component's native form (the platform control to start from, the defaults to override with which tokens, and its accessibility properties per stack) is in platforms/components/. Working code for the core set is in the reference kits: React Native and Jetpack Compose. Site chrome and marketing blocks (site header, footer, hero, CTA band, platform strip) are not used in apps.

Need Use Not
The main action Filled button: primary fill, onPrimary label, 56 high, pill A stock Material filled button left on the bridge (it would be primaryInk)
Text entry Label above a 56-unit field, radius 12, helper or error below A floating label inside the field
A choice that applies at once Switch: primaryInk track, in a 48-unit row with its label A checkbox
A list Rows of 56, 72 or 88 units with hairline dividers in outlineVariant Cards for every row
Feedback after an action Snackbar (6s, 10s with an action) and an announcement A blocking dialog
A question Dialog (from 768) or bottom sheet (below) A system alert styled to look like one

13.11 Before you ship an app

node tools/tokencheck.mjs
  • The token files are the generated ones for this package version; tokencheck passes; no color, size, font or duration is typed in app code.
  • Text at 200% (Android) and at the largest accessibility size (iOS): nothing is cut off or overlaps; only navigation chrome is capped.
  • Arabic: right to left, start and end everywhere, mirrored icons from the registry only, Western digits, Noto Kufi Arabic with the Arabic line heights.
  • Every target is 48 units; every control has a name, a role and a state; VoiceOver and TalkBack read each screen in a sensible order.
  • Back closes overlays first; the iOS edge swipe works on every pushed screen.
  • Edge to edge: nothing sits under the status bar, the home indicator or a display cutout, in both orientations.
  • The keyboard never hides the focused field or the main action.
  • Reduced motion, bold text and the dark theme (when the product has one) behave as above.
  • Fonts are bundled, the licence screen exists, and no font or script is fetched at run time.

13.12 One design for Android and iOS

  • Design each app screen once. The same screen ships on native Android (Jetpack Compose) and native iOS (SwiftUI). Never keep a separate design per platform (D-APP-65). The full page, with the universal screens on both phones, is Universal app design.
  • Identical on both: tokens, the 28 type styles and the four typefaces (Roboto Flex; Inter for the hero, display, headline, and title styles; Noto Kufi Arabic; Roboto Mono), spacing, radii, Material Symbols Rounded icons, component anatomy and states, the words, one filled main button per screen, 48 by 48 targets.
  • The screen, top to bottom: the system status bar; the top bar (64, the OAIT top app bar on both); one scrolling column with 16 gutters; the one filled lg button (56); the bottom bar with 2 to 5 labeled destinations (80, the OAIT navigation bar on both). 1dp = 1pt.
  • The only differences allowed: sheets (the kit's on Android, a system sheet with the same content on iOS); the language setting (per-app language or the Settings page); the launch screen. The bars, the back arrow, and the current-destination pill are the same on both (D-APP-66).
  • System-owned UI stays the system's on both: permission prompts, the share sheet, date and photo pickers, the passkey sheet.
  • Start from the universal screens: sign in (the same card as the web, plus "Use face or fingerprint instead"), home (date, greeting, the main object, attention cards), settings and forms (one field per bottom sheet, saved at once, snackbar with Undo), and every screen again in Arabic, mirrored.