/* ───────────────────────────────────────────────────────────────────────────────────────── starred/starred.css — WAVE 35, owner item 8: the Starred module's OWN rules. ⛔ WHAT IS NOT HERE IS THE POINT. The page box, the title, the section headings and the whole tile family are Home's classes worn as-is, because DESIGN.md 2's sibling rule is about RENDERED VALUES and the only way to hold two surfaces to identical values through a wave that is actively editing the tile grid is to be the same rules. This file holds the four things Home has no equivalent of: the type filter, the degraded sentence, the loading box and the two chip glyphs. ⚠ NOTHING HERE REDEFINES A .home-*, .shell-* OR .cg-* RULE. `index.css` belongs to the integrator for the whole wave, and a second definition of a shared class would be decided by source order rather than by anybody's intent (`shell/navExtras.css`'s own header records that this nav has already lost a rule that way once). ⚠ EVERY font-size IS A --lp-fs-* TOKEN: verify_ui globs every stylesheet under src. ───────────────────────────────────────────────────────────────────────────────────────── */ /* ── the type filter ──────────────────────────────────────────────────────────────────── It occupies the slot Home gives its list/grid toggle, but LEFT aligned, because this is a primary control rather than a display preference: it decides what the page is about, and a primary control on the far right of an empty row reads as an afterthought. ⚠ Starred deliberately has NO list/grid toggle. Home's exists because a recents list gets long; a star list is short by construction, and a second display preference with its own storage key is a control nobody asked for (owner item 8 names a type filter and nothing else). */ .st-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; } /* The quiet button shape DESIGN.md 4 names: muted ink, wash on hover, nothing else. The UA chrome is reset explicitly here (border/background/font/color), which is the wave-19 "mystery outer lines and tinted fill" rule and is why `.home-card` and `.home-tile` do it too. */ .st-tab { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-pill); background: var(--lp-surface); color: var(--lp-muted); font: inherit; font-size: var(--lp-fs-2xs); font-weight: 600; cursor: pointer; transition: border-color 0.14s var(--lp-fold-e), background 0.14s var(--lp-fold-e); } .st-tab:hover { background: var(--lp-surface-2); border-color: var(--lp-blue-deep); } /* Blue = selected, the fixed semantic (DESIGN.md 3). ⛔ THE INK GOES TO --lp-ink, NOT TO --lp-blue-deep, AND THAT WAS MEASURED OFF THE RENDER RATHER THAN COPIED. `.home-layout-btn.is-on` paints `--lp-blue-deep` (#768fb6) on `--lp-blue-tint` (#edf3fd), which is 2.96:1 — under the 4.5:1 TEXT bar and under the 3:1 graphical bar too. That button holds only a 14px ICON; this pill holds a WORD, at 12.75px. Copying its colour pair would have put the page's own filter labels below the floor. The precedent that IS right is one control up: `.shell-nav-item.is-active` marks selection with the tint plus WEIGHT and leaves the ink alone. Same here: tint, blue border, ink at 13.8:1. */ .st-tab.is-on { background: var(--lp-blue-tint); border-color: var(--lp-blue-deep); color: var(--lp-ink); } /* The count is a subordinate number on a label, so it steps DOWN one size and one weight and INHERITS the pill's ink. It never takes a colour of its own: this is a length, not a status. ⚠ NO `opacity` — the obvious way to subordinate it, and it fails the same measurement: muted ink at 0.75 over white is 2.99:1. Size and weight do the same job and cost no contrast. */ .st-tab-count { font-size: var(--lp-fs-3xs); font-weight: 500; font-variant-numeric: tabular-nums; } /* ── the degraded sentence ────────────────────────────────────────────────────────────── A short list that says it may be short. Yellow is the fixed attention semantic; the DEEP companion carries the text, because a pastel on white is not a light aesthetic, it is an unreadable one (DESIGN.md 3). One containment layer, hairline, no shadow. */ .st-note { margin: 0 0 16px; padding: 9px 12px; border: 1px solid var(--lp-yellow); border-radius: var(--lp-r-md); background: var(--lp-yellow-tint); color: var(--lp-yellow-deep); font-size: var(--lp-fs-2xs); line-height: var(--lp-lh); } /* ── loading, and the way back from a failed read ─────────────────────────────────────── The mark is centred in a fixed band rather than at the top of an empty page: at 7,331 ms cold this is on screen long enough to be looked at, and a spinner pinned to the top-left of a blank surface reads as debris (index.css's own note beside `.lp-spin--lg`). */ .st-loading { display: flex; align-items: center; justify-content: center; min-height: 180px; } .st-failed { display: flex; align-items: center; gap: 12px; } .st-retry { padding: 5px 12px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); color: var(--lp-ink); font: inherit; font-size: var(--lp-fs-2xs); font-weight: 600; cursor: pointer; } .st-retry:hover { background: var(--lp-surface-2); border-color: var(--lp-blue-deep); } /* ── the star, on a tile ──────────────────────────────────────────────────────────────── ⛔ THE WRAPPER IS NOT DECORATION. A Home database tile is an `` and an agent tile is a `