/* Brick Work shell, page chrome that is not the shell bar itself. The bars (top bar, sub row, phone bar, tab bar) are the B′ frames' own CSS, generated into
   brickwork/b-prime.css (#492); the sidebar, the group sheets and the old header are gone. */
:root{--tw-topbar-h:60px;--bw-sub-h:44px;--tw-tabbar-h:78px;--bw-bars:calc(var(--tw-topbar-h) + var(--bw-sub-h) + var(--tw-safe-top));--bw-bottom:0px}
@media(max-width:1023.98px){:root{--tw-topbar-h:56px;--bw-sub-h:40px;--bw-bottom:calc(var(--tw-tabbar-h) + var(--tw-safe-bottom))}}
.layout:where(:not(.b-prime,.b-prime *)){display:block;min-height:calc(100dvh - var(--bw-bars))}
.layout>main:where(:not(.b-prime,.b-prime *)){min-width:0;padding:32px;max-width:none;width:100%}
.theme-segments:where(:not(.b-prime,.b-prime *)){display:flex;gap:2px;padding:2px;background:var(--tw-surface);border-radius:10px}
.theme-segments button:where(:not(.b-prime,.b-prime *)){flex:1;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--tw-text-2);display:grid;grid-auto-flow:column;gap:6px;place-items:center;justify-content:center;border-radius:8px}
.theme-segments button[aria-pressed=true]:where(:not(.b-prime,.b-prime *)){background:var(--tw-accent-soft);color:var(--tw-text)}
dialog:where(:not(.b-prime,.b-prime *)){background:var(--tw-sheet-bg);border:var(--tw-sheet-edge);box-shadow:none;animation:shell-sheet 240ms var(--tw-ease)}
dialog:where(:not(.b-prime,.b-prime *))::backdrop{background:var(--tw-scrim)}
.tw-dark dialog:where(:not(.b-prime,.b-prime *)){--tw-surface:var(--tw-surface-2)}
@media(prefers-color-scheme:dark){:root:not(.tw-light) dialog:where(:not(.b-prime,.b-prime *)){--tw-surface:var(--tw-surface-2)}}
@keyframes shell-sheet{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
.system-page:where(:not(.b-prime,.b-prime *)){max-width:560px;margin:56px auto;display:grid;gap:20px}
.system-page h1:where(:not(.b-prime,.b-prime *)),.system-page p:where(:not(.b-prime,.b-prime *)){margin:0}
.system-code:where(:not(.b-prime,.b-prime *)){color:var(--tw-danger);font-family:var(--tw-mono)}
@media(prefers-reduced-motion:reduce){*:where(:not(.b-prime,.b-prime *)),*:where(:not(.b-prime,.b-prime *))::before,*:where(:not(.b-prime,.b-prime *))::after{animation:none!important;transition:none!important}}
.jump-search-row:where(:not(.b-prime,.b-prime *)){display:flex;align-items:center;gap:8px}
.jump-search-field:where(:not(.b-prime,.b-prime *)){flex:1;min-width:0;height:48px;border-radius:10px;background:var(--tw-surface);outline:1px solid var(--tw-accent-text);display:flex;align-items:center;gap:10px;padding:0 14px;box-sizing:border-box}
.jump-search-field .icon:where(:not(.b-prime,.b-prime *)){width:20px;height:20px;color:var(--tw-text-muted);flex:none}
#global-jump #jump-query:where(:not(.b-prime,.b-prime *)){flex:1;min-width:0;min-height:0;width:100%;border:0;background:none;padding:0;font:400 16px var(--tw-font);color:var(--tw-text)}
#global-jump .jump-cancel:where(:not(.b-prime,.b-prime *)){height:44px;min-height:44px;padding:0 4px;border:0;background:none;color:var(--tw-accent-text);font:500 15px var(--tw-font)}
#jump-message:empty:where(:not(.b-prime,.b-prime *)){display:none}
@media(max-width:767.98px){
 #global-jump:where(:not(.b-prime,.b-prime *)){position:fixed;inset:0;box-sizing:border-box;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:var(--tw-bg);padding:calc(12px + var(--tw-safe-top)) max(20px,env(safe-area-inset-right,0px)) calc(12px + var(--tw-safe-bottom)) max(20px,env(safe-area-inset-left,0px))}
 #global-jump>.stack:where(:not(.b-prime,.b-prime *)){gap:20px}
}/* UI-P6 · shared Tools & Admin page header (Manage 5b/7e): back link on the phone, title and one line below. */

.bw-page-head:where(:not(.b-prime,.b-prime *)){display:flex;flex-direction:column;gap:4px;margin:0}
.bw-page-head h1:where(:not(.b-prime,.b-prime *)){margin:0;font:600 22px/28px var(--tw-font);letter-spacing:-.2px}
.bw-page-head p:where(:not(.b-prime,.b-prime *)){margin:0;font:400 14px/20px var(--tw-font);color:var(--tw-text-muted)}
main .bw-back:where(:not(.b-prime,.b-prime *)){display:none;align-items:center;gap:2px;height:44px;min-height:44px;margin:-8px 0 -4px -4px;color:var(--tw-accent-text);font:500 15px var(--tw-font);text-decoration:none}
main .bw-page-head .bw-back:where(:not(.b-prime,.b-prime *)){margin-bottom:0}
@media(max-width:767px){main .bw-back:where(:not(.b-prime,.b-prime *)){display:inline-flex}main>.bw-back:where(:not(.b-prime,.b-prime *)){margin-bottom:-16px}}
@media(min-width:768px){.bw-page-head h1:where(:not(.b-prime,.b-prime *)){font-size:28px;line-height:34px}}
.bw-label:where(:not(.b-prime,.b-prime *)){margin:0;font:500 11px/14px var(--tw-font);letter-spacing:.1em;text-transform:uppercase;color:var(--tw-text-2)}/* UI-P6 · system pages (Manage 7f). */

.system-page:where(:not(.b-prime,.b-prime *)){max-width:560px;margin:0;padding:48px 4px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.system-page h1:where(:not(.b-prime,.b-prime *)){font:600 22px/28px var(--tw-font);letter-spacing:-.2px}
.system-page .system-lead:where(:not(.b-prime,.b-prime *)){font:400 15px/22px var(--tw-font);color:var(--tw-text-2)}
.system-page .actions:where(:not(.b-prime,.b-prime *)){margin-top:8px}
.system-page .actions .button:where(:not(.b-prime,.b-prime *)){height:48px;min-height:48px;padding:0 24px;border-radius:10px;font:600 16px var(--tw-font);display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.system-page .actions .button.primary:where(:not(.b-prime,.b-prime *)){background:var(--tw-accent);color:var(--tw-on-accent);border:.5px solid var(--tw-accent)}
.system-page .actions .button:not(.primary):where(:not(.b-prime,.b-prime *)){background:none;border-color:transparent;color:var(--tw-accent-text);font-weight:500;font-size:14px}
.system-code:where(:not(.b-prime,.b-prime *)){font:400 12px/16px var(--tw-mono);color:var(--tw-danger)}
.system-trace:where(:not(.b-prime,.b-prime *)){margin:0;max-width:100%;box-sizing:border-box;background:var(--tw-surface);border-radius:12px;padding:12px;font:400 12px/18px var(--tw-mono);color:var(--tw-text-2);white-space:pre-wrap;overflow-wrap:anywhere}
.jump-whatis:where(:not(.b-prime,.b-prime *)) { display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--tw-accent-text);font:500 14px var(--tw-font);text-decoration:none; }/* A missing picture in a small tile (a list row's 56 px thumbnail, #284): the number on one line, the note smaller under it, both inside the tile.
   The tiles of the app's lists and workbench share this rule; a tile of 96 px or more keeps its own sizes. */

.bc-picture:where(:not(.b-prime,.b-prime *)),.bw-picture:where(:not(.b-prime,.b-prime *)),.check-picture:where(:not(.b-prime,.b-prime *)),.scan-tile:where(:not(.b-prime,.b-prime *)) { container-type:inline-size; }
@container (max-width:80px) {
  .mono:not(img):where(:not(.b-prime,.b-prime *)),.mono:not(img)+span:where(:not(.b-prime,.b-prime *)) { max-width:100%;box-sizing:border-box;padding:0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center; }
  .mono:not(img):where(:not(.b-prime,.b-prime *)) { font-size:11px !important;line-height:14px !important; }/* !important: the pages' own `.mono` rules (one with an id) set 12 px */
   .mono:not(img)+span:where(:not(.b-prime,.b-prime *)) { font-size:9px !important;line-height:12px !important; }
}
.footer:where(:not(.b-prime,.b-prime *)){padding:20px 32px}
@media(max-width:1023.98px){body{padding-bottom:var(--bw-bottom)}.layout>main:where(:not(.b-prime,.b-prime *)){padding:24px 20px}.footer:where(:not(.b-prime,.b-prime *)){padding:20px 20px calc(20px + var(--bw-bottom))}}/* B′ parts of the shell. The Jump dialog in B′ (#501 T10, R2-01 shell): tokens only, the layout, the results and every control stay. The dialog sits outside the
   `.b-prime` scope, so it takes the components here: radius 8 and a hairline, the field (one text-muted hairline, the focus ring on the
   field, not on the input inside it), results as hairline rows instead of cards, the picture on the white tile, the chosen copy violet soft
   with a violet bar (as a selected storage row). Colours only from the tokens; dark follows from them. */


#global-jump:not(#_):where(:not(.b-prime,.b-prime *)) {border:1px solid var(--tw-divider);border-radius:var(--tw-r-2);background:var(--tw-bg);box-shadow:none;color:var(--tw-text)}
#global-jump:not(#_) .jump-search-field:where(:not(.b-prime,.b-prime *)) {height:44px;border:1px solid var(--tw-text-muted);border-radius:var(--tw-r-1);background:var(--tw-field);outline:0}
#global-jump:not(#_) .jump-search-field:focus-within:where(:not(.b-prime,.b-prime *)) {outline:2px solid var(--tw-focus-color);outline-offset:2px}
#global-jump:not(#_) #jump-query:where(:not(.b-prime,.b-prime *)) {outline:0;box-shadow:none;border:0;background:none}
#global-jump:not(#_) #jump-query:where(:not(.b-prime,.b-prime *))::placeholder {color:var(--tw-text-muted);opacity:1}
#global-jump:not(#_) .jump-cancel:where(:not(.b-prime,.b-prime *)) {font:600 14px var(--tw-font)}
#global-jump:not(#_) #jump-message:where(:not(.b-prime,.b-prime *)) {font:400 13px var(--tw-mono),ui-monospace,monospace;color:var(--tw-text-2)}
#global-jump:not(#_) #jump-results:where(:not(.b-prime,.b-prime *)) {gap:0;border-top:1.5px solid var(--tw-rule)}
#global-jump:not(#_) #jump-results:empty:where(:not(.b-prime,.b-prime *)) {border-top:0}
#global-jump:not(#_) .jump-result:where(:not(.b-prime,.b-prime *)) {padding:12px 0;border:0;border-bottom:1px solid var(--tw-divider);border-radius:0;background:transparent}
#global-jump:not(#_) .jump-result h3:where(:not(.b-prime,.b-prime *)) {margin:0;font:600 16px/1.3 var(--tw-font);color:var(--tw-text)}
#global-jump:not(#_) .jump-result-head .mono:where(:not(.b-prime,.b-prime *)) {font:400 12px var(--tw-mono),ui-monospace,monospace;color:var(--tw-text-2)}
#global-jump:not(#_) .jump-image:where(:not(.b-prime,.b-prime *)) {width:56px;height:56px;padding:4px;box-sizing:border-box;border-radius:var(--tw-r-1);background:var(--tw-tile);color:var(--tw-tile-ink);font:400 11px/1.2 var(--tw-font);text-align:center}
#global-jump:not(#_) .jump-image img:where(:not(.b-prime,.b-prime *)) {width:100%;height:100%;object-fit:contain}
#global-jump:not(#_) .jump-copy:where(:not(.b-prime,.b-prime *)) {margin-top:6px;padding:8px 12px;border-radius:0;box-shadow:inset 1.5px 0 0 var(--tw-divider)}
#global-jump:not(#_) .jump-copy:hover:where(:not(.b-prime,.b-prime *)) {background:var(--tw-surface)}
#global-jump:not(#_) .jump-copy.selected:where(:not(.b-prime,.b-prime *)) {background:var(--tw-accent-soft);box-shadow:inset 3px 0 0 var(--tw-accent)}
#global-jump:not(#_) .jump-copy:focus-visible:where(:not(.b-prime,.b-prime *)) {outline:2px solid var(--tw-focus-color);outline-offset:-2px}
#global-jump:not(#_) .jump-copy strong:where(:not(.b-prime,.b-prime *)) {font:600 14px var(--tw-font)}
#global-jump:not(#_) .jump-copy .secondary:where(:not(.b-prime,.b-prime *)) {font:400 13px var(--tw-font);color:var(--tw-text-2)}
@media(max-width:767.98px) {
  #global-jump:not(#_):where(:not(.b-prime,.b-prime *)) {border:0;border-radius:0}
}/* Module states (#501 T10, R2-04 status: shape and a word), on a set's and an item's Prices card: while a price refresh runs its line is a
   dashed box; a failed refresh is the danger word; a stale price says "stale" in a dashed ink tag. No colour carries a state alone. */


#bw-collection:is([data-b-detail],[data-b-copy]):not(#_):not(#_) [data-module=prices][aria-busy=true] [data-bc-fetch-status]:not(:empty,[data-state=error]):where(:not(.b-prime,.b-prime *)),#bw-collection:is([data-b-detail],[data-b-copy]):not(#_):not(#_) [data-bc-fetch-scope][aria-busy=true] [data-bc-fetch-status]:not(:empty,[data-state=error]):where(:not(.b-prime,.b-prime *)) {padding:8px 10px;border:1.5px dashed var(--tw-text-muted);border-radius:var(--tw-r-1);color:var(--tw-text-2)}
#bw-collection:is([data-b-detail],[data-b-copy]):not(#_):not(#_) :is([data-bc-fetch-status],[data-module=prices] p[role=status])[data-state=error]:where(:not(.b-prime,.b-prime *)) {color:var(--tw-danger);font-weight:600}
#bw-collection:is([data-b-detail],[data-b-copy]):not(#_):not(#_) :is(.bc-stale,.bc-partout-stale):where(:not(.b-prime,.b-prime *)) {display:inline-flex;align-items:center;height:18px;padding:0 5px;border:1.5px dashed var(--tw-text);border-radius:3px;color:var(--tw-text);font:600 10px var(--tw-font-label);letter-spacing:.08em;text-transform:uppercase;vertical-align:1px}
