diff --git a/docs/swarm/ui.md b/docs/swarm/ui.md
index 054b04b02..26d77b006 100644
--- a/docs/swarm/ui.md
+++ b/docs/swarm/ui.md
@@ -11,15 +11,6 @@ The signed-in user's avatar sits at the right end of the header on every page.
It opens a menu with the user's name and links to authelia's settings and
sign-out pages; the hive dashboard and the per-agent page have the same menu.
-Every dropdown (a form's select, the refresh interval, the history window) opens a
-list in the swarm UI's own theme, not the browser's, and works the same in every
-current browser. Open it with a click, or with the arrow keys, **Enter** or
-**Space** while it has focus. Then the arrow keys, **Home**, **End**, **Page Up**
-and **Page Down** move through the options, and **Enter**, **Space** or a click take
-the highlighted one. **Escape**, **Tab** or a click elsewhere shut the list without
-changing anything. Typing the start of an option's name picks it, also with the list
-shut. A dropdown inside a dialog opens above the dialog and the dialog doesn't cut it off.
-
| route | what |
| ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/` | the start page: the swarm's name over a digital-rain backdrop, plus a paperclip offering to set up an agent while no `ruth` exists (it opens the create form with `ruth` filled in); the swarm name in the header links here |
diff --git a/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx b/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx
index fbb0ceec4..dce9f8730 100644
--- a/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx
+++ b/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx
@@ -14,7 +14,7 @@
//
// `hive` field added because agent creation had no way to record which
// hive an agent runs on. `POST /api/agents` now requires it, so the
-// roster fetched off `GET /api/hives` backs a required dropdown here
+// roster fetched off `GET /api/hives` backs a required select here
// rather than a free-text field — a spawn target has to be one of the
// swarm's actual hives, same reasoning `Ident.parse` gets client-side
// pattern validation for `name`.
@@ -159,8 +159,8 @@ export function CreateAgentForm({
setHives(data);
// Single-hive swarms are the common case — default it rather than
// making the operator pick the only option. Multi-hive swarms get
- // no default (the placeholder stays selected), so the identity step
- // cannot be left until one is picked (`stepProblem`), per mara's scope.
+ // no default (the placeholder stays selected), so `required` on
+ // the select below forces an explicit choice per mara's scope.
if (data.length === 1) setHive(data[0].name);
})().catch((e: unknown) => setHivesError({ detail: String(e) }));
}, []);
diff --git a/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.css b/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.css
index bc7cde1e9..0e1a134d2 100644
--- a/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.css
+++ b/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.css
@@ -13,6 +13,7 @@
border-radius: 0.4em;
color: var(--muted);
font-size: 0.9em;
+ cursor: pointer;
}
.ui-refresh-picker:hover,
.ui-refresh-picker:focus-within {
@@ -20,21 +21,22 @@
background: var(--bg);
color: var(--fg);
}
-/* The Listbox contributes only its value and chevron: its own box is
- invisible and as wide as the value, so the picker's border is the one
- that shows. */
-.ui-refresh-picker .ui-listbox {
- width: auto;
-}
-.ui-refresh-picker-select.ui-form-control {
- width: auto;
- min-height: 2.5em;
- padding: 0;
+/* The select drives the interaction (native listbox, keyboard, a11y) but
+ contributes no chrome of its own — its own box is invisible, sized to
+ just its selected option's text, and its default arrow is stripped
+ since the chevron span stands in for it. */
+.ui-refresh-picker-select {
+ appearance: none;
border: none;
background: none;
color: inherit;
+ font: inherit;
+ padding: 0;
+ margin: 0;
+ cursor: pointer;
}
-.ui-refresh-picker-icon {
+.ui-refresh-picker-icon,
+.ui-refresh-picker-chevron {
font-size: 0.85em;
line-height: 1;
}
diff --git a/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.tsx b/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.tsx
index 9dc97977e..a42cb1b88 100644
--- a/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.tsx
+++ b/frontend/packages/swarm-ui/src/ui/refresh-interval/RefreshInterval.tsx
@@ -14,17 +14,18 @@
// passive-until-touched setting that lives in a panel's title row
// (`Panel`'s `actions` slot), not a form. Visually quiet (no border/
// fill until hovered/focused) the same way `LinksMenu`'s header button
-// is, so it reads as chrome rather than another input to fill in. The
-// dropdown is the shared `Listbox` (its list is themed, not the browser's),
-// restyled to have no chrome of its own: the chevron is the Listbox's, and the
-// visible value is its selected option.
+// is, so it reads as chrome rather than another input to fill in. A
+// native `
+
+ ⌄
+
+
);
}
diff --git a/frontend/packages/swarm-ui/src/ui/select-field/Listbox.css b/frontend/packages/swarm-ui/src/ui/select-field/Listbox.css
deleted file mode 100644
index c386952f9..000000000
--- a/frontend/packages/swarm-ui/src/ui/select-field/Listbox.css
+++ /dev/null
@@ -1,84 +0,0 @@
-/* : the control is `.ui-form-control`'s box (FormField.css) laid out as
- value + chevron, and the list is a themed box in the top layer. */
-.ui-listbox {
- position: relative;
- width: 100%;
-}
-.ui-select-trigger {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 0.5em;
- text-align: start;
- cursor: pointer;
-}
-.ui-select-trigger:disabled {
- cursor: default;
- opacity: 0.6;
-}
-.ui-select-trigger[aria-expanded="true"] {
- border-color: var(--purple);
-}
-.ui-select-value {
- min-width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-select-empty {
- color: var(--muted);
-}
-/* A chevron drawn with borders, so it takes the text colour and needs no glyph
- a font might lack. */
-.ui-select-chevron {
- flex: none;
- width: 0.45em;
- height: 0.45em;
- border-right: 2px solid currentColor;
- border-bottom: 2px solid currentColor;
- transform: translateY(-0.12em) rotate(45deg);
- opacity: 0.7;
-}
-.ui-select-trigger[aria-expanded="true"] .ui-select-chevron {
- transform: translateY(0.1em) rotate(225deg);
-}
-
-/* A popover's own UA styles centre it with `inset: 0; margin: auto`; this puts
- it where `placePopup` says. */
-.ui-select-list {
- position: fixed;
- inset: auto;
- margin: 0;
- padding: 0.25em;
- box-sizing: border-box;
- overflow-y: auto;
- scrollbar-width: thin;
- scrollbar-color: var(--purple-dim) transparent;
- list-style: none;
- background: var(--bg-elev);
- color: var(--fg);
- border: 1px solid var(--purple-dim);
- border-radius: 0.4em;
- box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.3);
- font: inherit;
-}
-.ui-select-option {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 0.75em;
- min-height: 2.5em;
- padding: 0.3em 0.6em;
- border-radius: 0.3em;
- cursor: pointer;
-}
-.ui-select-option-active {
- background: var(--bg);
-}
-.ui-select-option-selected {
- font-weight: 600;
-}
-.ui-select-option-selected::after {
- content: "✓";
- color: var(--purple);
-}
diff --git a/frontend/packages/swarm-ui/src/ui/select-field/Listbox.tsx b/frontend/packages/swarm-ui/src/ui/select-field/Listbox.tsx
deleted file mode 100644
index 9b3f528a8..000000000
--- a/frontend/packages/swarm-ui/src/ui/select-field/Listbox.tsx
+++ /dev/null
@@ -1,272 +0,0 @@
-// — the dropdown a native `