# Aerodrome page — every rule in plain words (9 Nov 2026, SAST)

Written 9 Nov 2026 ~11:05 SAST for the aerodrome page concepts A–D (MT t684u, t686u).
Pictures only. Nothing goes live, nothing is merged or pushed.

**Sources read**
- **N** = Notion "🛫 Rules - Aerodrome Page Builder" (fetched live 9 Nov; page last edited 5 Nov 2026 20:56 SAST; same text as the local copy `/workspace/notion-design-rules-9nov/notion/rules-aerodrome-page-builder.md`).
- **DR** = `/workspace/notion-design-rules-9nov/notion/go-around-design-rules.md` (§5 fonts, §10–13 cards/status/military/filters, §15.6 2D diagram, §15.7 page layout, §18 conflicts).
- **SS** = `go-around-design-single-source.md` (Theme 1–4 map, box wallpapers, page-design prompt).
- **PDR** = `design-rule-design-the-page-like-this.md` (MT's page prompt, 5 Nov).
- **V2** = `/workspace/design-code-v2-2026-11-09/ACTIVE-V2-RULES-4-7.md` (section 4 items 1–10, sections 5–7).
- **ADD** = `/workspace/design-code-v2-2026-11-09/DESIGN-CODE-ADDITIONS-9NOV.md`.
- **SR** = `/workspace/detailed/go-around-standing-rules.detailed.md`.
- **CHAT** = MT's messages today (t672u, t674u, t684u, t686u) as relayed.

## 1. Process (how we work)
1. Pictures first: 390 px, Amethyst, then the other themes. Pictures, not preview links. (DR §1.2, ADD, SR)
2. Before changing anything, tell MT what will change and get a yes. No website change until MT asks (t646u). (N Process, CHAT)
3. Merge only on MT's yes; go live only on a separate yes, with a backup point. Never force-push. Never change code on main. (N, SR)
4. One job, one branch. (N, V2 §7)
5. Never touch gate.ts, appdata / c/appdata, ARCHIVE_DO_NOT_TOUCH, auth, wm-pin.js, wm-core.js, wm-shell.css. (N, SR, ADD)
6. No secrets in repo or chat. Never contact SACAA. Part 91 only. (N, SR)
7. Builder code waits until MT picks a layout (old R1/R2/R3) and says go. (N, DR §15.7) — these concepts are pictures only, so this is respected.
8. When something replaces an old feature, archive the old one; never delete it. (N)
9. Every risky fix ships with a kill switch. (N) — not applicable to pictures.

## 2. Look (theme, fonts, colour, glass, spacing)
10. Four themes stay: Midnight (night/black), Amethyst (night/purple), Pearl (day/white), Champagne (day/beige). Never change theme values. (N, DR §10, V2 §4 Themes, SR)
11. **Nav pill never changes**, look or behaviour. On the aerodrome page too (31 Oct). (N, DR rule 4, SR)
12. Fonts (rule 4): only the documented families. General Sans for labels, Clash Display for headings, Satoshi for body, JetBrains Mono for numbers and raw METAR/TAF (500 12px/1.6), Nippo 700 for runway numbers on the 2D diagram, Sora where already used. No new display fonts. (N Fonts, DR §5, PDR, V2 4.4)
13. Colour (rule 5): only existing tokens. Status colours: --go #22C55E, --cau #FF8A00, --nogo #F80F3B. No improvised bright accents. Check all themes. (N Pills/glass, V2 4.5)
14. Glass (rule 6): restrained. Real backdrop-filter only on the top bar, nav pill and one open sheet; other surfaces are fake glass (tint, gradient, inner border). No nested glass cards, no glowing borders, no aurora, pulse dots, gauges or glowing tiles. (N, DR §4, PDR, V2 4.6)
15. Raw METAR/TAF boxes use the theme "wallpaper" (`.rawb` / `.term`): Amethyst `linear-gradient(180deg,#2B1D4A,#1F1538)` text #EFE7FF; Midnight `#1C1D22→#141518` text #ECECEF; Pearl `#15161A`; Champagne `#5A4518→#45350F` text #F7EBCB. (DR §10, SS)
16. GO / CAUTION / NO-GO pills use the aerodrome filter condition pill glass (`.g-cond`) and keep their own colours. (N)
17. Spacing (rule 7): one spacing scale, balanced padding, no random 3 px / 7 px nudges, no accidental indents. (V2 4.7)
18. Alignment: centre only what should be centred (pill text, icons); body text left. (V2 4.1)
19. "Expensive and classy, no AI extras." iPhone: one column. (PDR)

## 3. Layout and page behaviour
20. Only the main window scrolls; no inner scroll, no iframe scroll; dvh/svh, never vh; no new position:fixed; no in-page scrollTo. (N Layout, DR §6)
21. Last card clears the nav pill: one bottom clearance ~96 px + safe area (desktop ~112 px); no extra empty space at the end. (N, DR §6)
22. No third-party iframes (ADS-B, Windy, maps) in the page; use link cards that open a new tab. (N)
23. Back does a real history.back(). (N)
24. Test 390, big phone, iPad 820/1024, desktop 1440, all four themes, before MT review. (N Devices, V2 4.8) — this job: 390 in all four themes only (see RULES-CHECK).
25. CLS < 0.05; page height does not change during animations. (N) — static pictures.

## 4. Header / cards (live #352 rules)
26. ICAO · province line starts **flush left**, no indent, no centring. (DR §11.1.4; MT 6 Nov) — written for cards; this task applies it to the page header too (see conflict C1).
27. Names end with a full stop on cards ("George."). (DR §11.1.3) — card rule; see conflict C2.
28. No type chip or type icon beside the ICAO code. (DR §11.1.5) — card rule.
29. Weather + diagram fixed grid `temp | weather | 76px diagram`; the old wxrow 76 px runway diagram on every card, forever. (DR §11.1.6–7) — card rule; concepts reuse the 76 px wxrow idea as a "card echo" only where it fits.
30. Freezing level pill: one line, ice icon, `FZL … ft AGL`, small AMSL, SAST time, trend. (DR §11.1.8) — needs Open-Meteo; see DATA-SOURCES.
31. Status pill on cards = old pill, never restyled; verdict pill v2 marks (DEPART climb arrow, LAND descent arrow, CAUTION triangle, NO DEPART / NO LAND stop sign, INCOMPLETE ring). Detail pages (`#verd #vs`) unchanged. (DR §11.1.1, ADD 1.9)
32. Old METAR age wording: "Last report 21 Oct 14:00 SAST · 15 days ago". Live values show a timestamp; old data must never look current. (DR §10, N Data)
33. "Model" word only when model weather is the only source. (DR §11.1.9)
34. TS/CB warning idea: within 6 h, amber within 2 h. (DR §11.1.11)

## 5. Runway diagram (MT t686u: mandatory)
35. One translucent design for all four themes; Nippo 700 runway numbers, wide spacing, theme text colour; runway fill at least ~25 % opacity. (N Data, DR §15.6)
36. **Never auto-highlight a runway unless "Runway in use" is on.** "Runway in use" toggle with a compass wind control. (N Data, DR §15.6) — see conflict C3.
37. Lights per AIP only (threshold green, end red). FACT AIP: all four thresholds green, ends red. (N, AIP AD 2.14)
38. Never assume a circuit. FACT AIP: circuit altitude 1500 ft ALT, direction **not stated** → show "circuit as directed by ATC", no drawn circuit. (N Data)
39. Labels stay inside the view on iPhone. "Schematic. Not for navigation." stays visible. OSM items labelled unverified. (N Data)
40. 2D is enough; 3D parked. (N)

## 6. Verdict logic (reuse what the site does)
41. Detail page "Can I go?" uses GO / CAUTION / NO-GO; cards and status use DEPART / CAUTION / NO DEPART; Land relabels Depart (LAND / NO LAND) — a real separate land engine is not built yet. (fact.html, fv3.js, SR §5, ADD 1.9)
42. Default limits (Settings): GO = VFR, visibility ≥ 5 km, ceiling ≥ 1500 ft, wind/gust < 25 kt. CAUTION = ceiling 1000–1499 ft or wind/gust ≥ 25 kt. NO-GO = visibility < 5 km, ceiling < 1000 ft, or wind/gust ≥ 35 kt. CAVOK/9999 with nothing else wrong counts as GO. Ceiling = lowest BKN/OVC. (fact.html `wmStatus`, WMD={gv:5,gc:1500,gw:25,nv:5,nc:1000,nw:35})
43. Light-aircraft suitability: best runway = lowest crosswind, guide limit 15 kt; "The pilot in command decides." (fact.html)
44. Source priority METAR → valid TAF → labelled fresh model; freshness checks. (SR §5)
45. Wind components: head = round(spd·cos), cross = round(|spd·sin|), side R if sin ≥ 0; shown as "Head 2 · X 1 R (G 4)". (rwy/rwy.js `comps`)
46. Night per CAR Part 1: from 15 min after sunset to 15 min before sunrise; card pill "After sunset · Night not enabled". (fact.html, ADD 1.4)

## 7. Data
47. Never invent data; what can't be sourced is "n/a in demo". (task brief; N "Do not invent")
48. Military / prohibited: show only what the AIP says. (N) — FACT is neither.
49. "Open NOTAMs" link only; NOTAM bar red idea still open. (DR §15.7) — concepts show a link, no fake NOTAMs.

## Conflicts found (not guessed — MT to decide)
- **C1. Header ICAO line.** Live FACT page header centres "FACT · CPT · WESTERN CAPE" under a centred title. The flush-left rule (DR §11.1.4) was written for cards. The brief asks flush left on the page too. Concepts use flush left and a left-aligned title, so the line and title share one edge. MT to confirm for the page.
- **C2. Full stop after the name.** Cards end names with "." ("George."); the live page title "Cape Town International" has none. Concepts follow the live page (no stop).
- **C3. Favoured runway highlight vs "never auto-highlight".** The brief asks to highlight the favoured runway; the Notion rule says never auto-highlight unless "Runway in use" is on. Concepts draw the "Runway in use" toggle as OFF and mark the wind-favoured end with a small outlined "Wind favours 19" tag + the end number, not a filled runway highlight. MT to say if a stronger highlight is allowed.
- **C4. Builder theme mapping.** Suggested mapping puts International (FACT) on Theme 1 Midnight; the pictures rule says Amethyst 390 first, and "don't change theme". Concepts follow the user's chosen theme (Amethyst first, then the other three).
- **C5. Verdict wording.** Detail page says GO / CAUTION / NO-GO; cards say DEPART / NO DEPART; MT's brief says "GO / NO-GO for departure and LAND / NO-LAND". Concepts show DEPART / LAND verdicts (card wording, v2 marks) with the "Can I go?" label kept. Land is the Depart result relabelled, as on the live site — not a separate engine.
- **C6. Reviews numbers.** Not used here (aerodrome page), noted only: SR ledger says Free 3 / Pro 10, MT today said 5 / 20.
- **C7. Process "push while in progress"** (N) vs this brief "local commits only". Brief wins for this job; branch stays local.
- **C8. Old 76 px wxrow forever (cards)** vs a large page diagram. Cards rule only; the page keeps its big diagram like the live FACT page. Concepts reuse the 76 px echo in the header strip of B and D.

## Added after MT t705u (11:11 SAST): the single design-rule prompt
Notion "Design rule: design the page like this" (40fe8f73-24d9-81d9-bcf3-f4548dd996af, fetched live 9 Nov; last edited 5 Nov 20:11 SAST):
50. First list everything the page needs, top to bottom, from the live page and MT's rules; ask what's unclear. (done: this file + the live FACT page inventory in RULES-CHECK.md)
51. GLASS.md glass and fonts: General Sans labels, Clash Display headings, Satoshi body, JetBrains Mono numbers.
52. Neutral white selected toggles; aerodrome condition pill glass (.g-cond) on toggles; aerodrome `.fv5-box` outer box.
53. Keep theme values unchanged. iPhone one column. iPad/desktop: title and intro top left, main box on the right, wider.
54. Keep any live part MT names exactly as it is. Expensive and classy, **no AI extras (no aurora, pulse dots, gauges, glowing tiles)**. Pictures first, nothing applied.
Design code: only `/workspace/design-code-v2-2026-11-09/` (rules 4 typography, 6 glass, 7 spacing; 5 colour also read).

More conflicts:
- **C9. `.fv5-box` blur vs blur budget.** The prompt names the `.fv5-box` outer box (blur 28px, saturate 180%); the GLASS budget says real blur only on top bar, nav pill and one sheet. E and F use the `.fv5-box` tint, rim and shadow with the blur off (looks the same on a plain background). MT to confirm.
- **C10. Concept B's compass rose** reads close to a "gauge", which the prompt bans as an AI extra. Kept as an option only; not recommended.
- **C11. Concept D's 2-column number cards** come close to "empty metric cards / generic dashboard" (rule 6). Each holds real content, but it is the weakest fit.
- **C12. "Can I go?" text.** A live site script relabels the word GO to DEPART inside the page (seen as "CAN I DEPART?" in B and DEPART/NO DEPART in TAF rows). Shown as the site does it.
- **C13. Day-theme contrast.** `--go #22C55E` text on Pearl/Champagne light cards is low contrast (about 2.3:1). Not changed, because colours must come from tokens. MT to decide whether a darker day shade is allowed.
