---
title: "Step 3 · Mockups: the second pass"
status: "Agreed in principle · 05-11-2026"
updated: "05-11-2026"
---

# Step 3 · Mockups: the second pass

<p class="lead">Clickable mockups of the public and the embedded tariff page in a new design: direction A, "the journey", chosen by melux on 04-11-2026 among three proposals. Questions on one band, the answer opening below it, in the visual language of UNCTAD's recent eRegistrations sites.</p>

## Why

The first pass reproduced v7's page, so that the starting point could be judged; melux agreed it in principle on 04-11-2026. This pass changes the design and the UX on purpose. melux asked to study [the corridor portal](https://corridor.eregistrations.dev/alc/), [its procedures page](https://corridor.eregistrations.dev/alc/portal/?src=b&fd=outside&p=maize-scenario&t=road&o=within&f=abidjan-city&to=lagos), [Business Registration](https://businessregistration.eregistrations.dev/) and [Business Facilitation](https://bf.eregistrations.dev/), and it starts from [the Kenya Duty Estimator](../sources/2026-10-29-kenya-duty-estimator.md) (D57). A trader who comes back often should change one box and estimate again; one who comes rarely should not have to read a long form first.

The three proposals were replaced by the chosen page; their copy is in Git at commit `cd5adb8`.

## The visual language

Read from the corridor and Business Registration sites' own style sheets on 04-11-2026:

| What | Value |
|---|---|
| Titles | Montserrat, 600–700; small blue capitals above them, letter-spaced |
| Interface | Inter, 15 px base |
| Information | Blue `#3b84b9`, bright `#4194d0`, deep `#28658f`, tint `#edf5fa` |
| The one action | Coral `#e08170`, hover `#b5675a` |
| Neutrals | Page `#f0f4f7`, cards white, text `#263746`, muted `#637381`, borders `#e0e6eb` |
| Shapes | Controls 10 px, cards 14 px, panels 20 px, buttons as pills; one soft shadow, `0 8px 28px rgb(29 42 51 / .09)` |
| Marks | Pill chips; numbers with tabular figures |

Not taken: their hero photographs, presentation sections, the map and the video assistant: a trader comes here for a task (Claude's call). Business Facilitation's bluer variant, `#009edb`, is not used either (Claude's call).

No customs or UN logo is placed yet: the header shows the customs' short name in a round mark (Claude's call).

## The page

1. **The band:** a very light blue band with the title "What will this shipment cost?" and the Import/Export choice. `#export` still opens Export.
2. **The questions, on one line:** one card holding every box the trader must fill (D60): the product, the value with its currency inside the same box, the quantity, the gross weight, where customs requires them, and the origin or destination; a vehicle adds its cylinder capacity, the product then taking its own row. Each is a question above its answer, then the coral "Estimate" button. Stacked on a phone. "Value" means the cost of goods at OBR and RRA, and the customs value (CIF) at KRA, which takes one value and nothing to add to it (Claude's call).
3. **The product:** a code, however it is written, or words; the list as customs answers it; the code in its boxes under the line, the national digits in another colour; the description in the page's language, marked as a translation with the original one click away (D35).
4. **"Specify":** a link opening the rest, closed at first, on three cards (D60): "Transport and costs" (delivery terms, the other amounts), "Customs declaration" (regime, whether the goods are exported from their country of origin, the country of export if not, treatment: the boxes of v7's page, D61), "Packages and units" (packages, a second or third unit). Boxes for which v7 opens with a value keep that value. It opens by itself when customs refuses a field inside it, and the refusal shows on that field; "Estimate" says what is missing until a required box is filled (Claude's call).
5. **Each customs asks only what it uses:** KRA has the band alone, OBR and RRA also the part that opens.
6. **Rates before the estimate:** shown under the band only when customs gives them apart from the estimate, today KRA.
7. **"What you will pay":** a card under the band with the total, the customs value and the rate; then the detail by charge, open at first and foldable; print and CSV beside the total.
8. **The total stays in view:** when the result card is out of sight, a thin line under the header recalls the total and says if it is out of date, with a link down to it. It answers A's weak point: changing a box on the band far from the result (Claude's call).
9. **The embedded page:** the same without the header, `?embed=true`.

The page's width is at most 1 120 pixels, with the same two checks as the first pass: 1 280 and 375.

Regime and export regime are required too, but open with v7's value, so they stay on their card, and customs can still refuse a freight or an insurance at zero for some products, which only its answer tells (Claude's call). Origin stays on the band because it decides the rates: v7 sends it as the item's `OriginCountry`, and its preferences are listed by country of origin. Provenance and the trading country have no box, as on v7's page, which hides them and fills them itself (D61): provenance from the destination, the country itself on an import; the trading country from the country of export, which is the origin unless the trader answers No to "Exported from the country of origin". Whether provenance changes an amount is not measured, since the page sends what v7 sends.

## What each decision looks like

| Decision | In this design |
|---|---|
| D4 | The notice under the result, every time |
| D23, D52 | One amount can have its own currency in "Specify"; figures come from the first pass's rounded-once answers |
| D33, D54 | A changed box dims the result and offers to estimate again; a new product or direction clears it |
| D35 | The chip "Translated" and "See the original" |
| D36 | A note under the total: a treatment valid for this origin may be cheaper, and a link to the box. No saving is shown, since none is measured |
| D45 | The chip "Legal act not found" on the charge's line |
| D46, D47 | The total in the currency chosen, the local one beside it as customs' original, the rate to six decimals with its date and source. The lines stay in customs' currency: converted one by one they show differences such as 1 500 000.08 (Claude's call). For a provider answering totals only, KRA, D56 wins over D46: the total stays in KES, with the rate, and no total is computed in the currency chosen (Claude's call) |
| D53 | Currencies as the first pass offers them |
| D56 | KRA's total and levies as they come; the rates from its other call as rates; both dates; no amount per charge. The line the Kenya site computes, `Tax − Levies`, is not shown |

KRA's specific duty on rice shows "200 USD per tonne, to check": KRA writes "IN USD PER MT" and sends "Per KGM".

## What is shown and how it works

- **Countries:** Burundi and Rwanda, through the first pass's stand-in logic (`standin/route.mjs`), its recorded answers and hand-written failures, in `docs/step3/mockups/answers/`, so that search, lists, code boxes and failures work as they do there; `data.js` from the proposals is dropped (Claude's call). Kenya, from the sandbox's answers in [`2026-10-26-kra-sandbox-answers.json`](../sources/2026-10-26-kra-sandbox-answers.json): only what those calls recorded can be clicked, and its currencies are the two recorded, USD and KES (Claude's call).
- **States:** every state of [the first pass's list](index.html#the-states), reached by clicking and from a list outside the page, plus Kenya's: rates before the estimate, the total alone, an export with no levies.
- **Languages:** French and English. Rwanda's Swahili and Kinyarwanda and Burundi's Kirundi are not reproduced here (Claude's call). Customs' descriptions in another language show as a translation (D35), written for the mockup and marked as such, for the products chosen in the scenarios; the lines of a search list stay in customs' language, a limit of the mockup that the page states; the labels of the terms, regime and treatment lists stay in customs' language too (Claude's call).
- **No live call:** as in the first pass. A request no recording covers, whichever box differs, says so and offers to go back.
- **Outside the frame:** the thin bar of the first pass: country, page, language, scenario, width. A switch shows the same scenario in the first pass's v7 page, so each change is seen against the base; it is off for Kenya, which has no v7 page, and for a state v7 does not have it goes to the nearest scenario and says so (Claude's call).
- **French figures everywhere in French,** which ends difference 5's known departure.
- **Print and CSV carry what the result shows:** total, customs value, rate, lines or KRA's totals and rates, notice, chips with the original of what is translated, the out-of-date mark and D36's note; KRA's file has no amount per charge. v7's format is not kept (Claude's call).

Static files under `docs/step3/mockups/pass2/`, with no framework and no build step; the fonts are kept there, since the policy on these pages allows only the site's own (Claude's call). The three proposals have been replaced by the chosen page; their copy is in Git at commit `cd5adb8`.

## How it is checked

1. Every state reached by clicking, at 1 280 and 375 pixels, with no sideways scrolling.
2. Each figure equal to the recording it comes from, by a test.
3. Each decision of the table above shown where it applies and nowhere else.
4. Keyboard alone: the search, the list, "Specify", the fold, the estimate; visible focus; contrast to WCAG AA. The coral button's white text is checked, and the coral darkened if it fails.
5. Print and CSV opened.
6. melux's agreement, then the two reviewers, as for any step.

## Not in this pass

- Administration: a third pass, before step 3 is signed off (D59, melux, 04-11-2026).
- The computing provider's figures (module 5), and the embed's script for other portals.
- Other pages of a portal around the calculator.

## Left to the builder

The order of the scenario list, the names of the files, the wording of new texts other than those quoted here, and how the thin total line appears.
