/* The Office's shell (Gondolin 2.0, Batch 01 · O01, O04, O05, O06; Vikrant, 28 Oct 2026): Menu, Home and Clearance in
   the bar; the desks in a labelled menu — a rail beside the page on a wide screen, a drawer on the iPad and a laptop —
   and a search over the page. Written on the house's tokens alone. Burgundy marks the action and where you are; nothing
   here is red, since nothing here is an exception. Every target is a thumb's 44, and every focus shows. */

/* The bar's own pieces, beside the wordmark and at the right. */
.bar-menu {
  display: inline-flex; align-items: center; gap: 10px; box-sizing: border-box; height: 44px; padding: 0 16px;
  border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--ink);
  font: inherit; font-size: .95rem; cursor: pointer; white-space: nowrap;
}
.bar-menu svg { width: 18px; height: 18px; flex: none; }
.bar-menu .bm-rail { display: none; }
.bar-menu:hover { border-color: var(--ink); }
/* The bar stands on the page's own edges (7 Nov 2026): the chevron on the title's line, the name's last letter on the cards'
   right edge. The redrawn pages keep 16 on a phone, 28 from 761 and 40 beside the rail, and the bar stood 16, 18 and 18, so
   the two never met. A page wider than its column is centred, and has no edge near the screen's to meet; the bar keeps 28. */
.office-bar { --bar-edge: 28px; padding-inline: var(--bar-edge); }
@media (max-width: 760px) { .office-bar { --bar-edge: 16px; } }
/* Back wears one dress at every width (7 Nov 2026, named by the blind readers of every page redrawn that week): the
   house's way back, a burgundy chevron and word in the formal face with no box, as the trail says it and as a paper's
   Back is a quiet word set apart from the acts, since it is a way out rather than a thing done. It had three dresses:
   the bare word beside the rail, a box in Lato and ink with the rail folded and on the iPad, the box with the chevron
   alone under 1100. Only the word gives way, in the two-rowed bar; the 44 stays the thumb's however little is drawn. A
   finger draws no tile: on a phone the rose stood flush against the wordmark, in the ground that says where you are.
   The chevron is heavier than its word, since on a phone it stands alone. */
.office-bar .nav-back {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; width: auto; height: 44px; margin-left: -4px; padding: 0 10px 0 4px;
  border-color: transparent; border-radius: 8px; background: none; color: var(--wine); font-family: var(--formal); font-size: .95rem;
  line-height: 1; letter-spacing: 0; text-transform: none;
}
.office-bar .nav-back:hover { border-color: transparent; background: none; color: var(--wine-deep); }
.office-bar .nav-back-chev { display: inline; position: relative; top: -1px; font-size: 1.6rem; font-weight: 600; }
.office-bar .nav-back-word { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.office-bar .topbar-nav { margin-left: 12px; flex: 1 1 auto; justify-content: flex-start; }
/* The wordmark is the way home, a thumb's 44 tall like every act beside it, its words where they stood (4 Nov 2026, the
   blind reader: it was 28 tall on a phone, 40 on the iPad). It keeps 22 from Menu, its 12 and the row's 10, as Back's word
   keeps 22 from it: on the iPad Back stood 22 off and Menu 11, and the three read as one lump (7 Nov 2026). */
.office-bar .wordmark { min-height: 44px; justify-content: center; margin-right: 12px; }
.bar-link {
  display: inline-flex; align-items: center; box-sizing: border-box; height: 44px; padding: 0 18px; border-radius: 8px;
  color: var(--wine); font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.bar-link:hover { background: var(--wine-soft); }
.bar-link.is-here { background: var(--wine-soft); font-weight: 600; }   /* where you are: burgundy on rose, and in words for a screen reader */
/* The trail, where a page gives one (29 Oct 2026): where it was opened from, a way back, and where it is. Shown only
   while the rail stands; the rail then holds Home and Clearance, so the bar does not say them twice, nor Back. Since
   31 Oct 2026 the bar leaves them to the rail on every page, a trail or none: the Home said Clearance four times. */
.bar-trail { display: none; align-items: center; gap: 10px; min-width: 0; margin-left: -4px; font-size: .95rem; white-space: nowrap; }
.bar-trail a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 4px; margin-right: -10px; border-radius: 8px; color: var(--wine); text-decoration: none; }   /* the thumb's room runs under the gap, so every slash stands evenly between its words (13 Nov 2026) */
.bar-trail a:hover { color: var(--wine-deep); }
.bar-trail span { color: var(--quiet); }
.bar-trail a span { position: relative; top: -1px; color: inherit; font-size: 1.6rem; font-weight: 600; line-height: 1; }   /* Back's own chevron */
.bar-trail b { overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 600; }
.bar-trail .bar-group { overflow: hidden; text-overflow: ellipsis; color: var(--soft); }   /* the menu's group: a word, not a way back (13 Nov 2026) */
@media (min-width: 1400px) {
  .has-office-shell:not(.rail-folded) .bar-trail { display: inline-flex; }
  .has-office-shell:not(.rail-folded) .topbar-nav .bar-link,
  .has-office-shell:not(.rail-folded) .office-bar:has(.bar-trail) .nav-back { display: none; }
  /* Back and the trail start from the same place: the trail had stood 24px in from Back, after the empty left of the bar
     and its gap. */
  .has-office-shell:not(.rail-folded) .office-bar:has(.bar-trail) .topbar-left { display: none; }
  .has-office-shell:not(.rail-folded) .office-bar .topbar-nav { margin-left: 0; }
  .has-office-shell:not(.rail-folded) .office-bar { --bar-edge: 40px; }   /* the page's gutter beside the rail */
}
/* The strip scrolls and gives way for the tools and the name, never the other way: a long name, or larger type, fell to
   a second row from 901 to 1180 and the bar stood 110 tall (7 Nov 2026). */
.office-bar .topbar-right { flex: none; }
.office-tools { display: flex; align-items: center; gap: 8px; }
.ot-search {
  display: inline-flex; align-items: center; gap: 10px; box-sizing: border-box; height: 44px; min-width: clamp(0px, 100vw - 980px, 220px); padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--soft);
  font: inherit; font-size: .95rem; cursor: pointer;
}
.ot-search svg { width: 18px; height: 18px; flex: none; }
.ot-search:hover { border-color: var(--ink); }
.ot-key { margin-left: auto; font: inherit; font-family: var(--plain); font-size: .8rem; color: var(--quiet); }   /* a label, in the act's box */
.ot-help {
  box-sizing: border-box; height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: none;
  color: var(--wine); font: inherit; font-size: .95rem; cursor: pointer;
}
.ot-help:hover { background: var(--wine-soft); }
/* The name is the word it is (7 Nov 2026, the blind readers of every page redrawn that week): a rose stadium in bold Lato
   was the bar's loudest mark and the only rose on a page with no place to mark. Rose is the ground that says where you
   are, and the pill and that weight are struck (1 Nov 2026). So a word in the formal face and the bar's burgundy, at the
   weight of Library and Help beside it, with no box and no ground, since it opens something as they do and the bar has
   one dress for a word that acts: it opens on Back's word and closes on this one. A finger deepens it and draws no tile,
   as on Back; an open list says it is open, as an open H stays as it was (2 Nov 2026). Its 44 runs 12 out towards the
   screen's edge so the word ends on the bar's edge, and the list it opens is held back those 12. The masters and the
   Boutique keep the top bar's own. */
.office-bar .me-menu { margin-right: -13px; }
.office-bar .nav-me {
  min-width: 44px; height: 44px; padding: 0 12px 0 4px; border-color: transparent; border-radius: 8px; background: none; color: var(--wine);
  font-family: var(--formal); font-size: .95rem; font-weight: 400; line-height: 42px; letter-spacing: 0; text-align: right;
}
.office-bar .me-menu[open] .nav-me { background: none; color: var(--wine); }
.office-bar .nav-me:hover { background: none; color: var(--wine-deep); }
/* The firm in hand stands under the name, the line beneath a name and so in Lato, in the soft ink, as the second row sets it
   on a tablet, in the same face: beside the name it cost the
   strip 88, so that from 901 to about 1130 Clearance was cut at the strip's edge, by as much as 67 of its 108, and at 1180 it took
   Registers out of the bar (7 Nov 2026). The name's line keeps its dot where a master carries it. */
.office-bar .nav-dot { display: none; }
@media (min-width: 901px) {
  .office-bar .nav-me:has(.nav-firm) { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; line-height: 1.2; }
  .office-bar .nav-firm { color: var(--soft); font-family: var(--plain); font-size: .9rem; }
}
/* What the name opens is in the same dress: its acts in the formal face, a thumb's 44, a finger drawing the paper as the
   drawer's rows do, where a gold ground stood. The firm in hand is the one rose in it, since that is where you are; the
   pills and the small capitals are struck. The width holds the three firms on one row, since one choice broken over two
   reads as two; on a phone it runs from gutter to gutter, as the H's box does there, so no strip of the page is left
   standing beside it and its edges are the title's and the cards'. Sign out is a batch of its own: the rest are places
   to go, and it leaves. */
.office-bar .me-list { right: 13px; min-width: 324px; box-shadow: 0 12px 30px rgba(42, 37, 33, .18); }
.office-bar .me-list > form:last-child { border-top: 1px solid var(--rule); }
.office-bar .me-list a, .office-bar .me-list button { display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding-block: 0; font-family: var(--formal); font-size: .95rem; }
.office-bar .me-list a:hover, .office-bar .me-list button:hover { background: var(--paper); color: var(--ink); }
.office-bar .me-firm { gap: 6px; padding: 8px 12px 12px; }
.office-bar .me-firm-word { color: var(--soft); font-size: .84rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.office-bar .me-list .me-firm button { width: auto; padding: 0 12px; border-color: var(--rule); border-radius: 8px; color: var(--ink); font-weight: 400; }
.office-bar .me-list .me-firm button:hover { border-color: var(--ink); background: var(--surface); }
.office-bar .me-list .me-firm button.is-on { border-color: var(--wine-soft); background: var(--wine-soft); color: var(--wine); font-weight: 600; }
/* The H on the Office wears the house's act (7 Nov 2026): the 8px corner, the serif, an edge. A ring round a bold Lato H
   stood beside the name as an account's initial (the H's reader, 4 Nov 2026), and it was the one circle in a bar of 8px
   tiles. It wears the rule's edge as Menu and Search do, one dress wherever it stands: a wine edge was the one wine box in
   the bar, and the strongest mark on a quiet page, for the least-used act, and the wine letter is all it needs to be
   found (the bar's readers, 7 Nov 2026). Where it floats a soft lift keeps it off the card under it. The Boutique's floor
   shares `h.css` and keeps its own dress and faces. The list the name opens drops over the row where a phone's H stands,
   and covers it until it closes: the H stood on Working in. */
.has-office-shell .h-button { border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); box-shadow: 0 2px 8px rgba(42, 37, 33, .12); font: 600 1.1rem var(--formal, "Source Serif 4", "Times New Roman", Times, serif); }
.is-in-the-bar .h-button { box-shadow: none; }
.has-office-shell .h-button:hover, .has-office-shell .h-button:focus-visible { border-color: var(--wine); background: var(--wine); }
/* On a phone what the two marks open runs from gutter to gutter, and the H's box stands a breath under the bar's rule. */
@media (max-width: 760px) {
  .office-bar .me-list { min-width: calc(100vw - 32px); }
  .h-help.is-in-the-bar .h-box { top: 58px; width: calc(100vw - 32px); }
}
.has-office-shell:has(.me-menu[open]) .h-help { z-index: 10; }
.office-bar :focus-visible, .office-rail :focus-visible, .office-drawer :focus-visible, .office-search :focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }

/* The menu, the same list in the rail and in the drawer: the workspaces alone, each a link to its own page (30 Oct 2026).
   Three parts (29 Oct 2026): Home, Clearance and the Registers held at the top, the workspaces between, Keys and the
   signature held at the foot. Where you are is a rose ground with a burgundy edge — the page, or the workspace it is in. */
.om { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.om-fixed { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px 10px; border-bottom: 1px solid var(--rule); }
.om-scroll { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px 16px; }
.om-foot { flex: none; padding: 8px 12px 18px; border-top: 1px solid var(--rule); }
.om-top {
  display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 0 14px; border-radius: 8px;
  color: var(--ink); font-size: .96rem; font-weight: 500; text-decoration: none;
}
.om-top:hover { background: var(--surface); }
.om-top.is-here { background: var(--wine-soft); color: var(--wine); font-weight: 600; box-shadow: inset 3px 0 0 var(--wine); border-radius: 0 8px 8px 0; }   /* the edge a straight line: on the 8px corner it curled round (10 Nov 2026, the 5F read) */
.gondolin { display: flex; align-items: center; gap: 10px; margin: 10px 14px 0; color: var(--quiet); font-size: 1rem; font-weight: 500; letter-spacing: .02em; }   /* the platform's signature, in the quiet ink: in wine it read as a link beside Keys, and it opens nothing (10 Nov 2026) */
.gondolin svg { width: 22px; height: 22px; flex: none; }
.or-head .wordmark-main, .od-head .wordmark-main { font-size: 1.4rem; }
/* With a mouse the rows close up to 40, and stay a thumb's 44 under a finger. */
@media (pointer: fine) {
  .om-top { min-height: 40px; }
}

/* The drawer, under Menu: over the page, which waits behind it until it closes. */
.office-drawer {
  box-sizing: border-box; width: 350px; max-width: calc(100vw - 24px); height: 100dvh; max-height: none;
  margin: 0; padding: 0; inset: 0 auto 0 0; border: 0; background: var(--surface); color: var(--ink);
  box-shadow: 0 0 40px rgba(42, 37, 33, .25);
}
.office-drawer[open] { display: flex; flex-direction: column; }
.office-drawer::backdrop { background: rgba(42, 37, 33, .35); }
.od-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px var(--between-batches) 26px; }   /* a batch's room under the wordmark, so it never reads as one wine block with the row lit beneath it (10 Nov 2026) */
.od-close {
  flex: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface);
  color: var(--ink); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.od-body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.office-drawer .om-top:hover { background: var(--paper); }   /* the drawer is the surface already */

/* The rail, on a wide screen: the same menu standing beside the page, so Menu is not needed there. Below 1400px — the
   iPad Air 13" is 1366 — the drawer serves, and the page keeps its whole width.
   It folds away (Vikrant, 29 Oct 2026): the mark in its corner slides it off to the left and the page takes the room;
   the bar then reads as it does on the iPad, the wordmark and Menu, and Menu — wearing the same mark — brings the rail
   back. Folded is this screen's choice and stays until it is undone. */
.office-rail { display: none; }
.or-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 20px 14px var(--between-batches) 26px; }   /* as the drawer's head */
.or-fold {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid transparent; border-radius: 8px; background: none; color: var(--soft); cursor: pointer;
}
.or-fold svg { width: 20px; height: 20px; }
.or-fold:hover { border-color: var(--rule); background: var(--surface); color: var(--ink); }
@media (min-width: 1400px) {
  .office-rail {
    display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 25; box-sizing: border-box;
    width: 264px; overflow: hidden; background: var(--paper); border-right: 1px solid var(--rule);   /* only its middle scrolls */
    transition: transform .2s ease;
  }
  body.has-office-shell { padding-left: 264px; transition: padding-left .2s ease; }
  .has-office-shell:not(.rail-folded) .bar-menu, .has-office-shell:not(.rail-folded) .office-bar .wordmark { display: none; }
  .bar-menu .bm-lines { display: none; }
  .bar-menu .bm-rail { display: block; }
  /* Hidden as well as moved, once it has gone, so a Tab never lands on a menu nobody can see. */
  .rail-folded .office-rail { transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
  body.has-office-shell.rail-folded { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .office-rail, body.has-office-shell { transition: none; }
}

/* The search, over the page. */
.office-search {
  box-sizing: border-box; width: 640px; max-width: calc(100vw - 32px); max-height: 76dvh; margin: 12vh auto auto; padding: 0;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); color: var(--ink);
  box-shadow: 0 24px 60px rgba(42, 37, 33, .28);
}
.office-search[open] { display: flex; flex-direction: column; }
.office-search::backdrop { background: rgba(42, 37, 33, .3); }
.os-field { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); }
.os-field:focus-within { box-shadow: inset 0 -2px 0 var(--wine); }   /* the field's own focus, since the input draws none */
.office-search .os-input:focus-visible { outline: none; }
.os-field svg { width: 20px; height: 20px; flex: none; color: var(--soft); }
.os-input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.1rem; outline: none; }
.os-esc { flex: none; padding: 2px 8px; border: 1px solid var(--rule); border-radius: 6px; font: inherit; font-size: .78rem; color: var(--quiet); }
.os-results { overflow-y: auto; padding: 4px 8px; }
.os-results:empty { display: none; }
.os-group { margin: 0; padding: 12px 12px 4px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.os-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; min-height: 44px;
  padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none;
}
.os-item small { color: var(--soft); font-size: .88rem; }
.os-item[aria-selected="true"] { background: var(--wine-soft); color: var(--wine); }
.os-more { margin: 0; padding: 8px 12px 10px; font-size: .88rem; color: var(--soft); }
.os-more a, .os-again { color: var(--wine); }
/* A client or a piece (O05): two lines, a piece with its photograph; a group's count beside its name. */
.os-item.is-two { min-height: 60px; padding: 8px 12px; }
.os-two { display: flex; align-items: center; gap: 12px; min-width: 0; }
.os-two > span { display: flex; flex-direction: column; min-width: 0; }
.os-two b { font-weight: 500; }
.os-how { color: var(--wine); }   /* how a client is tied to the one named, or the order they are on */
.os-thumb { flex: none; width: 44px; height: 44px; overflow: hidden; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.os-thumb img { width: 100%; height: 100%; object-fit: cover; }
.os-group { display: flex; justify-content: space-between; }
.os-group em { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; }
.os-none, .os-failed { margin: 0; padding: 4px 12px 8px; font-size: .92rem; color: var(--soft); }
.os-failed { color: var(--ink); }
.os-again { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.os-keys { display: flex; gap: 18px; margin: 0; padding: 0 18px 14px; font-size: .82rem; color: var(--quiet); }
.os-empty { margin: 0; padding: 18px; }
.os-scope { margin: 0; padding: 12px 18px 16px; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--soft); }

/* On glass Search never says Ctrl K, a key a touch screen does not have (31 Oct 2026). */
@media (pointer: coarse) {
  .ot-key { display: none; }
}
/* Search draws in with the window, from its full 220 at 1200 to its own word by 1085, so the strip keeps the same room all the
   way down. At its full width the bar went to two rows at 1024 and left Registers no room from 1100; drawn in at one width, it
   left a hole beside it just under that width (7 Nov 2026, the blind reader). Its key needs 160 of box. */
@media (max-width: 1139px) {
  .ot-key { display: none; }
}
/* Under 1024px, until the bar turns two-rowed at 900, the name fell to a second row, and at 960 Clearance stood 9 from Search
   (7 Nov 2026): Library leaves, as on a phone, the Library being the front page. On the page's edges a long name took Home with it
   to 1020. */
@media (max-width: 1023px) and (min-width: 901px) {
  .office-bar .ot-library { display: none; }
}
/* Larger type is a narrower window. These widths are the window's, and type grown by the reader's own setting takes room they
   cannot see: Clearance was cut by as much as 78 (7 Nov 2026, the blind reader). An em in a media query follows that setting and
   never the page, so 56.25em is the two-rowed bar's 900 in the reader's own type. At the house's type it is never met; with
   larger type Menu and Search wear their marks sooner, as they do at 900. */
@media (max-width: 56.25em) and (min-width: 901px) {
  .bar-menu { width: 44px; padding: 0; justify-content: center; }
  .bar-menu span, .ot-word, .ot-key { display: none; }
  .ot-search { min-width: 0; width: 44px; padding: 0; justify-content: center; }
}
/* Narrower than a laptop: the bar's words give way to their marks; the rail never shows here. Every target in the Office's
   bar stays a thumb's 44 (31 Oct 2026, the home's blind read: they had shrunk to 32 and 36), and the two rows stand 8 from
   the top, 8 apart and 8 from the foot, 112 in all: the first stood 2 from the top with 10 under it, pressed to the edge of
   the screen (the blind readers, 7 Nov 2026).
   The second row scrolls away with the page and the first stays (Vikrant, 21 Nov 2026: "Yes, house-wide, after the
   guide"): stuck whole, the two rows and a page's own row under them, the guide's parts, took a fifth of a phone. So the
   bar sticks 52 above the screen, the strip's 44 and the 8 over it, and the first row's two halves stick at the top inside
   it, on a ground of their own, the row's 44 and the 8 above it: the strip slides up under them and is back when the page
   is at its top. The ground ends where the row does, so at the page's top a ring round Home or Clearance is never cut by
   it (the blind reader, the same day). They span both rows so the bar holds the room to slide them in, the first row kept
   at its 44. What stays is 8, 44 and 8, the 60 a page's own sticky parts stand under as --topbar. At every width the bar
   has two rows, the small iPad held upright too (Vikrant chose it, the same day).
   Once the page has left its top the row's words fade, and the H at its end with them, on one clock (shell.js marks the
   bar): a row stopped part way stood with its words sliced at the first row's edge, and the H had gone while they were
   still half there (the blind reader). A key brought into the row, or onto its H, brings the whole bar back, its words
   and its H, and the page's own sticky parts step down under it, so focus is never drawn where it cannot be seen. */
@media (max-width: 900px) {
  body.has-office-shell { --topbar: 60px; }
  .office-bar { top: -52px; grid-template-rows: 44px auto; max-height: 112px; padding-top: 8px; }
  .office-bar::before { content: ""; grid-area: 1 / 1 / 3 / -1; align-self: start; position: sticky; top: 0; z-index: 1; height: 52px; margin: -8px calc(-1 * var(--bar-edge)) 0; background: var(--surface); }
  .office-bar > .topbar-left, .office-bar > .topbar-right { grid-row: 1 / 3; align-self: start; position: sticky; top: 8px; z-index: 2; }
  .office-bar .topbar-nav > * { transition: opacity .2s ease; }
  .office-bar.is-off-the-top .topbar-nav > * { opacity: 0; pointer-events: none; }
  .has-office-shell:has(.office-bar.is-off-the-top) .h-help.is-in-the-bar:not(.is-open) .h-button { opacity: 0; pointer-events: none; }
  body.has-office-shell:has(.office-bar .topbar-nav :focus-visible, .h-help.is-in-the-bar .h-button:focus-visible) { --topbar: 112px; }
  .has-office-shell:has(.office-bar .topbar-nav :focus-visible, .h-help.is-in-the-bar .h-button:focus-visible) .office-bar { top: 0; }
  .has-office-shell:has(.office-bar .topbar-nav :focus-visible, .h-help.is-in-the-bar .h-button:focus-visible) .office-bar .topbar-nav > * { opacity: 1; pointer-events: auto; }
  .has-office-shell:has(.office-bar .topbar-nav :focus-visible, .h-help.is-in-the-bar .h-button:focus-visible) .h-help.is-in-the-bar .h-button { opacity: 1; pointer-events: auto; }
  .office-bar .topbar-left { min-height: 44px; }
  .bar-menu { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .bar-menu span, .ot-word, .ot-key { display: none; }
  .ot-search { min-width: 0; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .ot-help { height: 44px; padding: 0 8px; }
  /* The strip runs edge to edge, as the top bar draws it, and Home's word stands on the page's edge, under the chevron and
     over the title: its box stood there, and the word 14 inside, on no line of the row above or the page (the blind readers,
     7 Nov 2026). 13, since an H sits a pixel nearer its box than a title's first letter does. On Home the word's box is drawn,
     in rose, so the box takes the edge instead, level with the wordmark and the cards: hung out, it stood 3 from a phone's
     screen. */
  .office-bar .topbar-nav { margin-inline: calc(-1 * var(--bar-edge)); padding-inline: calc(var(--bar-edge) - 13px) var(--bar-edge); }
  .office-bar .topbar-nav:has(> .bar-link.is-here:first-child) { padding-left: var(--bar-edge); }
  .bar-link { height: 44px; padding: 0 14px; }
  /* Here the word gives way: Back is its chevron alone, on the title's 16px edge, its word still read aloud. Its 44 runs
     12 out towards the screen's edge and takes the gap beside it, 22 it no longer needs in the row now no box stands
     there, and that is the room that keeps the wordmark whole at 360 (7 Nov 2026). */
  .office-bar .nav-back { width: 44px; margin: 0 -10px 0 -12px; padding: 0 0 0 12px; }
  .office-bar .nav-back-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  /* Back, Menu and Search stay a thumb's 44 however short of room the row is (3 Nov 2026, the Release page's blind
     readers: at 360 in larger type they had been squeezed to 24). The wordmark and the name give way instead. The
     wordmark's type fits the room left between Back and Menu — 98 is what the two and their gaps take of the row, 6.5
     the wordmark's width to its type, a little over the 6.4 it measures — never larger than it was and never under 12px,
     and with less room than that it steps aside. The name ends in an ellipsis rather than take the 76 Back and Menu need
     side by side; as a block, since a box that clips sits off its row's baseline. Menu stands with Search and the name,
     10 apart, and the row's slack falls between the house and the tools: it stood alone in the middle at 390 and wider,
     with the hole on its right (the blind readers, 7 Nov 2026). However the room is shared the two groups stand 22 apart,
     more than twice the 10 inside each (the blind readers, 4 Nov 2026: with the wordmark fitted to its room the five
     buttons read as one row). */
  .office-bar { grid-template-columns: minmax(76px, 1fr) minmax(0, auto); column-gap: 10px; }
  .office-bar .nav-back, .bar-menu, .ot-search { flex: none; }
  .office-bar .topbar-left { container: bar-left / inline-size; }
  .office-bar .wordmark { min-width: 0; overflow: hidden; }
  .office-bar .wordmark-main { font-size: clamp(12px, (100cqi - 98px) / 6.5, 1.02rem); }
  .bar-menu { margin-left: auto; }
  /* The house's own lockup on a phone too, the same proportion on every screen (Vikrant, 6 Oct 2026): the top bar's narrow
     rule set it in small capitals, whose lower letters at 360 stood 3px tall. In capitals the same width reads taller. */
  .office-bar .wordmark-main, .od-head .wordmark-main { letter-spacing: .06em; text-transform: uppercase; font-variant-caps: normal; }
  .office-bar .topbar-right { flex-wrap: nowrap; gap: 10px; min-width: 0; }
  .office-bar .me-menu { min-width: 0; margin-left: 0; }
  .office-bar .nav-me { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .office-bar .topbar-nav > * { transition: none; }   /* as the H's own fade gives way (h.css) */
}
@container bar-left (max-width: 176px) {
  .office-bar .wordmark { display: none; }
}
/* Registers beside Clearance, wherever the strip has the room (Vikrant, 7 Nov 2026): with the rail folded, and on a tablet,
   the work most often opened stood a tap further off than the two beside it. On a phone it stays in Menu, since the row also
   holds the firm and the H. From 901 to 1366 the strip is what the name, the firm and the tools leave it, so it is asked its
   own width, and a link half cut at the strip's edge reads as a fault.
   What the strip must hold is asked as the links are drawn: their words in rem, which grow with the reader's type, and their
   18 a side and the 4 between in px, which do not, with 10 to spare, so 14 stand before Search. Said in rem alone the
   paddings grew with the type too: at 21px on the 13-inch iPad 18.75rem asked 394 of a strip of 381 where the three took
   344, and Registers left a bar that held it (the Gem fit's blind readers, 21 Nov 2026). The words' rem are their widths at
   16px in the bold of the one where you are, a little over.
   Where the three cannot stand, Home leaves first, the wordmark going home, and Clearance and Registers stand, neither having
   another door in the bar (Vikrant, 22 Nov 2026: "Home goes first"); a page with links of its own keeps Home, Registers
   having left it for them. Where those two cannot stand either, Registers leaves and Home stands again beside Clearance. */
@media (max-width: 760px) {
  .office-bar .bar-registers { display: none; }
}
@media (max-width: 1366px) and (min-width: 901px) {
  .office-bar .topbar-nav { container: bar-strip / inline-size; }
}
@container bar-strip (calc(8.75rem + 86px) <= width < calc(11.5rem + 126px)) {
  .office-bar .topbar-nav:has(> .bar-registers):not(:has(> :not(.bar-link, .bar-trail, .bar-firm))) > .bar-link:first-child { display: none; }
}
@container bar-strip (width < calc(8.75rem + 86px)) {
  .office-bar .bar-registers { display: none; }
}
/* Where the strip cannot hold both, Home leaves and Clearance stands whole: a rose box sliced by Search says nothing, the
   wordmark goes home, and Clearance has no other door in the bar (7 Nov 2026). 14 between Clearance and Search: at 12 a long
   name at 1024 stood them 6 apart (the blind reader, the same day). Asked as above, words and paddings apart: 12.75rem
   hid Home at 21px from a strip of 268, where the two took 231. */
@container bar-strip (width < calc(7.25rem + 86px)) {
  .office-bar .topbar-nav > .bar-link:first-child { display: none; }
}
/* A page that puts its own links in the strip keeps it for them: on a piece's page Registers pushed Back to the library out
   of sight at 1366, where it had stood whole. */
.office-bar .topbar-nav:has(> :not(.bar-link, .bar-trail, .bar-firm)) .bar-registers { display: none; }
/* The firm in hand beside the name ran 160 wide, so the wordmark left the first row altogether and Menu and Search slid 88
   to the left of where they stand with no firm chosen (the firm's blind reader, 7 Nov 2026). Where the bar has two rows the
   name stands alone and the firm goes to the second, at its far end, a word and no act: it says which books are open, and
   the name's list changes them (Vikrant chose it, the same day). */
.office-bar .bar-firm { display: none; }
@media (max-width: 900px) {
  .office-bar .nav-firm { display: none; }
  .office-bar .topbar-nav > .bar-firm { display: block; flex: 0 1 auto; min-width: 0; margin-left: auto; overflow: hidden; color: var(--soft); font: 400 .9rem/44px var(--plain); text-overflow: ellipsis; white-space: nowrap; }
}
/* The H stands at the end of the same row from here down: the word stops 12 short of its box, nearer and it read as the H's
   caption (the firm's reader, 7 Nov 2026). The strip's gaps give up 4 each while a firm is in hand: at 390 in larger type the
   word was short of whole. */
@media (max-width: 760px) {
  .office-bar .topbar-nav:has(.bar-firm) { gap: 4px; }
  .office-bar .topbar-nav > .bar-firm { margin-right: 56px; }
}
/* A phone: the first row holds the house, Menu, Search and the name. Help leaves the bar, the H in the corner being the
   same help, and so does Library, the Library being the front page; with them the tools ran over Menu (31 Oct 2026). */
@media (max-width: 600px) {
  .office-bar .ot-library, .office-bar .ot-help { display: none; }
}
