Made-up example. Cinco Chaminés is an invented company: the homes, prices, availability and bookings are simulated, and the pictures are AI-generated. The weather, sea, UV and events are real, read live from data.promptugal.news. What is this site?

Cinco Chaminésholiday homes in the Algarve (a made-up example)

Round 5 design proposal: the admin in five designs (a made-up example)

Rendered at build time from team/rounds/5/design/PROPOSAL.md. Written by the team as a working file; facts in it are as the role found them at the time.

Written by designer.algarve-holiday-homes@AgentiCCells.dinis, 19 November 2026. Status: proposal, revised after review. The review is team/rounds/5/review/PROPOSAL.md ("CHANGES BEFORE BUILD"), and the conductor's answers 1 to 5 are in team/rounds/5.md (about 07:30 to 08:00 UTC). This version is for the reviewer's recheck, then the developer and the writer.

Changes after review

ItemWhat was askedDone in
Must 1A 12 px floor for every label, tile label, sidebar label and table header, with no exception (conductor's answer 3)4.1; 5 (Revista labels 12 px); 7 (Linho labels and headers 12 px, tracking 0.12 em, checked at 390); 10 (the exception removed); mock-up and shots
Must 2Costa's pins and urgent stripe away from the deny red; the warn and ok chip tokens become meaning tokens; --a-hot at least 1.5:1 from allow, ask and deny2.2 (token lists); 2.3 (hot rule); 8 (pins #0B4F63 with white, stripe and urgent pill in ink); 9 (Postal's warn edge moved off terracotta as well); 10 (hot-distance check); 11 (table); mock-up and shots
Must 3Reset clears cc.admin.design.v1 too (conductor's answer 4)2.5; 2.6; 13 rows 4 and 9
Must 4When /play/ shows a /d/ design, the admin frame is light (conductor's answer 2)2.4 (theme=light, view only); 3; 10
Must 5Proof that the token refactor leaves Ledger unchanged; each literal listed with its token2.8 (all 45 uses in rules, with their tokens); 2.9 (before-and-after comparison, committed as a test); 13 row 1
Must 6A test that release.sh really runs10 (tests/admin-designs.test.mjs and tests/ledger-unchanged.test.mjs, serving _site themselves, skipping with a reason without Playwright); release.sh unchanged
Should 1Costa's pin number needs a markup attribute, kept from screen readers2.7; 8 (data-pin written by ops.js and biz.js; content: attr(data-pin) / "")
Should 2The contrast test covers more classes, each against its own background10
Should 3The longer assistant names reach every mode's drawer, the ticker and /world/ (conductor's answer 1)4 (exact strings, ACTOR_NAMES and ACTOR_WORDS, drawer truncation check at 390); 10; 13 row 8
Should 4Say which "Signed in as the owner" words stay4 ("Helena (invented person)", conductor's answer 5); mock-up
Should 5Revista's urgent pill not in the link colour5 (ink pill); 11

Why this round. Round 5 aim, item 1 (team/rounds/5.md, conductor, about 06:50 UTC): "/admin/ in five professional, distinct looks that match the five visitor designs under /d/ (Revista, Azulejo, Linho, Costa, Postal), on the same simulation and the same policy guard: a chooser in the admin, the choice kept in localStorage, and /play/ showing the visitor design and the matching admin side by side. Every label, warning, "made-up example", "not legal or tax advice" and source line stays in every design."

Dinis Cruz, 18 November 2026, about 17:20 UTC (team/rounds/2.md): "And again, multiple designs, you know, for each one, right? So you should have 5 designs each." And about 17:10 UTC: "really make sure you have different designs, but they also should look very professional."

Read with this file.

Build rules from earlier rounds still hold: static HTML, CSS and vanilla JS modules; system font stacks only; no third-party scripts, fonts or styles; no form action; nothing a visitor types leaves the browser. The simulation (cc.sim.v1), the policy guard (sim/abp.js) and the 13 sections stay as they are. This proposal changes how the admin looks. Three word changes come with it, each a decision of the conductor's: the assistants' names (answer 1), the Reset words (answer 4) and the chooser's own words.

1. What changes, in one list

  1. admin.css: the 45 colour literals that sit in rules outside the token definitions become tokens (63 distinct values in the file, counting the definitions). A theme then only has to set tokens. Ledger is proven unchanged before and after (2.2, 2.8, 2.9).
  2. Five theme files src/assets/admin-themes/<slug>.css, each holding tokens for light and dark and a few layout rules, and each scoped to :root[data-design="<slug>"] (2.3, 5 to 9).
  3. A small boot script that sets data-design (and, in a /play/ frame showing a /d/ design, data-theme="light") on <html> before the first paint (2.4).
  4. A "Design" chooser in the admin's title row, with the choice kept in localStorage under cc.admin.design.v1. Reset clears it (2.5).
  5. /play/: a design chooser that sets both frames, so the visitor design and the matching admin show side by side (3).
  6. A 12 px type floor on the admin page in every design, Ledger included (4.1).
  7. The assistants named as /agents/ names them, everywhere (4).
  8. A data-pin attribute on home rows in the calendar, the occupancy strip and the tourist-tax table (2.7, 8).
  9. Two tests that release.sh runs: the five designs, and Ledger unchanged (10).

2. Architecture: one admin, five themes

2.1 Choice

Cheapest sound option: one admin markup and one set of scripts, with five theme stylesheets. The 13 sections are drawn by ops.js and biz.js from one set of class names (.kpi, .panel, .tbl, .stopped, .lcard, .note-box and the rest). A theme changes tokens (colour, type, radius, row padding, figure size) and adds 20 to 50 layout rules, such as rules, borders, a tile strip or panel headers. It never changes words. The one markup change is the data-pin attribute (2.7), the same in every design.

OptionFilesRough linesRisk
A. Five copies of the admin (HTML, CSS, JS)about 30about 7,000five places to fix every bug; labels drift apart; the policy guard copied five times
B. One markup, per-design templates in JSabout 8about 1,500every section's HTML forked; the reviewer has to check five versions of each section
C. One markup, five theme stylesheets (proposed)14 new or changed, with testsabout 900a theme can only restyle, so it cannot drop a label; one place for the guard

Option C keeps every label in every design by construction: the words live in one place, and CSS cannot remove them (2.7 forbids hiding label classes, and the test in section 10 checks).

2.2 Tokens in admin.css

Two kinds of token.

Theme tokens (a theme sets them).

Meaning tokens (no theme may change them). One colour means one thing across the site and across all five designs, as round 4 section 10 set out. These keep their round 3 and round 4 pairs in light and dark:

The default (no data-design, or ledger) is today's admin, named Ledger in the chooser so all six have a name. Ledger's own values are exactly today's (2.9).

2.3 The theme files

src/assets/admin-themes/revista.css, azulejo.css, linho.css, costa.css, postal.css. Each has the same shape:

/* tokens, light */
:root[data-design="revista"]{ --a-bg:#FAF8F3; ... --f-head:...; --row:7px; --rad:0; --kv:1.7rem }
/* tokens, dark: twice, as admin.css does, for the system setting and for the site's own switch */
@media (prefers-color-scheme:dark){ :root[data-design="revista"]:not([data-theme="light"]){ ... } }
:root[data-design="revista"][data-theme="dark"]{ ... }
/* a sentinel the admin reads to know the file arrived (2.6) */
:root[data-design="revista"]{ --a-theme-ok:revista }
/* layout rules: 20 to 50, only on existing classes */
[data-design="revista"] .kpis{ ... }

src/admin/index.html links all five after admin.css. Each file is small (2 to 4 KB, under 1.5 KB compressed), and only the chosen one matches, so the cost of loading the others is a few kilobytes. In return there is no script-inserted stylesheet and no flash of the wrong design.

The "needs action" rule. A theme's --a-hot must be at least 1.5:1 (WCAG contrast ratio) from each of the allow, ask and deny edge colours (#2E7D4F, #C08A00, #B42318), in light and dark, so an urgent pill never reads as a decision. All five themes now use their ink for it (section 11 gives the ratios). Ledger keeps today's #B4530F (2.9); see question 1.

2.4 Boot script

src/assets/js/admin/design-boot.js is a classic (non-module) script of about 25 lines, linked in <head> before the stylesheets apply. It does four things:

  1. Read ?design= from the address. If it is one of the six names, it uses it for this view only and does not store it.
  2. Otherwise read cc.admin.design.v1 from localStorage, inside try and catch.
  3. Fall back. If the value is unknown or missing, it uses ledger and removes an unknown stored value.
  4. Set document.documentElement.dataset.design. If the address has both embed and theme=light, it also sets data-theme="light" for this view only. It never stores that, and without embed it ignores theme.

It reads nothing else and sends nothing.

2.5 The chooser

The chooser sits in the admin title row, to the left of the home filter: <label>Design <select id="adm-design">. It has six options: Ledger (main), Revista, Azulejo, Linho, Costa, Postal. It is a native select, so it works by keyboard and with screen readers without extra code.

On change it does three things:

A link "See the matching visitor design" follows the select; for Ledger it links to /.

tests/round4.test.mjs asserts the exact list and words today. The developer updates those two expected values in the same commit: that records the conductor's decision and does not weaken the check.

2.6 Failure states of the architecture

What failsWhat the reader sees
localStorage blocked (private window, blocked site data)The chooser still works for this page view. Under it: "Kept for this page only: this browser is not keeping data." This uses the S.persistent flag the band already uses.
A theme file does not arrive (404, slow, blocked)The admin reads --a-theme-ok. If it is not the chosen slug after load, the page shows Ledger, sets the select back, and says in the status line: "The Revista styles could not be loaded; showing the main admin design." Nothing is hidden: Ledger is complete on its own.
Unknown value in storage or addressLedger, and the stored value is removed (2.4).
Reset in another tab or frameThe storage event for cc.admin.design.v1 (now removed) sets Ledger in every open admin.
JavaScript offThe admin is JavaScript-only today and its noscript message stays. With the boot script off too, the page is Ledger.
A font in the stack is missingEach stack ends in a generic family (serif, sans-serif, monospace). The look degrades to a plain face, never to a downloaded one.
Windows high-contrast (forced colours)Every theme keeps borders on tiles, panels and tables, so structure survives when backgrounds are dropped. Themes add no forced-color-adjust.

2.7 What a theme may and may not do

May:

May not:

2.8 The 45 colour uses in rules, and the token for each (review must 5)

Each value stays exactly as it is in Ledger. "M" is a meaning token, "T" a theme token. Values whose dark form differs today keep their dark form inside the same token.

Rule in admin.cssPropertyValue todayToken
.adm-side a[aria-current]border-left-color#E8875ET --a-mark
.adm-side a[aria-current] (900 px)border-bottom-color#E8875ET --a-mark
.adm-side a[aria-current]color#fffT --a-side-cur-ink
.adm-side a:focus-visibleoutline#7EC8DFT --a-side-focus
.pillbackground#3A4A5BT --a-pill
.pillcolor#fffT --a-pill-ink
.adm-whoborder-top#3A4A5BT --a-side-rule
.pill.hotbackground#B4530FT --a-hot (Ledger value)
.res-allowborder-left-color#2E7D4FM --m-allow-edge
.res-askborder-left-color#C08A00M --m-ask-edge
.res-denyborder-left-color#B42318M --m-deny-edge
.btn-s.dangerborder-color#B42318M --m-deny-edge
.btn-s.dangercolor#B42318M --m-deny-text (same value; see question 2)
.flagcolor#B42318M --m-deny-text
.untr-qborder-left#B42318M --m-deny-edge
.kpi.hiborder-left#2a78d6M --m-series-1
.vfillbackground#2a78d6M --m-series-1
.disccolor#fffM --m-disc-ink
.discbackground#4E5966M --m-disc
.d-Wbackground#0E5A72M --m-disc-w
.d-Sbackground#B4530FM --m-disc-s
.d-Lbackground#7A4A00M --m-disc-l
.d-Ibackground#B42318M --m-disc-i
.d-Bbackground#1E3A8AM --m-disc-b
.oc-h.realborder-bottom-color#2E7D4FM --m-real-edge
.ulborder-bottom#2E7D4FM --m-real-edge
.oc-b.directborder#7FA6D9M --m-book-edge
.oc-b.yoursbackground#1E3A8AM --m-yours-bar (not --a-yours, whose dark value differs)
.oc-b.yourscolor#fffM --m-yours-bar-ink
.sw.yoursbackground#1E3A8AM --m-yours-bar
.oc-b.platformbackground (stripe)#D5C6ECM --m-plat-stripe
.oc-b.platformborder#A58BD0M --m-plat-edge
.sw.platformbackground (stripe)#B9A3DEM --m-plat-swatch
.oc-b.blockborder#C9A400M --m-block-edge
.oc-b.tourbackground#1F2328M --m-tour
.oc-b.tourcolor#fffM --m-tour-ink
.oc-b.tourborder#FBE7A1M --m-tour-ring
.sw.tourbackground#1F2328M --m-tour
.sw.touroutline#FBE7A1M --m-tour-ring
.k.assumbackground#DDF0F4M --m-assum-bg
.k.assumcolor#0E4A5CM --m-assum-ink
.k.assum (dark, system)background#134652M --m-assum-bg (dark)
.k.assum (dark, system)color#DDF0F4M --m-assum-ink (dark)
.k.assum (dark, switch)background#134652M --m-assum-bg (dark)
.k.assum (dark, switch)color#DDF0F4M --m-assum-ink (dark)

The other 18 distinct values in the file are token definitions already (--a-bg, --a-book and the rest, light and dark). They keep their names: the ones listed in 2.2 as meaning tokens become meaning tokens by rule, with no change of name or value.

2.9 Proof that Ledger is unchanged (review must 5)

Order of work:

  1. Baseline, before any change. On the current build, after "Load example activity (simulated)", for all 13 sections, at 390 and 1366 px, light and dark (52 views), record:
    • the computed color, background-color, background-image, border-top/right/bottom/left-color, outline-color, box-shadow, fill and stroke of every element, into tests/fixtures/ledger-colours.json (keyed by section, width, mode and a stable element path);
    • a PNG screenshot of each view at deviceScaleFactor 1. The SHA-256 of each PNG goes into tests/fixtures/ledger-shots.json, together with the Chromium version and platform.
  2. Token refactor (2.2, 2.8). With no data-design, require zero differences in both fixtures. Record the counts (elements compared, views compared, differences: 0) in team/rounds/5/build/.
  3. Type floor (4.1). This step changes sizes on purpose, so the screenshot fixture is re-recorded in the same commit, with the reason in the build notes. The colour fixture must still show zero differences.
  4. Themes, chooser, /play/. Both fixtures must still show zero differences for Ledger.

tests/ledger-unchanged.test.mjs holds the comparison. The colour check always runs. The screenshot check runs only when the Chromium version and platform match the fixture, and says so when it skips.

3. /play/: the visitor design and the matching admin side by side

/play/ already shows frame-v (the visitor) and frame-a (/admin/?embed) with the ticker between them. Add one control to the view-toggle row:

<label>Design <select id="play-design">, with options "Main site with the Ledger admin", "Revista, both sides", "Azulejo, both sides", "Linho, both sides", "Costa, both sides", "Postal, both sides".

On change:

Light and dark (conductor's answer 2). The /d/ visitor designs are light only, so when /play/ shows one, the admin frame follows it in light (theme=light, read by the boot script for that frame only, 2.4). The main pairing passes no theme, so both frames keep following the reader's colour scheme, as today.

What the reader must be told. The five visitor designs restyle the home page only (round 2, PROPOSAL.md question 2). A home's own page, the booking flow and "your stay" are in the main design. One line under the frames says: "The five designs restyle the visitor's home page and the whole admin. A home's own page and the booking flow are in the main design in every case."

At 390 px /play/ already stacks the panes and offers "Visitor only" and "Admin only"; the design select sits above them, full width. Failure: if /d/<slug>/ cannot be read, the existing frame failure line is used ("This page could not be shown inside the frame"); the admin frame still shows its design.

Cost: src/play/index.html +8 lines, src/assets/js/play/play.js about +45 lines, src/assets/play.css about +10 lines.

4. Common to all five designs

4.1 The 12 px floor (review must 1; conductor's answer 3)

No text on the admin page renders under 12 px in any design, Ledger included, and no test has an exception. This covers every label, tile label, sidebar group label, table header, chip, pill, legend, occupancy day header and bar label, and the drawer's chips while on /admin/.

Ledger has nine rules under 12 px in admin.css today:

In modes.css, the .k and .d chips are 11 px. All of these go to 12 px (.75rem, or 12 px in the SVG charts, with the axis ticks thinned where 12 px labels would collide) on the admin page through .mode-admin rules, in step 3 of 2.9. Whether the chips go to 12 px on the other mode pages as well is question 3.

In the mock-up, every theme now renders nothing under 12 px at 390 and 1366, in light and dark (measured in Chromium).

5. Revista admin: the editor's desk

One line. The admin as the magazine's back room: ruled columns, a serif headline per section, figures set like a contents page.

Palette.

TokenLightDark
bg#FAF8F3 paper#1A1917
surface#FFFFFF#22201D
ink#1C1B19#F2EEE6
ink2#5C5850#B8B1A4
line#D8D1C3#3D3933
sidebar#F0ECE3 column, ink text#141311, #E8E2D6 text
accent (links, current mark)#8E3A1E#EBA683
pill#E2DACB with ink#3D3933 with #F2EEE6
urgent pill and warn rule (--a-hot)ink #1C1B19 with paper text#F2EEE6 with #1A1917
band#EFE3C2 with ink#3A3220 with #F2EEE6

The urgent pill is ink, not the link colour (review should 5), so links and alerts stay apart; the count and its word carry the meaning.

Type. Headings and figures "Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua","URW Palladio L",Caladea,Georgia,serif, weight 400; section h1 32 px, panel h2 19 px italic. Tables and body text "Avenir Next","Segoe UI",Inter,"Helvetica Neue",Arial,sans-serif (the visitor design's label face, so tables stay readable at 13 px). Tile labels and table headers uppercase, 12 px, 0.06 to 0.08 em tracking. Source lines italic in the serif, 12 px.

Density. Comfortable: row 7 px, tile figure 27 px.

Sidebar. Paper column with a double rule on its right, like a page gutter; the current section in italic with an accent bar.

Today tiles. No boxes: a strip between two ink rules, tiles separated by hairlines, like a contents line. A warn tile gets a 3 px ink rule on top, and its word ("1 urgent") still says why.

Tables. Horizontal rules only; a double rule under the header row; headers in uppercase. Numbers right-aligned in tabular figures.

Policy panel. The result line is a boxed notice with a 1 px ink border and the deny-red left edge. "What the agents were stopped from doing" has a serif italic headline over a 2 px ink rule, with the quoted text set off by the red rule as today. On Policies, each policy is a ruled entry, with the rule id in the mono face.

Money. The nine-tile strip as on Today; charts keep the series colours, with gridlines in --a-line and labels in ink. The profit and loss table gets the double rule under the header and a 2 px ink rule above the totals, like a printed account. The note-box keeps the meaning warn colours.

Legality. Row table with rules only; the how-sure chips unchanged; the Source column in the italic serif.

6. Azulejo admin: the tile board

One line. Cobalt and white: a tile strip across the top, square tiles with a quarter-tile corner, panel headers as cobalt bands.

Palette.

TokenLightDark
bg#F6F8FC#0D1630
surface#FFFFFF#142146
ink#14306E#E8EEFA
ink2#3D4F75#B3C1E0
line#B9C8E6#2C3E6E
sidebar#14306E, white text, labels #C9D6F0, current #1F4FA3#0A1126, #E8EEFA, labels #A9B9DC, current #22408A
accent#1F4FA3#A8C1F5
panel header#1F4FA3 with white#22408A with white
pill#DCE6F7 with ink#22408A with white
urgent pill and warn edge (--a-hot)ink #14306E with white#E8EEFA with #0D1630
band#DCE6F7 with ink#1A2A55 with #E8EEFA

The first version's ochre #7A4A00 urgent pill is gone: it was 1.48:1 from the allow edge and 1.14:1 from the deny edge, under the 1.5 rule.

Type. Headings Optima,Candara,"Gill Sans","Gill Sans MT","Noto Sans","Segoe UI",Carlito,sans-serif, uppercase with 0.08 em tracking for the h1, panel headers and tile labels; text "Gill Sans","Gill Sans MT",Calibri,Carlito,"Segoe UI",system-ui,sans-serif.

Density. Medium: row 6 px, tile figure 23 px.

The tile. The team's own 48 x 48 SVG from /d/azulejo/style.css (drawn by the team, copies no real tile), as a 14 px strip across the top of the main column. It is decoration (no text, no meaning) and stays at 390.

Today tiles. White squares with a 2 px cobalt border and a filled quarter-circle in the top right corner. A warn tile has a 6 px ink left edge plus its word.

Tables. The header row on pale blue #DCE6F7 with ink text; cobalt rules; numbers in tabular figures.

Policy panel. The stopped panel sits under a cobalt header band "WHAT THE AGENTS WERE STOPPED FROM DOING", with its links in white, underlined. The result line keeps its decision-colour edge. Policies are tile cards in a grid.

Money. Cobalt header bands on each chart and table. The chart series stay blue and orange, and the blue series sits on white, so it does not merge with the cobalt (4.42:1 against white, above the 3:1 needed for a mark). The totals row is ruled in cobalt.

Legality. Header band per legal section; how-sure chips unchanged. The "checked" date is in ink2.

7. Linho admin: the concierge's book

One line. Quiet and open: linen and black, spaced capitals, large thin figures, hairlines, the fewest boxes of the five.

Palette.

TokenLightDark
bg#F4F1EB linen#121211
surface#FBFAF7#1B1A18
ink#141414#EFEBE3
ink2#5E5A53#ABA59A
line#D6CFC2#34312C
sidebarthe page colour, ink text, hairline on its rightthe same
accent (links, underlined)#7B5B34 sand#D2B48A
pilloutline only, ink textthe same
urgent pill and warn rule (--a-hot)ink with linen text (inverted)#EFEBE3 with #121211
band#E7E0D3 with ink#26231F with #EFEBE3

Type. Headings and figures Didot,"Bodoni 72","Bodoni MT","Noto Serif Display","DejaVu Serif",Georgia,serif, weight 400; h1 42 px (30 px at 390), panel h2 22 px. Text and labels "Helvetica Neue",Helvetica,Inter,Arial,sans-serif. Sidebar links, sidebar group labels, tile labels and table headers: uppercase, 12 px, 0.12 em tracking (the first version had 10 to 11 px with 0.2 em; tracking is reduced so the larger size still fits).

Checked at 390 px in the mock-up.

Density. The most open: row 11 px, tile figure 32 px, 34 px between columns. The eight Today tiles go four across in two rows at 1366, so the figures can be large.

Sidebar. No fill; spaced capitals; the current section underlined (1 px, 5 px offset), not filled.

Today tiles. No boxes: each tile is a hairline above a label and a large thin figure. A warn tile's hairline turns ink, and its word says why.

Tables. Hairlines; spaced capital headers at 12 px with 0.12 em tracking; generous rows.

Policy panel. A 1 px ink rule over a Didot headline; the quoted text keeps its red rule. Linho is the calmest design, so the deny-red edge stands out more here than anywhere else, as it should.

Money. Charts on the linen with hairline gridlines; the P&L table in hairlines with an ink rule above totals; the note-box keeps the meaning warn colours.

Legality. Above 640 px the row table stays, in hairlines; under it, hairline cards.

8. Costa admin: the chart room

One line. The coast's working room: deep-sea sidebar, white panels on a pale sea, mono figures, numbered home pins, the densest of the five.

Palette.

TokenLightDark
bg#EEF6F8 pale sea#08171C
surface#FFFFFF#0F242B
ink#10252D#E3F1F4
ink2#3F5961#A7C2C9
line#C9D9DD#24434C
sidebar#0B4F63 deep, white text, labels #BFE0E8, current #06394A#061115, #E3F1F4, labels #9FBCC4, current #123844
accent#0B4F63#7FCBDD
table header#F5EBD6 land with ink#2A2618 with #F5EBD6
tile stripe#A9D3DE sea#2F7F94
urgent pill and warn stripe (--a-hot)ink #10252D with white#E3F1F4 with #08171C
home pins#0B4F63 with white digits and a white ringthe same
band#FBE7A1 with ink#3A3214 with #FBE7A1

What changed at review (must 2). The first version used #A63D17 for the pins, the warn stripe and the urgent pill. That is 1.03:1 against the deny red #B42318, so to the eye it is the same colour, and a reader would have seen refusals where there were none.

Type. Headings ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold","Segoe UI",Inter,system-ui,sans-serif; text system-ui,-apple-system,"Segoe UI",Inter,Roboto,Arial,sans-serif; figures, dates and number cells ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,"JetBrains Mono",monospace with tabular numbers.

Density. The densest: row 4 px, tile figure 22 px, 13 px table text.

Sidebar. Deep sea, with the current section as a pill shape running to the right edge.

Today tiles. White, 10 px radius, a 5 px sea stripe on top; a warn tile's stripe is ink, and its word says why.

Tables. Land-coloured header row, mono numbers. The calendar and occupancy rows carry the home's pin number (1 Salt, 2 Lagoon, 3 Hill, 4 Harbour, 5 Cape, west to east as in /d/costa/) in an 18 px deep-sea disc with a white ring, digits at 12 px, before the name:

Policy panel. A dashed rule under the panel head, like a chart's margin line; refusal times in mono.

Money. Mono figures throughout the tiles and the P&L table; chart labels in mono; series colours unchanged.

Legality. Land header row. The municipal tourist tax table puts the pin number beside each municipality where a home sits in it, from the same data-pin attribute.

9. Postal admin: the sorting office

One line. Warm and handled: terracotta sidebar, panels as cards with a mustard header and a dashed edge, a small stamp on every tile.

Palette.

TokenLightDark
bg#F3E9D8#1E1712
surface#FFFDF8 card#2A211A
ink#2A1F17#F5EBDD
ink2#5E4B3C#C9B6A2
line#DCCDB4#4A3A2D
sidebar#A3361F terracotta, white text, labels #FBE3DA, current #7F2716 with a mustard edge#4A1A10, #F5EBDD, labels #E3C3B6, current #6E2A1A
accent#A3361F#F0A08A
panel header#F2D27A mustard with ink, dashed terracotta edge under it#3E300C with #FBEFC8
pillcard colour with ink#F5EBDD with #2A1F17
urgent pill and warn edge (--a-hot)ink with card colour#F2D27A with ink
band#F2D27A with ink#3E300C with #FBEFC8

The warn tile edge was terracotta in the first version, the same family as the deny red. It is now ink (--a-hot), for the same reason as Costa. The terracotta sidebar and links stay: they are not decisions.

Type. Headings and figures Rockwell,"Roboto Slab","Zilla Slab","DejaVu Serif",Georgia,serif, 700; text Charter,"Bitstream Charter",Cambria,Caladea,Georgia,serif; sidebar group labels, tile labels and table headers "Avenir Next Condensed","Arial Narrow","Liberation Sans Narrow",Arial,sans-serif, uppercase.

Density. Medium: row 6 px, tile figure 22 px (figures never wrap: white-space:nowrap, found in the mock-up at 1366, where "€6,840" broke).

Today tiles. Cards with a light shadow (none in dark mode) and a 14 x 17 px stamp, drawn in CSS, in the bottom right corner (decoration only). A warn tile has a 5 px ink left edge plus its word.

Tables. Condensed uppercase headers; rules in --a-line.

Policy panel. A card with the mustard header; the result line has an 8 px decision-colour edge, the widest of the five, to suit the heavier type.

Money. Each chart and table is a card with a mustard header; the note-box keeps the meaning warn colours. Chart series unchanged; orange #eb6834 on the card colour is 3.15:1, above the 3:1 needed for a mark, with values written beside the bars as today.

Legality. Cards at every width under 640 px, as today; headers mustard.

10. Tests (for the developer; review must 6 and should 2)

scripts/release.sh runs node --test tests/*.test.mjs, so both tests are named *.test.mjs. release.sh is the conductor's gate and is not changed.

Shared set-up.

tests/admin-designs.test.mjs (about 150 lines). For each of the six designs (Ledger, Revista, Azulejo, Linho, Costa, Postal), at 390 and 1366 px, light and dark, after "Load example activity (simulated)", for all 13 sections, it checks:

  1. No sideways scroll: scrollWidth <= innerWidth.
  2. Labels present and visible (non-zero box, computed opacity 1, read from textContent):
    • the band text and "Not legal or tax advice";
    • "SIMULATED";
    • "Helena (invented person)";
    • "Not tax or legal advice" on Money and "not legal or tax advice" on Legality;
    • a source line with "IPMA" and "read" on Today, or the failure words;
    • a DENY chip;
    • "Claude, the host's assistant (simulated)" wherever an assistant acts.
  3. The 12 px floor: every element that holds its own text node renders at 12 px or more. There is no exception for any design or class.
  4. Contrast at least 4.5:1: the computed color against the nearest opaque background behind that element (walking up the tree, so text on a header band or the band is checked against the band). It covers:
    • links;
    • .k, .d, .chip, .sure, .pill (count pills, normal and hot), .btn-s, .whose and .untr-q;
    • .src, .kl, .kv, .ks, th and td;
    • sidebar links and labels;
    • the band and its link;
    • text on the panel header bands (Azulejo's white on cobalt, Postal's ink on mustard).
  5. Needs action stays apart from decisions: each theme's computed --a-hot is at least 1.5:1 from #2E7D4F, #C08A00 and #B42318. Ledger's value is checked to be today's #B4530F (question 1).
  6. Keyboard focus: tabbing through the page, every focused element shows an outline.
  7. The /play/ case: /play/ with each /d/ design gives an admin frame whose <html> has data-theme="light" (in a dark context too). With the main pairing, the frame follows the context's scheme.
  8. The longer names: on /admin/ and /play/ at 390, the drawer's .pd-last is a single line (height at most 1.5 times its line height) ending in an ellipsis when it overflows, and the ticker does not scroll sideways.
  9. Reset: after Reset, cc.admin.design.v1 is gone and data-design is ledger.

tests/ledger-unchanged.test.mjs (about 70 lines): the before-and-after comparison of 2.9, against tests/fixtures/ledger-colours.json and tests/fixtures/ledger-shots.json.

scripts/shots.mjs adds the five admin designs to the /d/ chooser cards as a second screenshot ("and its admin").

11. Contrast (WCAG 2 formula; text needs 4.5:1)

Computed with the WCAG 2 relative luminance formula (script in this agent's scratchpad, not shipped). Meaning-token pairs are unchanged from round 3 section 10 and round 4 section 10 and are not repeated.

DesignPairLightDark
Revistaink on bg16.2215.18
ink on surface17.2114.04
ink2 on bg6.678.25
ink2 on surface7.087.63
accent on surface7.577.98
accent on bg7.138.63
sidebar ink on sidebar14.6014.40
sidebar label on sidebar6.007.67
sidebar ink on current16.2211.52
pill ink on pill12.409.91
urgent pill text on urgent pill16.2215.18
ink on today highlight14.5412.32
warn ink on warn bg9.089.65
band ink on band13.4710.95
Azulejoink on bg11.7715.36
ink on surface12.5213.51
ink2 on bg7.679.89
ink2 on surface8.168.70
accent on surface7.768.69
accent on bg7.309.89
sidebar ink on sidebar12.5216.09
sidebar label on sidebar8.569.51
sidebar ink on current7.768.32
white on panel header7.769.68
ink on table header and pill #DCE6F79.96(white on #22408A) 9.68
urgent pill text on urgent pill12.5215.36
warn ink on warn bg6.769.63
band ink on band9.9611.98
Linhoink on bg16.3415.77
ink on surface17.6514.63
ink2 on bg6.087.66
ink2 on surface6.577.11
accent on surface5.948.81
accent on bg5.509.49
accent on today highlight #E7E0D34.72n/a
sidebar ink on sidebar16.3415.77
sidebar label on sidebar6.087.66
ink on current and band14.0412.37 (current), 13.16 (band)
urgent pill, inverted16.3415.77
warn ink on warn bg7.949.59
Costaink on bg14.4815.79
ink on surface15.8513.88
ink2 on bg6.829.74
ink2 on surface7.478.57
accent on surface9.088.79
accent on bg8.299.99
sidebar ink on sidebar9.0816.52
sidebar label on sidebar6.509.52
sidebar ink on current12.4110.84
ink on table header (land)13.3912.77
ink on today highlight #CFE8EE12.40(on #123844) 10.84
white digits on pin #0B4F639.089.08
urgent pill text on urgent pill15.8515.79
warn stripe against normal stripe (a mark, 3:1)9.863.96
warn ink on warn bg8.368.77
band ink on band12.8710.35
Postalink on bg13.3615.01
ink on surface15.8113.38
ink2 on bg6.859.02
ink2 on surface8.118.04
accent on surface6.657.59
accent on bg5.628.51
accent on today highlight #F7EBCB5.70n/a
sidebar ink on sidebar6.7612.31
sidebar label on sidebar5.518.81
sidebar ink on current9.538.86
ink on panel header and band10.9211.20
pill ink on pill15.8113.63
urgent pill text on urgent pill15.8110.92

Needs action against the decision colours (2.3: at least 1.5:1 from each):

--a-hotvs allow #2E7D4Fvs ask #C08A00vs deny #B42318
Revista light #1C1B193.415.642.62
Revista dark #F2EEE64.362.645.68
Azulejo light #14306E2.484.101.90
Azulejo dark #E8EEFA4.332.625.65
Linho light #1414143.656.032.80
Linho dark #EFEBE34.242.575.53
Costa light #10252D3.145.192.41
Costa dark #E3F1F44.362.645.68
Postal light #2A1F173.195.262.44
Postal dark #F2D27A3.432.084.47
Ledger, today, unchanged #B4530F1.011.641.31 (question 1)

Band contrast is at least 9:1 in every design and mode (lowest: Azulejo light, 9.96), the rule the /d/ designs set in round 2.

Marks, not text (3:1 needed): chart blue #2a78d6 is 4.42 on white, 3.68 on Revista dark, 3.56 on Azulejo dark and 3.64 on Costa dark; chart orange #eb6834 is 3.20 on white, 3.15 on Postal's card, 5.43 on Linho dark and 4.93 on Postal dark. Each bar also carries its value as text.

Colour-blind check: in every design, warn tiles and urgent pills carry a word or a count beside the colour, decisions carry their word (ALLOW, ASK, DENY), booking kinds differ by pattern (platform bars are striped, background occupancy is hatched, yours is solid), and Costa's pins carry their number and sit beside the name.

Found while listing the literals (not caused by this proposal). In Ledger's dark mode, .btn-s.danger text #B42318 on the dark surface #1C232B is 2.41:1, under 4.5:1. The refactor keeps it as it is, because 2.9 requires zero differences. Question 2 proposes the fix as a separate, recorded step.

12. Keyboard and 390 px

13. Cost

#ChangeFilesRough linesReadsFailure state
1Tokens in admin.css, proven unchanged (2.2, 2.8, 2.9)src/assets/admin.cssabout 50 changed, 35 newnoneLedger unchanged when no design is set, checked by row 10
212 px floor on the admin page (4.1)src/assets/admin.cssabout 12nonenone
3Five theme files (5 to 9)src/assets/admin-themes/*.css5 x 70 to 110, about 450nonefile missing: Ledger and a line saying so (2.6)
4Boot script (2.4)src/assets/js/admin/design-boot.jsabout 25address, cc.admin.design.v1storage blocked: this view only
5Chooser, its link, Reset listener (2.5)src/admin/index.html (+8), src/assets/js/admin/admin.js (+40)about 50cc.admin.design.v1as 4
6data-pin on home rows (2.7, 8)src/assets/js/admin/ops.js, biz.jsabout 6homes.json ordernone: the name is always written
7/play/ design select and theme=light (3)src/play/index.html, src/assets/js/play/play.js, src/assets/play.cssabout 65cc.admin.design.v1, /d/<slug>/frame failure line, as today
8Assistants' names (4) (writer)src/assets/js/modes/chrome.js (ACTOR_NAMES), src/assets/js/admin/ops.js (ACTOR_WORDS)4nonenone
9Reset clears the design (2.5)src/assets/js/modes/chrome.js (KEPT_KEYS, RESET_WORDS), tests/round4.test.mjs (the two expected values)4nonenone
10Tests (10, 2.9)tests/admin-designs.test.mjs, tests/ledger-unchanged.test.mjs, tests/fixtures/ledger-colours.json, tests/fixtures/ledger-shots.jsonabout 220, plus generated fixturesthe built _sitefails the release; skips with a stated reason without Playwright
11Chooser screenshots (10)scripts/shots.mjsabout 15the built siteswatches, as round 2
12About panel names the new key (writer)src/assets/js/modes/chrome.js1nonenone

Total: 14 new or changed source and test files, plus two generated fixtures; about 900 lines, most of them tokens and tests. No new data, and no new requests beyond five small stylesheets from this site.

14. Numbered changes for the developer and the writer, in order

  1. Record the Ledger baseline (2.9, step 1) on the current build.
  2. Turn the 45 colour uses into tokens (2.2, 2.8). Zero differences against the baseline.
  3. Apply the 12 px floor on the admin page (4.1). Re-record the screenshot fixture, with the reason; colours still show zero differences.
  4. Add the five theme files with the palettes in 5 to 9 and the layout rules shown in mockup-admin-themes.html. Its <style> holds each theme in a block headed with the file's name; the build version splits them and adds the dark media-query copy.
  5. Add design-boot.js, and link it and the five files in src/admin/index.html (2.3, 2.4).
  6. Add the chooser, its status line, its link to the visitor design, the Reset listener and the failure lines (2.5, 2.6). Change KEPT_KEYS and RESET_WORDS, and the two expected values in tests/round4.test.mjs.
  7. Add data-pin in ops.js and biz.js (2.7).
  8. Add the /play/ design select, theme=light, and the line about what the designs restyle (3).
  9. Writer: the assistants' names in ACTOR_NAMES and ACTOR_WORDS (4); the chooser's words; the /play/ line; the About panel's list of keys.
  10. Add tests/admin-designs.test.mjs, tests/ledger-unchanged.test.mjs and the chooser screenshots (10).

15. Questions for the conductor

The first version's three questions are answered (team/rounds/5.md, answers 1 to 3) and written in: the /agents/ names (4), a light admin frame beside a /d/ design (3), and 12 px for Linho's table headers with no exception (4.1, 7, 10). Answers 4 and 5 (Reset clears the design; "Helena (invented person)") are in 2.5 and 4.

New:

  1. Ledger's own "needs action" orange. Ledger's urgent pill and warn edge #B4530F are 1.01:1 from the allow edge and 1.31:1 from the deny edge, so they would fail the 1.5 rule the review set for themes. Ledger stays exactly as it is in this round, because the refactor must show zero differences. Should a later, recorded step move Ledger's --a-hot to its ink #1B232C, as the five themes do? That is about 2 lines, and the colour fixture would be re-recorded with that one change.
  2. A dark-mode contrast gap in Ledger, found while listing literals. The "danger" button text #B42318 on the dark surface is 2.41:1. Fix it as its own step after the refactor? The proposal is the dark deny-chip ink #FBE1DE, 12.78:1, about 3 lines, with the fixture re-recorded for that one rule.
  3. The 12 px floor beyond /admin/. The .k and .d chips are 11 px in modes.css on every mode page. This proposal raises them on /admin/ only (4.1). Raise them site-wide as well? Raising them everywhere keeps one size for one label, at the cost of rechecking the other pages at 390.
Ask the agent (a simulation: pre-written answers, no live model)