/* ofork.dev page shell (platform plan F-B). Only the layout around the design
   system: every colour, size and space comes from ofork-tokens.css, and light is the
   default (dark follows the device there). No inline style exists anywhere; this file
   is allowed by exact URL in the CSP. */
.shell-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell-skip { position: absolute; left: var(--o-space-2); top: -4rem; z-index: calc(var(--o-z-bar) + 1); }
.shell-skip:focus { top: var(--o-space-2); }

/* top bar: logo · search · sign in · create, with the section links on a second row on phones */
.shell-top { gap: var(--o-space-1); padding-block: 0; }
.shell-top .o-topbar__start { min-height: var(--o-bar); }
.shell-top .o-topbar__end { min-height: var(--o-bar); }
.shell-nav { order: 3; flex: 1 0 100%; margin-inline: calc(var(--o-gutter) * -1) 0; padding-block: 0 var(--o-space-2); }
.shell-nav .o-chip { flex: none; }
.shell-search { display: none; }
.shell-top form.inline { margin: 0; }
@media (min-width: 720px) {
  .shell-top { flex-wrap: nowrap; }
  .shell-top .o-topbar__start { margin-right: var(--o-space-4); }
  .shell-nav { order: 0; flex: 1 1 auto; margin: 0; padding: 0; overflow: visible; }
  .shell-top .o-topbar__end { margin-left: auto; }
  .shell-search { display: block; width: min(18rem, 28vw); margin-right: var(--o-space-1); }
  .shell-search-link { display: none; }
}

/* page body */
.shell-main { min-height: 60vh; padding-bottom: var(--o-space-6); }
.shell-main > * { max-width: 72rem; margin-inline: auto; }
.shell-measure { max-width: var(--o-measure); }
.shell-error { display: grid; justify-items: start; gap: var(--o-space-3); padding: var(--o-space-8) var(--o-gutter); }
.shell-error h1 { max-width: 14ch; }

/* footer */
.shell-foot { max-width: none; }
.shell-foot > * { max-width: 72rem; margin-inline: auto; }
.shell-lang { display: inline-flex; align-items: center; gap: var(--o-space-3); margin-left: auto; }
.shell-lang a, .shell-lang__on { display: inline-flex; align-items: center; min-height: var(--o-tap); }
.shell-lang a { color: var(--o-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.shell-lang__on { color: var(--o-ink-2); font-weight: var(--o-weight-bold); }
.shell-who { display: none; max-width: 14rem; }
@media (min-width: 900px) { .shell-who { display: block; } }
/* "Sign in with ofork" (signin.mjs): an owner's display name stays visible on phones; the host picker and callback card. */
@media (max-width: 899px) { .shell-who.shell-who--owner { display: block; max-width: 7.5rem; } }
.signin-card { max-width: 34rem; margin-inline: auto; padding: var(--o-space-6) var(--o-gutter) 0; }
.signin-card h1 { margin-bottom: var(--o-space-2); }
.signin-card p { margin: 0 0 var(--o-space-3); }
.signin-hosts { list-style: none; margin: var(--o-space-4) 0; padding: 0; display: flex; flex-direction: column; gap: var(--o-space-2); }
.signin-host { width: 100%; justify-content: flex-start; }
/* F-G: with the Inbox link in the bar, a phone shows a shorter name chip so Create is never pushed off screen. */
@media (max-width: 479px) { .shell-who.shell-who--owner { max-width: 3.5rem; } .shell-top .o-topbar__end .o-btn { padding-inline: 0.5rem; } }
/* ofork.dev accounts (A1-RR-S): the rules of the recovery bar, appended to /assets/shell.css by shell/assets.mjs ONLY when FD_ACCOUNTS=1 (shell.css itself is untouched, so with the switch off every
   byte of it is as before). */
/* A1-R3: the bar every signed-in page shows while someone's recovery of the account waits: a warning tint, the words, one button. No gradient, no icon. */
.shell-alert { display: flex; flex-wrap: wrap; align-items: center; gap: var(--o-space-2) var(--o-space-4); padding: var(--o-space-3) var(--o-space-4); background: var(--o-warn-tint); color: var(--o-ink); box-shadow: inset 3px 0 0 var(--o-warn); font-size: var(--o-text-callout); line-height: 1.4; }
.shell-alert p { margin: 0; flex: 1 1 24rem; }
.shell-alert .shell-alert__form { margin: 0; }
/* The hub's header (A-3, FD_HUB=1): appended to shell.css only with the switch on. The "!" is a small badge on the corner of the @handle (no width of its own: the header must fit 360 px). */
.shell-acct { position: relative; display: inline-flex; align-items: center; }
.shell-acct .shell-alert { position: absolute; top: -0.35rem; right: -0.5rem; min-width: 1.1rem; padding: 0 0.3rem; font-size: 0.7rem; line-height: 1.1rem; text-align: center; text-decoration: none; }

/* DS1b: the signed-in header. Under 1000 px the account is ONE control, a <details> disclosure (works without script, opens with Enter or Space); from 1000 px the full row shows.
   The control is a quiet bordered button with the @handle cut at 5.5rem, so logo, search, the account control and Create fit 360 px on one row. */
.shell-acct-row { display: none; align-items: center; gap: var(--o-space-1); }
.shell-menu { position: relative; }
.shell-menu > summary { list-style: none; max-width: 6.5rem; min-width: var(--o-tap); padding-inline: 0.625rem; }
.shell-menu > summary::-webkit-details-marker { display: none; }
.shell-menu > summary::marker { content: ""; }
.shell-menu .shell-alert { position: absolute; top: -0.35rem; right: -0.35rem; min-width: 1.1rem; padding: 0 0.3rem; font-size: 0.7rem; line-height: 1.1rem; text-align: center; }
.shell-menu[open] > summary { background: var(--o-press); }
.shell-menu__panel { position: absolute; right: 0; top: calc(100% + var(--o-space-1)); z-index: calc(var(--o-z-bar) + 1); width: 15rem; max-width: calc(100vw - 2 * var(--o-gutter)); display: grid; padding: var(--o-space-1); background: var(--o-bg); border: 1px solid var(--o-line); border-radius: var(--o-radius-md); }
.shell-menu__who { margin: 0; padding: var(--o-space-2) var(--o-space-3); border-bottom: 1px solid var(--o-line); }
.shell-menu__panel a, .shell-menu__panel .o-btn { display: flex; align-items: center; justify-content: flex-start; width: 100%; min-height: var(--o-tap); padding: 0 var(--o-space-3); border-radius: var(--o-radius-sm, var(--o-radius-md)); color: var(--o-ink); font-size: var(--o-text-callout); font-weight: var(--o-weight-semibold); text-decoration: none; text-align: left; }
.shell-menu__panel form { margin: 0; }
.shell-top .shell-menu__panel .o-btn { border: 0; padding-inline: var(--o-space-3); }
.shell-menu__panel a:active { background: var(--o-press); }
@media (hover: hover) { .shell-menu__panel a:hover { background: var(--o-press); } }
@media (min-width: 1000px) {
  .shell-acct-row { display: inline-flex; }
  .shell-menu { display: none; }
}

/* DS1b-6: on an empty home (FD_HUB) the "Nothing here yet" box sits one block below the starters (discover.css is a switch-off file, so the rule lives here). */
.d-empty--after { margin-top: var(--o-space-6); }
/* The signed-in app's shell (SO-2): top bar, the five links of wide screens, the bottom tab bar's extras. Appended to shell.css only with FD_SOCIAL=1 (every page loads shell.css, and the account pages' policy lists no other stylesheet). Tokens only. */
/* ---- the signed-in app (SO-2): top bar, five links on wide screens, bottom tab bar on phones ---- */
.shell-top--app .o-topbar__end { margin-left: auto; gap: 0; }
.s-appnav { display: none; }
.s-bell { color: var(--o-ink); }
.s-dot { position: absolute; top: 0.55rem; right: 0.6rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--o-accent-mark); box-shadow: 0 0 0 2px var(--o-bg); }
.s-tabbar .o-icon, .s-appnav .o-icon { stroke-width: 1.9; }
.s-avatar-img { border-radius: 50%; object-fit: cover; width: 1.625rem; height: 1.625rem; }
@media (min-width: 900px) {
  .s-tabbar { display: none; }
  .o-has-tabbar { padding-bottom: var(--o-space-6); }
  .s-appnav { display: flex; align-items: center; gap: var(--o-space-1); margin-left: var(--o-space-4); }
  .s-appnav__link { display: inline-flex; align-items: center; min-height: var(--o-tap); padding-inline: var(--o-space-3); border-radius: var(--o-radius-md); color: var(--o-ink-2); font-weight: var(--o-weight-semibold); text-decoration: none; }
  .s-appnav__link:hover { background: var(--o-hover); color: var(--o-ink); }
  .s-appnav__link[aria-current="page"] { color: var(--o-ink); box-shadow: inset 0 -2px 0 var(--o-ink); border-radius: 0; }
  .s-appnav .o-btn { text-decoration: none; }
}

/* FD-FIX-1 (owner, phone, 2026-11-19: "when I scroll down it bugs, doesn't reach the bottom"): on a phone the fixed tab bar covered the end of every signed-in page. The rule of ofork-components.css
   (`.o-has-tabbar`, tab bar + safe area + space-6) was beaten by a later rule of the SAME weight on the same <main> (`.s-main` and `.shell-main` in social.css and shell.css: space-6 alone), so
   the page ended 33 px behind the bar. This one is heavier than any of them, so the load order cannot decide it: the bar's real height (its 1 px top line included) + the safe area + a margin.
   From 900 px on there is no tab bar and the plain space-6 above applies. */
@media (max-width: 899.98px) {
  main.shell-main.o-has-tabbar { padding-bottom: calc(var(--o-tabbar) + 1px + var(--o-safe-bottom) + var(--o-space-4)); }
}

/* UX-1: inside the app (only pages with the tab bar have .o-has-tabbar) page titles are phone-app sized, never a 44 px hero */
.o-has-tabbar h1.o-display { font-size: var(--o-text-title-2); line-height: var(--o-leading-tight); letter-spacing: normal; overflow-wrap: anywhere; }
.o-has-tabbar .acct-wrap { padding-top: var(--o-space-4); }

/* ---- FD-APP-REWORK-1 (the owner's design of 2026-11-23): the lime + in the phone's top bar, and the three-item bottom nav (feed, search, Profile). Tokens only; light follows design C. ---- */
.s-newsq { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--o-btn-h); height: var(--o-btn-h); margin-left: var(--o-space-2); border-radius: var(--o-radius-md); background: var(--o-accent); color: var(--o-on-accent); box-shadow: inset 0 0 0 1px var(--o-fill-edge); text-decoration: none; }
.s-newsq .o-icon { stroke-width: 2.6; width: 1.25rem; height: 1.25rem; }
.s-newsq::after { content: ""; position: absolute; inset: calc((var(--o-tap) - var(--o-btn-h)) / -2); }   /* FD-DENSITY-1: a 36 px square, a 44 px tap area */
.s-tabbar .s-tab { color: var(--o-ink-2); }
.s-tabbar .s-tab .o-icon { width: 1.5rem; height: 1.5rem; }
.s-tabbar .s-tab[aria-current="page"] { color: var(--o-accent-mark); }
.s-tabbar .s-tab[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0.25rem; width: 1rem; height: 3px; margin-left: -0.5rem; border-radius: 3px; background: var(--o-accent-mark); }
.s-tab__me { display: grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: var(--o-radius-md); background: var(--o-surface-2); box-shadow: inset 0 0 0 1px var(--o-line); }
.s-tab__me .o-avatar { --_av: 1.875rem; border-radius: var(--o-radius-md); background: transparent; font-size: 0.875rem; }
.s-tab__me .s-avatar-img { width: 1.875rem; height: 1.875rem; border-radius: var(--o-radius-md); }
.s-tabbar .s-tab[aria-current="page"] .s-tab__me { background: transparent; box-shadow: 0 0 0 2px var(--o-accent-mark); }
.s-tabbar .s-tab[aria-current="page"] .s-tab__me .o-avatar { box-shadow: none; }
.s-tabbar .s-tab .s-tabdot { left: calc(50% + 0.7rem); top: 0.3rem; }
@media (min-width: 900px) { .s-newsq { display: none; } }
/* review M1: Profile draws no top bar on a phone (the design's header row is the first thing), but from 900 px, where the bottom nav is not drawn, the bar with the logo, Home, Search and Profile stays */
@media (max-width: 899.98px) { .shell-top--wide { display: none; } }
/* FD-DENSITY-1 (the owner, 2026-11-23: "Everything looks too big on ofork. The buttons, the text. Make it all smaller."): ONE tighter scale for every page of ofork.dev. Appended to shell.css only with FD_SOCIAL=1
   (shell/assets.mjs, like social-shell.css); with the switch off shell.css is the file as it was. ofork-tokens.css and ofork-components.css stay the byte copies of the design source (the box app keeps its own
   sizes); this is the one place where ofork.dev's scale is set, after them, on :root. Sizes only: no colour, no new component.
   Text: body 15, buttons and secondary 14, names 16, card titles 18, page titles 21, big titles 26. Space: about 20 % less. Visual controls: buttons 36 px, inputs 40 px (the text stays 16 px so iOS
   never zooms); a button keeps a 44 px TAP area through an invisible ::after, so the box is smaller and the target is not. Bars: top 48, bottom nav 48 (each item still 44+). */
:root {
  --o-text-display: 2rem;          /* 32 (was 40) */
  --o-text-title-1: 1.625rem;      /* 26 (was 32) */
  --o-text-title-2: 1.3125rem;     /* 21 (was 24): page titles */
  --o-text-title-3: 1.125rem;      /* 18 (was 20): card titles */
  --o-text-headline: 1rem;         /* 16 (was 17): names, list titles */
  --o-text-body: 0.9375rem;        /* 15 (was 16) */
  --o-text-callout: 0.875rem;      /* 14 (was 15): buttons, stats, secondary text */
  --o-space-1: 0.1875rem;          /* 3 (was 4) */
  --o-space-2: 0.375rem;           /* 6 (was 8) */
  --o-space-3: 0.625rem;           /* 10 (was 12) */
  --o-space-4: 0.8125rem;          /* 13 (was 16) */
  --o-space-5: 1rem;               /* 16 (was 20) */
  --o-space-6: 1.25rem;            /* 20 (was 24) */
  --o-space-8: 1.625rem;           /* 26 (was 32) */
  --o-space-10: 2rem;
  --o-space-12: 2.5rem;
  --o-gutter: 0.875rem;            /* 14 (was 16) */
  --o-bar: max(48px, 3rem);        /* top bar (was 56) */
  --o-tabbar: max(48px, 3rem);     /* bottom nav, above the safe area (was 56): every item is still 44+ px */
  --o-btn-h: 2.25rem;              /* a button's visible height: 36 (was 44) */
  --o-ctl-h: 2.5rem;               /* an input's box: 40 (was 44) */
}
/* buttons: a 36 px box and a 44 px tap area (an invisible ::after the width of the button, 4 px above and below; an icon button also 4 px to each side) */
.o-btn { min-height: var(--o-btn-h); padding: 0.375rem 0.875rem; }
.o-btn::after { content: ""; position: absolute; inset: min(0px, calc((var(--o-tap) - 100%) / -2)) 0; }
.o-btn--icon { width: var(--o-btn-h); }
.o-btn--icon::after { inset: min(0px, calc((var(--o-tap) - 100%) / -2)); }
.o-btn--sm { min-height: 2.125rem; padding: 0.25rem 0.625rem; font-size: 0.8125rem; }   /* 34 px box (the brief: 34-36); the tap area reaches 5 px past it */
.o-btn--sm::after { inset: min(0px, calc((var(--o-tap) - 100%) / -2)) 0; }
.o-btn--icon.o-btn--sm { width: 2.125rem; }
.o-btn--lg { min-height: 2.75rem; }
.o-btn .o-icon { width: 1rem; height: 1rem; }
.o-btn--quiet { min-height: var(--o-btn-h); }
.o-input, .o-textarea { min-height: var(--o-ctl-h); padding: 0.5rem 0.75rem; }   /* font-size stays max(16px, 1rem) */
.o-tabbar .o-icon { width: 1.5rem; height: 1.5rem; }
.o-help, .o-error { font-size: 0.8125rem; }
/* inputs: the body text is 15 px now, and several fields take their size from it (the sign-in forms, the report box). A field's text is never below 16 px, or iOS zooms the page on focus. The selector is
   deliberately heavier than any page rule (`.acct input[type=email]`, `.cm-act select`, `.rep textarea`), which load after this file. */
.o-page :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { font-size: max(16px, 1rem); }
/* A tap area is invisible and must never take a tap from another control's VISIBLE box (review H1: a small button's 44 px area covered the top 3 px of the "N projects · Details" row under it). The 44 px rows
   that follow buttons are positioned above them, so the row wins its own box; an area only ever wins in the empty space around its button. fd-density-1.test.mjs probes every control's edges. */
.s-sv__details > summary, .s-who { position: relative; z-index: 1; }

/* PW-1: the thin strip a signed-in page shows until the address is confirmed. Appended to /assets/shell.css ONLY with FD_ACCOUNTS=1 and FD_PASSWORDS=1. Quiet, one line on a phone. */
.shell-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: var(--o-space-1) var(--o-space-3); padding: var(--o-space-2) var(--o-gutter); background: var(--o-surface); border-bottom: 1px solid var(--o-line); color: var(--o-ink); font-size: var(--o-text-callout); line-height: 1.35; }
.shell-confirm p { margin: 0; flex: 1 1 14rem; }
.shell-confirm form { margin: 0; }
.shell-confirm button, .shell-confirm a { border: 0; background: transparent; padding: var(--o-space-1) 0; min-height: 2.25rem; color: var(--o-ink); font: inherit; font-weight: var(--o-weight-bold); text-decoration: underline; text-decoration-color: var(--o-accent); text-decoration-thickness: 3px; text-underline-offset: 3px; cursor: pointer; }
/* PV-1: the thin line under the top bar on every page of an invite-only preview (FD_PREVIEW=1). Appended to /assets/shell.css by shell/assets.mjs ONLY with the preview on (shell.css itself
   is untouched, so with the switch off every byte of it is as before). The look of the confirm-email strip (accounts-pw-bar.css): the surface tone, a hairline under it, the ink colour,
   design tokens only (so dark mode follows). It wraps to a second line on a narrow phone; it never overflows. */
.shell-preview { padding: var(--o-space-1) var(--o-gutter); background: var(--o-surface); border-bottom: 1px solid var(--o-line); color: var(--o-ink); font-size: var(--o-text-meta); line-height: 1.4; overflow-wrap: anywhere; }
.shell-preview p { margin: 0; }

/* NAV-PINS-1: tab bar pins (the bars, Everything, Replace which?, Edit tab bar, the press-and-hold sheet). Appended to shell.css only with FD_SOCIAL=1 and FD_NAV_PINS=1 (every page with the tab bar loads
   shell.css). Tokens only; no new colour. The bar with no pins draws none of these classes. */

/* ---- the phone's bottom bar: a pin is a small picture and a small mono label (the fixed tabs keep no label) ---- */
.np-tabbar .np-tab { gap: 3px; padding-inline: 2px; }
.np-tile { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: var(--o-radius-md); background: var(--o-surface); color: var(--o-ink-2); overflow: hidden; }
.np-tile .o-icon { width: 1.375rem; height: 1.375rem; stroke-width: 1.9; }
.np-tile--cover { background: var(--o-surface-2); box-shadow: inset 0 0 0 1px var(--o-line); }
.np-tile--cover svg { display: block; width: 100%; height: 100%; }
.np-tab .np-tile { width: 1.5rem; height: 1.5rem; border-radius: var(--o-radius-sm); background: transparent; color: inherit; }
.np-tab .np-tile .o-icon { width: 1.5rem; height: 1.5rem; }
.np-tab .np-tile--cover { background: var(--o-surface-2); }
.np-tab__label { display: block; max-width: 100%; font-family: var(--o-font-mono); font-size: 0.625rem; font-weight: var(--o-weight-medium); line-height: 1.1; color: var(--o-ink-2); }
.np-tabbar .np-tab[aria-current="page"] .np-tab__label { color: var(--o-ink); }
.np-tabbar .np-tab[aria-current="page"] .np-tile--cover { box-shadow: 0 0 0 2px var(--o-accent-mark); }
.np-tabbar .np-tab[aria-current="page"]::after { bottom: auto; top: 0; }   /* the lime mark sits above a pin: its label takes the place under it */
[data-np-pinned] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
[data-np-row] { -webkit-touch-callout: none; }   /* review L5: a row's text can be selected and copied; only the phone's link preview gives way to press and hold */

/* ---- the wide top bar: pins are links after Search ---- */
.np-navlink { gap: var(--o-space-2); max-width: 12rem; }
.np-navlink__text { min-width: 0; }
.np-mini { display: inline-grid; place-items: center; flex: none; width: 1.25rem; height: 1.25rem; border-radius: var(--o-radius-xs); overflow: hidden; color: inherit; }
.np-mini .o-icon { width: 1.125rem; height: 1.125rem; }
.np-mini--cover { box-shadow: inset 0 0 0 1px var(--o-line); }
.np-mini--cover svg { display: block; width: 100%; height: 100%; }

/* ---- Everything, Replace which?, Edit tab bar ---- */
.np-wrap { max-width: 40rem; margin: 0 auto; padding: var(--o-space-3) var(--o-gutter) var(--o-space-4); }
.np-line { color: var(--o-ink-2); font-size: var(--o-text-callout); line-height: var(--o-leading-snug); }
.np-editlink { color: var(--o-ink); font-weight: var(--o-weight-semibold); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.np-done { margin-top: var(--o-space-3); grid-template-columns: minmax(0, 1fr); }
.np-sec { margin-top: var(--o-space-5); }
.np-h2 { font-size: var(--o-text-headline); font-weight: var(--o-weight-bold); line-height: var(--o-leading-tight); }
.np-list { margin: var(--o-space-1) 0 0; padding: 0; list-style: none; }
.np-row, .np-edrow { display: flex; align-items: center; gap: var(--o-space-3); min-height: 3.5rem; border-bottom: 1px solid var(--o-line); }
.np-row__open { display: flex; flex: 1 1 auto; align-items: center; gap: var(--o-space-3); min-width: 0; min-height: var(--o-tap); padding-block: var(--o-space-2); color: var(--o-ink); text-decoration: none; }
.np-row__text { display: grid; flex: 1 1 auto; min-width: 0; }
.np-row__text b { font-weight: var(--o-weight-semibold); }
.np-row__text small { margin-top: 1px; font-size: var(--o-text-meta); color: var(--o-ink-2); }
.np-row__pin { flex: none; }
.np-pinbtn { min-width: 4.25rem; border-radius: var(--o-radius-full); }
.np-pinbtn--on { color: var(--o-ink); background: var(--o-surface-2); }
.np-row--held { background: var(--o-accent-tint); }
.np-note { padding: var(--o-space-3) 0; border-bottom: 1px solid var(--o-line); color: var(--o-ink-2); font-size: var(--o-text-callout); }
.np-note .o-btn { margin-left: var(--o-space-2); }
.np-t3 { margin-top: var(--o-space-3); font-family: var(--o-font-mono); font-size: var(--o-text-meta); line-height: var(--o-leading-snug); color: var(--o-ink-2); }
.np-fieldset { margin: var(--o-space-3) 0 0; padding: 0; border: 0; min-width: 0; }
.np-choice { display: flex; align-items: center; gap: var(--o-space-3); min-height: 3.5rem; border-bottom: 1px solid var(--o-line); cursor: pointer; }
.np-actions { display: grid; gap: var(--o-space-2); margin-top: var(--o-space-5); }
.np-edrow { padding-block: var(--o-space-2); }
.np-edrow--fixed .o-listrow__value { flex: none; }
.np-tile--me { background: var(--o-surface-2); color: var(--o-ink); font-weight: var(--o-weight-bold); }
.np-ops { display: flex; flex: none; gap: var(--o-space-1); }
.np-op { display: contents; }
.np-opbtn { padding: 0; }
.np-opbtn[disabled] { opacity: 0.4; cursor: default; }
.np-more { margin-top: var(--o-space-4); }
.np-searchrow { margin: var(--o-space-2) 0; padding-inline: var(--o-gutter); border-block: 1px solid var(--o-line); }
.np-searchrow small { display: block; margin-top: 1px; font-family: var(--o-font-mono); font-size: var(--o-text-meta); font-weight: var(--o-weight-regular); color: var(--o-ink-2); }
.np-searchrow .s-row__go { color: var(--o-ink-3); }

/* ---- the press-and-hold (and right-click) sheet: a native <dialog> opened with showModal (focus stays inside, Escape closes it) ---- */
dialog.np-sheet { inset: auto 0 0 0; width: auto; max-width: none; margin: 0; border: 0; color: var(--o-ink); }
dialog.np-sheet::backdrop { background: var(--o-scrim); }
.np-sheet .o-sheet__head { align-items: flex-start; flex-direction: column; gap: 0; }
.np-sheet .o-menu__item { width: 100%; border-left: 0; border-right: 0; border-top: 0; background: transparent; font: inherit; font-size: var(--o-text-body); cursor: pointer; text-decoration: none; }
.np-sheet .o-menu__item:focus-visible { outline: var(--o-focus-width) solid var(--o-focus); outline-offset: -2px; }
.np-sheet__cancel { margin-top: var(--o-space-2); }
@media (min-width: 900px) {
  dialog.np-sheet { inset: 0; width: min(22rem, calc(100% - 2 * var(--o-gutter))); margin: auto; max-height: calc(100% - 4rem); border-radius: var(--o-radius-xl); animation: none; }
  .np-sheet .o-sheet__grabber { display: none; }
}
