/* Beta B3–B5 (accounts, recovery, feedback, admin, catalogue) + the B5 Library shelves (every copy) — both UI modes; own file (app.css
   stays the Classic baseline).
   Restraint as everywhere: neutral graphite chrome, one accent (cyan), amber only for a state that needs attention. No glow, no gradients. */

/* ---- account entry in the app bar (beta copies only) */
.acct-btn { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; max-width: 220px; min-height: var(--control-s); padding: 0 10px; margin-left: var(--s-3); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); color: var(--text-2); font: 600 12px var(--sans); cursor: pointer; }
.acct-btn:hover { color: var(--text); border-color: var(--muted); }
.acct-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.acct-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-icon { display: none; }
.acct-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.acct-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--faint); }
.acct-btn[data-state="registered"] .acct-dot { background: var(--cyan); }
.acct-btn[data-state="syncing"] .acct-dot { background: var(--cyan-dim); }
.acct-btn[data-state="error"] .acct-dot { background: var(--amber); }

/* ---- dialogs (account, feedback) */
.acct-dialog, .fb-dialog { width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-l); background: var(--panel); color: var(--text); box-shadow: var(--elev-2); overflow: auto; }
.acct-dialog::backdrop, .fb-dialog::backdrop { background: rgba(6, 7, 8, .66); }
.acct-dialog > *, .fb-dialog > * { margin-left: var(--s-5); margin-right: var(--s-5); }
.acct-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-5); margin-bottom: var(--s-3); }
.acct-head h2 { margin: 0; font: 600 var(--t-xl) var(--display); word-break: break-word; }
.acct-head p { margin: 4px 0 0; }
.acct-close { flex: 0 0 auto; }
.acct-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.acct-points { margin-top: 0; margin-bottom: var(--s-4); padding-left: 18px; color: var(--text-2); line-height: 1.55; }
.acct-form { display: grid; gap: var(--s-2); margin-bottom: var(--s-3); }
/* (text fields only — a checkbox given width 100% / min-height pushed its label into a sliver outside the window: feedback, publish, deletion) */
.acct-form input:not([type="checkbox"]):not([type="radio"]), .acct-form select, .fb-dialog textarea, .fb-dialog select, .adm input:not([type="checkbox"]), .adm select { width: 100%; min-height: var(--control-l); padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--inset); color: var(--text); font: var(--t-l) var(--sans); }
.acct-form input:not([type="checkbox"]):not([type="radio"]):focus-visible, .acct-form select:focus-visible, .fb-dialog textarea:focus-visible, .fb-dialog select:focus-visible, .adm input:not([type="checkbox"]):focus-visible, .adm select:focus-visible { outline: none; border-color: var(--cyan-dim); box-shadow: var(--ring); }
.acct-form input::placeholder, .fb-dialog textarea::placeholder { color: var(--faint); }
.acct-form #acct-code { font: 600 22px var(--mono); letter-spacing: .3em; }
.acct-error { min-height: 1em; margin: 0; color: var(--amber); }
.acct-error:empty { display: none; }
.acct-note { padding: 8px 10px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--text-2); }
.acct-privacy { margin-top: var(--s-3); margin-bottom: var(--s-5); }
.acct-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: 0; margin-bottom: var(--s-3); }
.acct-facts div { padding: 8px 10px; border-radius: var(--radius); background: var(--inset); }
.acct-facts dt { color: var(--muted); font-size: var(--t-xs); }
.acct-facts dd { margin: 2px 0 0; font: 600 var(--t-m) var(--sans); font-variant-numeric: tabular-nums; }
.acct-sync { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s-3); align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.acct-sync b { font-size: var(--t-s); }
.acct-sync span { grid-column: 1; }
.acct-sync button { grid-row: 1 / span 2; grid-column: 2; }
.acct-sync[data-sync="error"] { border-color: var(--amber); }
.acct-sub { margin-top: var(--s-4); margin-bottom: var(--s-2); color: var(--muted); font: 600 var(--t-xs) var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.acct-devices { margin: 0 0 var(--s-2); padding: 0; list-style: none; display: grid; gap: 4px; }
.acct-devices li.current b { color: var(--cyan); }
.acct-actions { margin-top: var(--s-4); justify-content: flex-end; gap: var(--s-2); }
.acct-dialog .row, .fb-dialog .row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* ---- Library · Recovered (B3) */
.rec-panel { margin-bottom: var(--s-4); border-color: var(--cyan-dim); }
.rec-panel h2 { margin: 0 0 4px; font: 600 var(--t-m) var(--sans); }
.rec-list { display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.rec-item { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--radius); background: var(--inset); }
.rec-item header b { font-size: var(--t-s); }
.rec-item p { margin: 0; }
.rec-takes { display: grid; gap: 4px; }
.rec-take { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.rec-take > span { min-width: 52px; color: var(--text-2); }
.rec-item .row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---- feedback (B4): app-bar entry, Home entry, window */
/* app bar: the deck and the open project need the width — Feedback is always an icon; the account shows its text only on wide screens */
.topbar .fb-btn { position: relative; justify-content: center; width: var(--control); padding: 0; margin-left: auto; }
.topbar .fb-btn .acct-label { display: none; }
.topbar .fb-btn .acct-icon { display: inline-flex; }
@media (max-width: 1600px) {
  .topbar #account-button { position: relative; justify-content: center; width: var(--control); padding: 0; }
  .topbar #account-button .acct-label { display: none; }
  .topbar #account-button .acct-icon { display: inline-flex; }
  .topbar #account-button .acct-dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; flex-basis: 6px; }
}
/* (a tab on the right edge: outside the Home's content column and away from its bottom-right mini player) */
#htc-hub .fb-home { position: fixed; right: 0; top: 50%; z-index: 3; transform: translateY(-50%); writing-mode: vertical-rl; min-width: 34px; padding: 14px 8px; border: 1px solid rgba(255, 255, 255, .22); border-right: 0; border-radius: 8px 0 0 8px; background: rgba(12, 13, 17, .9); color: #f4efe6; font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
#htc-hub .fb-home:hover { border-color: rgba(255, 255, 255, .5); }
#htc-hub .fb-home:focus-visible { outline: 2px solid #f7a93a; outline-offset: 2px; }
/* (B6) Library legibility: these lines used the faint tone (3.2–3.4:1 on the page, under WCAG 4.5:1 — experiments/b6/app-probe.mjs P6);
   they carry real information (the request, the revision, the details entry, the rail headings), so they take the muted tone instead */
.gen .gen-prompt, .gen .gen-rev, .gen .star:not([aria-pressed="true"]), .gen .gcard-more > summary, .lib-rail .shelf-label { color: var(--muted); }
/* (B6) feedback on one song — Studio header and Library card: an icon + label in the amber of the Home's accents, so it is found */
.btn.fb-song { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(247, 169, 58, .55); color: #f7c47a; }
.btn.fb-song:hover { border-color: #f7a93a; color: #ffd9a1; }
.btn.fb-song svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-kind { min-height: var(--control-s); padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: transparent; color: var(--text-2); font: 600 12px var(--sans); cursor: pointer; }
.fb-kind[aria-checked="true"] { border-color: var(--cyan); background: var(--cyan-wash); color: var(--text); }
.fb-kind:focus-visible { outline: none; box-shadow: var(--ring); }
.fb-dialog textarea { min-height: 112px; padding: 10px 12px; line-height: 1.45; resize: vertical; }
.fb-about { display: grid; gap: 4px; padding: 10px 12px; border-radius: var(--radius); background: var(--inset); }
.fb-check { display: flex; align-items: flex-start; gap: 8px; color: var(--text-2); line-height: 1.4; }
.fb-check input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--cyan); }
.fb-notice { margin: 4px 0 0; color: var(--text-2); }
.fb-what { color: var(--muted); }
.fb-preview { max-height: 180px; margin: 6px 0 0; padding: 8px 10px; overflow: auto; border-radius: var(--radius); background: var(--inset); color: var(--text-2); font: 11px/1.45 var(--mono); white-space: pre-wrap; word-break: break-word; }
.acct-usage { margin-bottom: var(--s-5); }

/* ---- admin desk (B4) */
.adm-tabs { flex-wrap: wrap; }
.adm { display: grid; gap: var(--s-3); }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-2); }
.adm-tile { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.adm-tile b { font: 600 var(--t-2xl) var(--display); font-variant-numeric: tabular-nums; }
.adm-h { margin: var(--s-4) 0 0; font: 600 var(--t-m) var(--sans); }
.adm-scroll { max-width: 100%; overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.adm-table th { padding: 6px 8px; border-bottom: 1px solid var(--line-2); color: var(--muted); font: 600 var(--t-xs) var(--sans); text-align: left; white-space: nowrap; }
.adm-table td { padding: 6px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.adm-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-table tr.off td { color: var(--muted); }
.adm-table input { width: 92px; min-height: var(--control-s); font-size: var(--t-s); }
.adm-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid var(--line-2); border-radius: var(--radius-pill); color: var(--text-2); font: 600 10.5px var(--mono); }
.adm-badge.warn { border-color: var(--amber); color: var(--amber); }
.adm-inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* (C-187) backup notices: one quiet line each — amber edge for a problem on the host, plain for a reminder */
.adm-notice { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0; padding: 6px 10px; border-left: 2px solid var(--line-2); color: var(--text-2); font-size: var(--t-s); }
.adm-notice.warn { border-left-color: var(--amber); }
.adm-notice .btn { min-height: var(--control-s); }
.adm-fb { display: grid; gap: var(--s-2); }
.adm-fb-item { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.adm-fb-item.analysed { border-color: var(--line-soft); }
.adm-fb-item header { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.adm-fb-item header .adm-badge { margin-left: 0; }
.adm-flags { margin-left: auto; }
.adm-fb-text { margin: 0; white-space: pre-wrap; line-height: 1.5; }
.adm-fb-item textarea { flex: 1 1 260px; min-height: var(--control); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--inset); color: var(--text); font: var(--t-s) var(--sans); }
.adm-fb-item select, .adm-export select { width: auto; min-height: var(--control-s); font-size: var(--t-s); }
.adm-export { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.adm-settings { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-3); }

/* ---- Library shelves, collections, publication (B5; every copy) — wide screens: a shelf rail beside the list; narrower: one scrolling row */
.lib-layout { display: grid; gap: var(--s-4); }
.lib-main { min-width: 0; }
.lib-rail { display: flex; gap: 6px; align-items: center; min-width: 0; padding-bottom: var(--s-2); overflow-x: auto; scrollbar-width: thin; }
.lib-rail .shelf { flex: 0 0 auto; justify-content: space-between; gap: 10px; min-height: var(--control); }
.shelf-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }
.shelf-n { color: var(--muted); font: 11px var(--mono); font-variant-numeric: tabular-nums; }
.lib-rail .toggle[aria-pressed="true"] .shelf-n { color: var(--text-2); }
.shelf-label { flex: 0 0 auto; margin: 0 0 0 var(--s-2); color: var(--faint); font: 600 var(--t-2xs) var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.shelf-new { display: flex; flex: 0 0 auto; gap: 4px; align-items: center; }
.shelf-new input { width: 140px; min-height: var(--control-s); padding: 0 8px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: transparent; color: var(--text); font: 12.5px var(--sans); }
.shelf-new input:focus-visible { outline: none; border-style: solid; border-color: var(--cyan-dim); box-shadow: var(--ring); }
.shelf-link { flex: 0 0 auto; margin-left: var(--s-2); color: var(--text-2); font-size: 12.5px; text-decoration: none; white-space: nowrap; }
.shelf-link:hover { color: var(--cyan); }
.lib-shelf-head { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: baseline; }
.lib-shelf-head:empty { display: none; }
.lib-shelf-head h2 { margin: var(--s-4) 0 0; font: 600 var(--t-xl) var(--display); }
.lib-shelf-head p { flex-basis: 100%; margin: 0; }
.lib-shelf-head input { width: 200px; min-height: var(--control-s); }
.lib-view { flex: 0 0 auto; }
.set-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s-3); }
.set-title { flex: 1 1 320px; min-width: 0; }
.set-acts { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; }
.set-head .set-archive { margin-left: 0; }
.set-collect { min-height: var(--control-s); padding: 0 8px; font-size: 12px; }
.gen-collections { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.gen-collections:empty { display: none; }
.col-chip { padding: 1px 8px; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: transparent; color: var(--text-2); font: 500 11px var(--sans); cursor: pointer; }
.col-chip:hover { color: var(--text); border-color: var(--muted); }
.gen-collect { min-width: 260px; }
.gen-collect .toggle { min-height: var(--control-s); font-size: 12px; }
.gen-collect input { width: 140px; min-height: var(--control-s); font-size: 12.5px; }
/* (fix) Next draws primary text dark for its accent fill; a Library row's resting "Open in Studio" has the dark fill — keep its text light
   until the row lights the button with the accent (hover, focus, playing; always on phones) */
[data-ui="next"] .gen .btn.primary { color: var(--text); }
[data-ui="next"] .gen:hover .btn.primary, [data-ui="next"] .gen:focus-within .btn.primary, [data-ui="next"] .gen:has(.preview.playing) .btn.primary { color: var(--cyan-ink); }
.pub-panel { display: grid; gap: 6px; margin: var(--s-3) 0; }
.pub-panel h3 { margin: var(--s-2) 0 0; font: 600 var(--t-s) var(--sans); color: var(--text-2); }
.pub-row { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.pub-row .adm-fb-text { flex-basis: 100%; }
@media (min-width: 1241px) {
  .lib-layout { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
  .lib-rail { position: sticky; top: calc(var(--appbar) + var(--s-4)); flex-direction: column; align-items: stretch; overflow: visible; padding-bottom: 0; }
  .lib-rail .shelf { width: 100%; }
  .shelf-label { margin: var(--s-4) 0 2px; }
  .shelf-new input { flex: 1 1 auto; width: auto; min-width: 0; }
  .shelf-link { margin: var(--s-4) 0 0; }
  /* the list beside the rail has the width of a 1240 px screen: the same arrangement as app.css uses there */
  .lib-main .gen { grid-template-columns: calc(250px - var(--depth) * 28px) minmax(0, 1fr) auto; grid-template-areas: "id preview actions" "id facts actions" "id meta meta" "more more more" "ver ver ver"; }
  .lib-main .gen-facts { justify-self: start; }
}

/* ---- catalogue (B5) */
.cat-list { display: grid; gap: var(--s-3); }
.cat-item { display: grid; gap: 6px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.cat-item h3 { margin: 0; font: 600 var(--t-l) var(--display); }
.cat-item header p { margin: 2px 0 0; }
.cat-item .preview { display: grid; grid-template-columns: 36px auto minmax(0, 1fr); grid-template-areas: "play plot plot" "play time where"; gap: 2px var(--s-3); align-items: center; min-width: 0; }
.cat-item .pv-bar { display: contents; }
.cat-item .pv-play { grid-area: play; }
.cat-item .pv-plot { grid-area: plot; height: 40px; }
.cat-item .pv-time { grid-area: time; font-size: 11px; }
.cat-item .pv-where { grid-area: where; font-size: 11px; }
.cat-item p { margin: 0; }
.cat-note { color: var(--text-2); font-style: italic; }
.cat-rights { color: var(--faint); }

/* ---- C-181: profile, preferences, publish preview, share invitation, What's new note, generation state */
.acct-terms { margin: 0; }
.acct-profile-row { margin-top: var(--s-3); }
.acct-prefs { display: grid; gap: var(--s-2); }
.acct-pref { padding: 8px 10px; border-radius: var(--radius); background: var(--inset); }
.acct-pref b { color: var(--text); }
.prof-set, .pub-dialog fieldset { display: grid; gap: var(--s-2); margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.prof-set legend, .pub-dialog legend { padding: 0 4px; color: var(--muted); font-size: var(--t-s); font-weight: 600; }
.prof-fields { display: grid; gap: var(--s-2); }
.prof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.prof-help { margin: 0; color: var(--muted); font-size: var(--t-s); line-height: 1.45; }
.prof-role-list { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.prof-role { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: var(--t-s); cursor: pointer; }
.prof-role input { accent-color: var(--cyan); }
.prof-choices { display: grid; gap: 6px; }
.acct-tabs { display: inline-flex; margin-bottom: var(--s-3); }
.acct-optional { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
.acct-optional .acct-sub { margin: var(--s-2) 0 0; }
.pub-dialog { width: min(560px, calc(100vw - 24px)); }
.pub-as .fb-check input { accent-color: var(--cyan); }
.pub-preview { display: grid; gap: 6px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.pub-preview .eyebrow { margin: 0; }
.pub-card { padding: 10px 12px; border-radius: var(--radius); background: var(--inset); }
.pub-card p { margin: 4px 0 0; }
.share-invite { display: grid; gap: var(--s-2); margin-top: var(--s-5); padding: var(--s-4); border: 1px solid var(--cyan-dim); border-radius: var(--radius-l); background: var(--panel); }
.share-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s-2); }
.share-head h2 { margin: 2px 0 0; font: 600 var(--t-xl) var(--display); }
.share-head .eyebrow { margin: 0; }
.share-lede { max-width: 72ch; margin: 0; color: var(--text-2); line-height: 1.55; }
.share-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px var(--s-3); margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.share-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n name btn" "n fav btn"; gap: 0 10px; align-items: center; padding: 8px 10px; border-radius: var(--radius); background: var(--inset); }
.share-row[data-kind="extreme"] .share-n { color: var(--amber); }
.share-n { grid-area: n; color: var(--muted); font: 600 12px var(--mono); }
.share-name { grid-area: name; display: grid; min-width: 0; }
.share-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-name small { color: var(--muted); }
.share-fav { grid-area: fav; color: var(--amber); }
.share-row .btn { grid-area: btn; }
.whats-new-note { position: fixed; left: var(--s-4); bottom: var(--s-4); z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: min(560px, calc(100vw - 32px)); padding: 8px 8px 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-l); background: var(--panel); color: var(--text-2); box-shadow: var(--elev-2); font-size: var(--t-s); }
.wn-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--cyan); }
.wn-text { flex: 1 1 220px; min-width: 0; }
.wn-text b { color: var(--text); }
.wn-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
#generate.working { cursor: progress; }

@media (max-width: 640px) {
  .gen-collect { min-width: 0; flex-basis: 100%; }
  [data-ui="next"] .gen .btn.primary { color: var(--cyan-ink); }
  .lib-shelf-head input { width: 100%; }
  #htc-hub .fb-home { min-width: 28px; padding: 12px 5px; font-size: 11px; }
  .topbar .fb-btn { display: none; } /* phones: Feedback lives in the account window (the deck needs the width) */
  .adm-tiles { grid-template-columns: minmax(0, 1fr); }
  .adm-flags { margin-left: 0; }
  .acct-btn { position: relative; flex: 0 0 var(--touch); justify-content: center; width: var(--touch); padding: 0; margin-left: var(--s-2); }
  .acct-btn .acct-label { display: none; }
  .acct-btn .acct-icon { display: inline-flex; }
  .acct-btn .acct-dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; flex-basis: 6px; }
  .acct-btn, .acct-dialog .btn, .fb-dialog .btn, .rec-item .btn { min-height: var(--touch); }
  .acct-facts { grid-template-columns: minmax(0, 1fr); }
  .acct-dialog > *, .fb-dialog > * { margin-left: var(--s-4); margin-right: var(--s-4); }
  .prof-grid { grid-template-columns: minmax(0, 1fr); }
  .share-invite { padding: var(--s-3); }
  .share-list { grid-template-columns: minmax(0, 1fr); }
  .share-row .btn { min-height: var(--touch); }
  /* phones: above the bottom bar, full width */
  .whats-new-note { left: var(--s-2); right: var(--s-2); bottom: calc(var(--bottombar, 64px) + var(--s-2)); max-width: none; }
}
