/* Service-only styles (tokens only; see DESIGN.md). Shell.tsx imports this after ds.css on every page; the Worker-rendered pages load the same file as /hub.css. */

/* ---------- Complex lists: one row per complex, the name first, facts under it ---------- */
.pcs { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: 0; }
.pc { display: flex; align-items: center; gap: var(--s3); border-bottom: 1px solid var(--rule); padding: var(--s3) 0; min-width: 0; }
.pc:last-child { border-bottom: 0; }
.pc a, .pc .pc-a { display: flex; align-items: center; gap: var(--s3); min-width: 0; flex: 1 1 auto; color: var(--ink); text-decoration: none; min-height: 3.5rem; }
.pc a:active { background: var(--fill); }
.pc-col { flex-direction: column; align-items: stretch; }
.pc-col .row-actions { margin: 0; gap: var(--s2); }
.pc-col .row-actions .btn { min-height: 2.75rem; padding: 0 var(--s3); }
.pc-b { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1 1 auto; }
.pc-t { font-weight: 700; font-size: var(--t-body); line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.pc-m { color: var(--text-2); font-size: var(--t-cap); line-height: 1.5; }
.pc-add { flex: none; min-height: 2.75rem; padding: 0 var(--s3); white-space: nowrap; }
.count { color: var(--text-2); font-size: var(--t-cap); margin: var(--s3) 0 0; }

/* ---------- Home tool and app ---------- */
.tool .quick-chips { list-style: none; padding: 0; }
.tool .quick-chip, .home-extra .quick-chip { min-height: 2.75rem; padding: 0 var(--s4); font-size: var(--t-sm); }
.tool .fields { display: grid; gap: var(--s2); margin: var(--s2) 0 var(--s4); }
.search-row { display: flex; gap: var(--s2); align-items: stretch; }
.search-row input { flex: 1 1 auto; min-width: 0; }
.search-row .btn { flex: none; }
.home-extra h3 { margin: var(--s4) 0 var(--s2); font-size: var(--t-body); }
.home-extra .chips { margin-bottom: var(--s3); }
.fees > li.stack { gap: var(--s2); }
.fees .row-actions { margin: 0; gap: var(--s2); }
a.quick-chip { display: inline-flex; align-items: center; text-decoration: none; }
