/* NO UNDERLINES (Dr. Katz, 2026-11-12, looking at the Accounts page on staging from his phone: "I do not like as name
 * look, give me other idea for how we can change everything with underline"; his pick the same day: styles A and C).
 *
 * Every link in the portal was accent colored and underlined. On every page now:
 *   - no link is underlined;
 *   - a link inside a sentence, a list or a table cell is the accent color and semi-bold, so it still reads as a link;
 *   - a name in the first column of a table is dark and semi-bold (style A): the row is what you press;
 *   - the Back button at the top stays on one line on a phone;
 *   - a row that opens something shows it when the pointer or a finger is on it.
 * Style C, a person with their initials (public/ui-standard.css, .el-who), is put on the people lists page by page.
 *
 * It touches only links that carry no class of their own: buttons, tabs, tiles, cards and the left menu have their own
 * classes and keep their look. It changes no layout and no wording.
 *
 * STAGING ONLY FOR NOW, the same way as plum.css: partials/head.ejs links this file only where the staging band shows
 * (environmentLabel), so production keeps today's links until he says so. To release it, take that condition away. */

a, a:hover { text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

main :is(p, li, td, th, dd, dt, label, small, span, summary, h2, h3, h4) > a:not([class]) { font-weight: 600; }
main a:not([class]):hover { color: var(--accent-strong); }

/* Style A: the name that opens the row. */
main td:first-child > a:not([class]) { color: var(--ink); }
main td:first-child > a:not([class]):hover { color: var(--accent); }
main tr.is-clickable { cursor: pointer; }
main tr.is-clickable:hover > td, main tr.is-clickable:active > td { background: var(--accent-soft); }

/* The Back button: one line, never squeezed by a long page title. */
.topbar .back-btn { white-space: nowrap; flex: none; }
