- Simplified DOMAIN_SECTIONS: only 'title' + 'questions'
- Removed separate 'About Attendance' label and 'Chronic absenteeism' blurb
- Each domain card now has one title line + one dropdown
- Domain row uses equal-height columns with flex alignment
- 'Your question' textarea now explicitly white background
- Dropdown popup/menu has solid #F3F4F6 background (100% opacity, no overlap)
- Only interactive elements (input, dropdown trigger, button, dataframe) keep visible borders
- Non-interactive wrappers are borderless
Contrast
- Force dark text on every Gradio surface (input, dataframe, code,
status, prose) — the theme's default text color was too light against
the soft-monochrome surfaces and the body text was barely legible.
- Explicit ink-strong for the result summary, ink-muted for secondary
text (tagline, status, footer, ribbon).
Layout
- Drop the 'How this works' link from the header (it was duplicating
the footer button and bloating the top of the page).
- Header is now just title + one-line tagline.
- Domain sections moved below the input box, presented as three
columns side by side (collapses to single column on mobile). Each
column has a label, a one-line blurb, and a Gradio Dropdown of
starter questions. Selecting an option fills the input (no
auto-submit, so the user can review/edit before sending).
Result formatting
- New format_result_df() rounds floats to 2dp. Columns named with
'percent', '%', or ending in '_pct' / '_percentage' get a 'NN.NN%'
format. Columns en…
redesign: soft monochrome Query tab with instructions, domain starters, and one-step prior-answer memory
- New soft monochrome palette (#1A1A1A on #FAFAFA, 10px corners) replacing
the ResearchMono/IBM-blue theme. 10px radius on all surfaces.
- Header rewritten for non-technical users: 'Ask your school a question.' +
tagline + trust line. Removed SQL-as-centerpiece framing.
- Starter questions reorganized into three domain sections (Attendance,
Discipline, Grades) rendered as real clickable Gradio Button components
grouped by domain. Clicking a chip fills the input (no auto-submit).
- All user-facing copy extracted to ui_strings.py: title, tagline, trust
line, domain sections, input helpers, summary templates, error
rephrasings, footer copy.
- Plain-English error rephraser maps validation/timeout/model errors to
user-friendly messages ending with a suggested starter question.
- One-step prior-answer memory: the most recent successful answer is kept
in a thin ribbon above the new result, with a 'Bring it back' button
that restores the prior table. Helps users chain related…