{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "styles",
  "title": "App stylesheet",
  "description": "The Tailwind entry point every block in this kit is built against: design tokens, layout rules for the work shell and casework screens, and the document preview chrome. Files of this type are placed verbatim at a fixed path rather than merged through an alias, since a stylesheet does not belong under the components, lib, ui or hooks aliases the rest of this registry uses.",
  "dependencies": [
    "tailwindcss@4.3.3",
    "tw-animate-css@1.4.0",
    "shadcn@4.21.0",
    "@fontsource-variable/public-sans@5.3.0",
    "@fontsource/ibm-plex-mono@5.3.0"
  ],
  "files": [
    {
      "path": "styles/styles.css",
      "content": "@import \"tailwindcss\";\n@import \"tw-animate-css\";\n@import \"shadcn/tailwind.css\";\n/* The Registry Stack website's typefaces, bundled with the app so they load\n   under the host's same-origin font policy. */\n@import \"@fontsource-variable/public-sans\";\n@import \"@fontsource/ibm-plex-mono/400.css\";\n@import \"@fontsource/ibm-plex-mono/600.css\";\n@source \"../../apps/*/src/**/*.{ts,tsx}\";\n@source \"../**/*.{ts,tsx}\";\n@source not \"../test\";\n@import \"./work-shell.styles.css\";\n@import \"./document-preview.styles.css\";\n@import \"./dashboard.styles.css\";\n@import \"./tokens.css\";\n\n/* Square corners by default, as on the Registry Stack website. Every\n   rounded-* utility and every component built on them reads --radius, so\n   an adopter who sets it rounds the whole kit at once. */\n@theme inline {\n  --radius-xs: var(--radius);\n  --radius-sm: var(--radius);\n  --radius-md: var(--radius);\n  --radius-lg: var(--radius);\n  --radius-xl: var(--radius);\n  --radius-2xl: var(--radius);\n  --radius-3xl: var(--radius);\n  --radius-4xl: var(--radius);\n}\n\n/* Soft shadows for raised layers: hover, menus, dialogs. Tailwind's\n   shadow-xs to shadow-lg read the brand's elevation tokens, so every\n   copied component casts the same four shadows. */\n@theme inline {\n  --shadow-xs: var(--elevation-xs);\n  --shadow-sm: var(--elevation-sm);\n  --shadow-md: var(--elevation-md);\n  --shadow-lg: var(--elevation-lg);\n}\n\n/* Identifiers (item references and support references) are set in mono, so\n   a reference read out or copied matches character for character. */\n@theme {\n  --font-mono:\n    \"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n}\n\n@theme inline {\n  --color-ring: var(--ring);\n  --color-input: var(--input);\n  --color-border: var(--border);\n  --color-destructive: var(--destructive);\n  --color-accent-foreground: var(--accent-foreground);\n  --color-accent: var(--accent);\n  --color-muted-foreground: var(--muted-foreground);\n  --color-muted: var(--muted);\n  --color-secondary-foreground: var(--secondary-foreground);\n  --color-secondary: var(--secondary);\n  --color-primary-foreground: var(--primary-foreground);\n  --color-primary: var(--primary);\n  --color-popover-foreground: var(--popover-foreground);\n  --color-popover: var(--popover);\n  --color-card-foreground: var(--card-foreground);\n  --color-card: var(--card);\n  --color-foreground: var(--foreground);\n  --color-background: var(--background);\n}\n\n:root {\n  font-family: var(--font-sans);\n  color: var(--foreground);\n  background: var(--canvas);\n  font-synthesis: none;\n  text-rendering: optimizeLegibility;\n}\n@layer base {\n  /* Tailwind's own default border colour is currentColor; shadcn's\n     components expect the theme's border tone, as its stock base sets. */\n  * {\n    box-sizing: border-box;\n    border-color: var(--border);\n  }\n  body {\n    margin: 0;\n  }\n  ::selection {\n    background: var(--primary);\n    color: var(--primary-foreground);\n  }\n  a {\n    color: inherit;\n    text-decoration: none;\n  }\n}\n/* The application's own rules sit in the components layer: above the\n   base resets, below Tailwind utilities, so a utility on a component\n   always wins over a rule here. Kept unindented so history stays\n   readable; the layer closes at the end of this file. */\n@layer components {\nbutton,\na,\ninput,\nselect,\ntextarea {\n  -webkit-tap-highlight-color: transparent;\n}\nbutton:not(:disabled),\nselect {\n  cursor: pointer;\n}\na:focus-visible,\nbutton:focus-visible,\nselect:focus-visible,\nsummary:focus-visible {\n  outline: 3px solid var(--ring);\n  outline-offset: 3px;\n}\nh1,\nh2,\nh3,\np {\n  margin-block-start: 0;\n}\nh1,\nh2,\nh3 {\n  letter-spacing: -0.01em;\n}\nh1 {\n  font-size: var(--type-title);\n  font-weight: var(--weight-title);\n  line-height: var(--leading-tight);\n  letter-spacing: var(--tracking-title);\n  margin-block-end: 1rem;\n  max-width: 22ch;\n}\nh1:focus {\n  outline: none;\n}\nh2 {\n  font-size: var(--type-lg);\n  font-weight: var(--weight-strong);\n  line-height: 1.45;\n  margin-block-end: 1.2rem;\n}\nh3 {\n  font-size: var(--type-md);\n  font-weight: var(--weight-strong);\n}\np {\n  line-height: 1.65;\n  margin-block-end: 1rem;\n}\nfieldset {\n  border: 0;\n  margin: 0;\n  padding: 0;\n  min-width: 0;\n}\nlabel {\n  display: block;\n  font-size: var(--type-base);\n  font-weight: 600;\n  margin-block-end: 0.5rem;\n}\nsvg {\n  flex-shrink: 0;\n}\nmain {\n  min-width: 0;\n}\nmain:focus {\n  outline: none;\n}\n.muted {\n  color: var(--muted-foreground);\n  font-size: var(--type-base);\n}\n.eyebrow {\n  text-transform: uppercase;\n  font-size: var(--type-xs);\n  font-weight: 650;\n  letter-spacing: var(--tracking-eyebrow);\n  color: var(--eyebrow-foreground);\n  margin-block-end: 0.9rem;\n  overflow-wrap: anywhere;\n}\n.lead {\n  color: var(--muted-foreground);\n  font-size: var(--type-md);\n  max-width: 66ch;\n  margin-block-end: 0;\n}\n.topbar {\n  height: var(--header-height);\n  border-block-end: 1px solid var(--border);\n  background: var(--topbar);\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: var(--space-4);\n  padding-inline: var(--page-padding-inline);\n}\n.brand {\n  display: flex;\n  align-items: center;\n  gap: 0.7rem;\n  font-weight: 650;\n  font-size: var(--type-body-sm);\n  flex-wrap: wrap;\n}\n.beta {\n  font-family: var(--font-mono);\n  font-size: var(--type-xs);\n  font-weight: 600;\n  letter-spacing: 0.06em;\n  border: 1px solid var(--border-beta);\n  padding: 0.2rem 0.35rem;\n  border-radius: var(--radius-badge);\n  color: var(--beta-foreground);\n}\n.account {\n  display: flex;\n  gap: 1.3rem;\n  align-items: center;\n  font-size: var(--type-xs);\n}\n.account div {\n  display: flex;\n  flex-direction: column;\n  gap: 0.2rem;\n}\n.account strong {\n  font-size: var(--type-sm);\n}\n.account span {\n  font-size: var(--type-xs);\n  color: var(--muted-foreground);\n}\n.language-switch {\n  display: flex;\n  align-items: center;\n  gap: 0.4rem;\n  color: var(--muted-foreground);\n}\n.language-switch select {\n  width: auto;\n  min-height: 44px;\n  padding: 0.3rem 0.7rem;\n  border-radius: var(--radius);\n  color: var(--foreground);\n  font-size: var(--type-sm);\n}\n/* The signed-in service shell: a dark sidebar beside a column that holds the\n   header and the page. */\n.shell {\n  min-height: 100vh;\n  display: grid;\n  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);\n  background: var(--canvas);\n}\n.shell-column {\n  display: flex;\n  flex-direction: column;\n  min-width: 0;\n}\n.shell-column > .topbar {\n  position: sticky;\n  inset-block-start: 0;\n  z-index: 30;\n}\n.crumb {\n  margin: 0;\n  color: var(--muted-foreground);\n  font-size: var(--type-xs);\n}\n.sidebar {\n  background: var(--sidebar);\n  color: var(--sidebar-foreground);\n  border-inline-end: 1px solid var(--sidebar-border);\n  padding: var(--space-5) var(--space-4);\n  display: flex;\n  flex-direction: column;\n}\n.sidebar .brand {\n  flex-wrap: nowrap;\n  color: var(--primary-foreground);\n  font-size: var(--type-lg);\n  font-weight: 700;\n  line-height: 1.25;\n  letter-spacing: -0.02em;\n}\n.sidebar .brand-mark {\n  fill: var(--sidebar-brand-mark);\n}\n.sidebar .beta {\n  color: var(--sidebar-muted);\n  border-color: var(--sidebar-divider);\n}\n/* The workspace name sits between two rules, as a label for the navigation\n   below it. It is a paragraph: the sidebar landmark holds no heading. */\n.sidebar .workspace {\n  margin: var(--space-5) 0 var(--space-4);\n  padding-block: var(--space-4);\n  border-block: 1px solid var(--sidebar-divider);\n  color: var(--primary-foreground);\n  font-size: var(--type-md);\n  font-weight: var(--weight-strong);\n  line-height: 1.3;\n}\n.sidebar nav {\n  display: flex;\n  flex-direction: column;\n  gap: 2px;\n}\n.sidebar nav > a {\n  display: flex;\n  align-items: center;\n  gap: 0.7rem;\n  padding: 0.7rem 0.75rem;\n  border-radius: var(--radius-control);\n  font-size: var(--type-sm);\n  color: var(--sidebar-foreground);\n  min-height: 44px;\n}\n.sidebar nav > a[aria-current=\"page\"] {\n  background: var(--sidebar-active);\n  color: var(--sidebar-active-foreground);\n  font-weight: var(--weight-strong);\n}\n.sidebar nav > a:hover {\n  background: var(--sidebar-hover);\n}\n.sidebar nav > a[aria-current=\"page\"]:hover {\n  background: var(--sidebar-active);\n}\n.sidebar a:focus-visible {\n  outline-color: var(--focus-on-dark);\n}\n.nav-arrow {\n  margin-inline-start: auto;\n  display: none;\n}\n.sidebar nav > a[aria-current=\"page\"] .nav-arrow {\n  display: block;\n}\n.shell main {\n  padding: var(--page-padding-block) var(--page-padding-inline) 0;\n  max-width: 1580px;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n}\n.shell main > div:not(.notice) {\n  flex: 1;\n}\n.page-heading {\n  display: flex;\n  align-items: flex-start;\n  justify-content: space-between;\n  gap: var(--space-5);\n  margin-block-end: var(--space-6);\n}\n.page-heading > [data-slot=\"button\"],\n.page-heading > .actions {\n  margin-block-start: 0.6rem;\n}\n.page-heading .badge {\n  margin-block-start: 0.8rem;\n}\n.search-form {\n  display: flex;\n  align-items: end;\n  gap: var(--space-3);\n  margin-block-end: var(--space-5);\n  flex-wrap: wrap;\n}\n.search-form > div {\n  min-width: 220px;\n  max-width: 420px;\n  flex: 1;\n}\n.search-form input {\n  background: var(--background);\n}\n.search-form label {\n  font-size: var(--type-xs);\n}\n.table-wrap {\n  border: 1px solid var(--border);\n  border-radius: var(--radius-card);\n  overflow: auto;\n  /* Visually hidden text in a cell is absolutely positioned. Without a\n     positioned ancestor it escapes the scroll region's clip and widens the\n     page by the table's overflow. */\n  position: relative;\n  /* A soft edge shows on the side where more of the table lies out of view,\n     and fades once the region is scrolled to that end. Both sides are drawn,\n     so this holds whichever way the page reads. */\n  background:\n    linear-gradient(to right, var(--card) 30%, transparent) left / 2rem 100%\n      no-repeat local,\n    linear-gradient(to left, var(--card) 30%, transparent) right / 2rem 100%\n      no-repeat local,\n    linear-gradient(to right, rgb(0 0 0 / 0.16), transparent) left / 0.75rem\n      100% no-repeat scroll,\n    linear-gradient(to left, rgb(0 0 0 / 0.16), transparent) right / 0.75rem\n      100% no-repeat scroll,\n    var(--card);\n}\n/* At narrow widths the grid scrolls inside its focusable region instead of\n   squashing: columns keep readable widths (ui-defaults §6, spec §10). */\n.table-wrap table {\n  min-width: 34rem;\n}\n/* A scroll region's edge shadows sit over its content, so an opaque header\n   cell cannot hide them. The region's script sets the attributes while more\n   content lies past that edge. */\n.scroll-edge {\n  position: relative;\n  min-width: 0;\n}\n.scroll-edge::before,\n.scroll-edge::after {\n  content: \"\";\n  position: absolute;\n  inset-block: 0;\n  width: 1rem;\n  pointer-events: none;\n  opacity: 0;\n  transition: opacity 0.15s;\n}\n.scroll-edge::before {\n  inset-inline-start: 0;\n  background: linear-gradient(to right, rgb(0 0 0 / 0.22), transparent);\n}\n.scroll-edge::after {\n  inset-inline-end: 0;\n  background: linear-gradient(to left, rgb(0 0 0 / 0.22), transparent);\n}\n/* A page read right to left starts at the right, so each shadow darkens from\n   the other side. The page's direction is set on its root. */\n[dir=\"rtl\"] .scroll-edge::before {\n  background: linear-gradient(to left, rgb(0 0 0 / 0.22), transparent);\n}\n[dir=\"rtl\"] .scroll-edge::after {\n  background: linear-gradient(to right, rgb(0 0 0 / 0.22), transparent);\n}\n.scroll-edge[data-more-before]::before,\n.scroll-edge[data-more-after]::after {\n  opacity: 1;\n}\n/* An icon that points along the line points the other way on a page read right\n   to left: back, forward, the next place, signing out. One that points out of\n   the page is mirrored, so it keeps pointing up. A rotation the CLI adds for the\n   same reason sets the same property, so an icon never turns twice. */\n[dir=\"rtl\"]\n  :is(\n    .lucide-arrow-left,\n    .lucide-arrow-right,\n    .lucide-chevron-left,\n    .lucide-chevron-right,\n    .lucide-log-out\n  ) {\n  rotate: 180deg;\n}\n[dir=\"rtl\"] .lucide-arrow-up-right {\n  scale: -1 1;\n}\n@media (prefers-reduced-motion: reduce) {\n  .scroll-edge::before,\n  .scroll-edge::after {\n    transition: none;\n  }\n}\n/* The element rules below style the plain tables. A shadcn `Table` marks\n   each part with a `data-slot` and carries its own utilities, so these leave\n   it alone rather than leak padding, weight and colour into it. */\ntable:where(:not([data-slot])) {\n  width: 100%;\n  border-collapse: collapse;\n  text-align: start;\n  font-size: var(--type-base);\n}\nth:where(:not([data-slot])) {\n  background: var(--table-head);\n  color: var(--table-head-foreground);\n  font-size: var(--type-xs);\n  text-transform: uppercase;\n  letter-spacing: 0.08em;\n  font-weight: 650;\n  padding: 0.9rem 1.25rem;\n  white-space: nowrap;\n  /* Column labels sit over left-aligned data; centre only explicit .num. */\n  text-align: start;\n}\ntd:where(:not([data-slot])) {\n  padding: 1rem 1.25rem;\n  border-block-start: 1px solid var(--border-subtle);\n  max-width: 260px;\n  overflow-wrap: break-word;\n}\n/* A row header is data, not a column label: keep body sizing and colour. */\ntbody th:where(:not([data-slot])) {\n  background: transparent;\n  color: inherit;\n  font-size: inherit;\n  letter-spacing: normal;\n  font-weight: 650;\n  padding: 1rem 1.25rem;\n  border-block-start: 1px solid var(--border-subtle);\n  text-align: start;\n  white-space: normal;\n}\ntbody tr:hover > :where(td, th):where(:not([data-slot])) {\n  background: var(--row-hover);\n}\n.pager select {\n  width: auto;\n  min-width: 9rem;\n}\n.record-link {\n  color: var(--link-record);\n  font-weight: 650;\n}\n.record-link:hover {\n  text-decoration: underline;\n}\n.icon-link {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  min-width: 44px;\n  min-height: 44px;\n}\n.badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 0.35rem;\n  border: 1px solid var(--border-chip);\n  background: var(--chip);\n  color: var(--chip-foreground);\n  white-space: normal;\n  line-height: 1.4;\n  overflow-wrap: anywhere;\n  padding: 0.2rem 0.55rem;\n  border-radius: var(--radius-badge);\n  font-size: var(--type-xs);\n  font-weight: 650;\n}\n/* A dot in the badge's own colour marks its state without relying on the\n   colour alone: the label is always there beside it. */\n.badge::before {\n  content: \"\";\n  width: 6px;\n  height: 6px;\n  flex-shrink: 0;\n  border-radius: 50%;\n  background: currentColor;\n}\n.badge-submitted,\n.badge-revision-requested,\n.badge-changes-requested,\n.badge-approval-expired {\n  background: var(--warning);\n  border-color: var(--warning-border);\n  color: var(--warning-foreground);\n}\n.badge-rejected,\n.badge-cancelled,\n.badge-draft {\n  background: var(--draft);\n  border-color: var(--draft-border);\n  color: var(--draft-foreground);\n}\n.badge-applied,\n.badge-approved {\n  background: var(--success);\n  border-color: var(--success-border);\n  color: var(--success-foreground);\n}\n.badge-recorded-expired {\n  background: var(--expired);\n  border-color: var(--expired-border);\n  color: var(--expired-foreground);\n}\n.pager {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  gap: 1rem;\n  margin-block: 1.5rem;\n  color: var(--muted-foreground);\n  font-size: var(--type-sm);\n}\n.actions {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 0.65rem;\n}\n.action-unavailable {\n  display: inline-flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 0.5rem;\n}\n.card {\n  background: var(--card);\n  border: 1px solid var(--border);\n  border-radius: var(--radius-card);\n  padding: var(--space-5);\n  min-width: 0;\n}\n.detail-grid {\n  display: grid;\n  grid-template-columns: 1.4fr 1fr;\n  gap: var(--space-5);\n}\n.facts {\n  margin: 0;\n}\n.definition {\n  display: grid;\n  /* The label column is capped so a value stays beside its label on a wide\n     page; below 700px the whole list collapses to one column. */\n  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);\n  gap: var(--space-4);\n  border-block-end: 1px solid var(--border-definition);\n  padding-block: var(--space-4);\n  font-size: var(--type-base);\n}\n.definition:last-child {\n  border: 0;\n}\n.definition dt {\n  color: var(--muted-foreground);\n  font-size: var(--type-sm);\n}\n.definition dd {\n  margin: 0;\n  overflow-wrap: anywhere;\n  white-space: pre-wrap;\n}\n/* The record page: sections as cards under a heading band, with the history\n   in an aside beside them. Below 950px the aside drops under the sections. */\n.record-layout {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 19.5rem;\n  gap: var(--space-5);\n  align-items: start;\n}\n.record-layout-single {\n  grid-template-columns: minmax(0, 1fr);\n}\n.record-main,\n.record-aside {\n  display: grid;\n  gap: var(--space-5);\n  min-width: 0;\n}\n.record-main > p {\n  margin: 0;\n}\n@media (max-width: 950px) {\n  .record-layout {\n    grid-template-columns: minmax(0, 1fr);\n  }\n}\n.section-card {\n  padding: 0;\n}\n.section-card > h2 {\n  margin: 0;\n  padding: var(--space-4) var(--space-5);\n  border-block-end: 1px solid var(--border);\n  font-size: var(--type-md);\n}\n.section-card-body {\n  padding: var(--space-2) var(--space-5) var(--space-4);\n  min-width: 0;\n}\n.section-card .definition {\n  padding-block: var(--space-4);\n}\n.section-card .table-wrap {\n  margin-inline: calc(var(--space-5) * -1);\n}\n.related-bounds {\n  margin-block: var(--space-3) 0;\n}\n.related-all {\n  display: inline-flex;\n  align-items: center;\n  gap: var(--space-2);\n  margin-block: var(--space-3);\n  min-height: 44px;\n  color: var(--link);\n  font-size: var(--type-sm);\n  font-weight: 650;\n}\n.related-all:hover {\n  text-decoration: underline;\n}\n.scope-card {\n  background: var(--scope);\n}\n.scope-card h2 {\n  font-size: var(--type-xl);\n}\n.scope-card .muted {\n  margin-block-start: 2rem;\n  font-size: var(--type-xs);\n}\n.back-link {\n  display: inline-flex;\n  align-items: center;\n  gap: 0.5rem;\n  color: var(--muted-foreground);\n  font-size: var(--type-sm);\n  margin-block-end: 1.5rem;\n  min-height: 44px;\n  width: fit-content;\n}\n.back-link:hover {\n  text-decoration: underline;\n}\n.notice {\n  border: 1px solid var(--notice-border);\n  border-inline-start: 4px solid var(--accent-strong);\n  background: var(--notice);\n  border-radius: var(--radius-card);\n  padding: 1.25rem 1.5rem;\n  margin-block-end: 1.5rem;\n  font-size: var(--type-base);\n  overflow-wrap: anywhere;\n}\n/* A table's caption names it, so it is read before the rows. */\n.table-wrap caption {\n  caption-side: top;\n  margin: 0;\n  padding: 0.75rem 0.75rem 0.5rem;\n  text-align: start;\n}\n.notice h2,\n.notice-title {\n  font-size: var(--type-body-sm);\n  font-weight: var(--weight-strong);\n  line-height: 1.45;\n  margin-block-end: 0.5rem;\n}\n.notice p:last-child {\n  margin-block-end: 0;\n}\n.notice-warning {\n  border-color: var(--notice-warning-border);\n  border-inline-start-color: var(--notice-warning-accent);\n  background: var(--notice-warning);\n}\n.notice-success {\n  background: var(--notice-success);\n  border-color: var(--notice-success-border);\n}\n.notice .notice {\n  margin-block-start: 1rem;\n}\n.error-panel:focus {\n  outline: 3px solid var(--ring);\n  outline-offset: 3px;\n}\n.reference {\n  font-size: var(--type-xs);\n  overflow-wrap: anywhere;\n  color: var(--muted-foreground);\n}\n/* A secondary way to answer the same question, folded behind its summary. */\n.alternative {\n  margin-block-start: 1rem;\n}\n.alternative > summary {\n  cursor: pointer;\n  color: var(--muted-foreground);\n}\n.loading {\n  padding: 3rem 2rem;\n  display: flex;\n  align-items: center;\n  gap: 0.7rem;\n  color: var(--muted-foreground);\n}\n.loading-dot {\n  width: 8px;\n  height: 8px;\n  border-radius: 50%;\n  background: var(--accent-strong);\n}\n.empty-state {\n  border: 1px solid var(--border);\n  border-radius: var(--radius-card);\n  text-align: center;\n  padding: 4rem 2rem;\n  background: var(--card);\n}\n/* The icon sits in a tile, as a record's icon does. */\n.empty-state svg {\n  box-sizing: content-box;\n  display: block;\n  margin: 0 auto 1.2rem;\n  padding: 0.85rem;\n  border: 1px solid var(--border-icon);\n  border-radius: var(--radius-card);\n  background: var(--icon-surface);\n  color: var(--icon-foreground);\n}\n.empty-state h2 {\n  margin-block-end: 0.7rem;\n}\n.empty-state p {\n  color: var(--muted-foreground);\n  max-width: 52ch;\n  margin-inline: auto;\n}\n.form-card {\n  max-width: 900px;\n}\n.form-grid {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 0 var(--space-5);\n}\n.field {\n  margin-block-end: var(--space-5);\n}\n.field label {\n  font-size: var(--type-base);\n}\n.field-value {\n  line-height: 1.65;\n  margin-block-end: 1rem;\n}\n.field-hint {\n  font-size: var(--type-sm);\n  color: var(--muted-foreground);\n  margin-block-end: 0.6rem;\n}\n.field-error {\n  border-inline-start: 3px solid var(--destructive);\n  padding-inline-start: 1rem;\n}\n.field-error-message {\n  font-weight: 600;\n  color: var(--destructive-strong);\n  font-size: var(--type-sm);\n  margin-block-end: 0.6rem;\n}\n.optional {\n  font-weight: 400;\n  color: var(--muted-foreground);\n}\n.error-summary {\n  padding: 1.3rem;\n  border: 3px solid var(--destructive);\n  margin-block-end: 2rem;\n}\n.error-summary h2 {\n  color: var(--destructive-strong);\n  margin-block-end: 0.7rem;\n}\n.error-summary ul {\n  margin: 0;\n  padding-inline-start: 1.2rem;\n}\n.error-summary a {\n  color: var(--destructive-strong);\n  text-decoration: underline;\n  font-weight: 600;\n  font-size: var(--type-base);\n}\n.task-layout {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 280px;\n  gap: 1.5rem;\n}\n/* The task screens' card beside the form. */\n.context-card {\n  align-self: start;\n}\n.context-card h2 {\n  font-size: var(--type-lg);\n}\n.context-card .muted {\n  font-size: var(--type-xs);\n  margin-block-start: 1.5rem;\n}\n.comparison {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  border: 1px solid var(--border);\n  border-radius: 0;\n  overflow: hidden;\n  margin-block-end: 1.5rem;\n}\n.comparison > section {\n  min-width: 0;\n  padding: 1.2rem;\n  overflow-wrap: anywhere;\n  white-space: pre-wrap;\n}\n.comparison > section:first-child {\n  background: var(--comparison-current);\n  border-inline-end: 1px solid var(--border);\n}\n.comparison > section:last-child {\n  background: var(--comparison-proposed);\n}\n.comparison p:last-child {\n  margin: 0;\n  font-size: var(--type-base);\n}\nselect {\n  display: block;\n  min-height: 44px;\n  border: 1px solid var(--border);\n  border-radius: 0;\n  background: var(--background);\n  padding: 0.65rem;\n  width: 100%;\n  font: inherit;\n}\n.record-icon {\n  width: 40px;\n  height: 40px;\n  display: grid;\n  place-items: center;\n  border: 1px solid var(--border-icon);\n  border-radius: 0;\n  background: var(--icon-surface);\n  color: var(--icon-foreground);\n}\n.record-cards {\n  display: grid;\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n  gap: 1.3rem;\n}\n.record-card {\n  background: var(--card);\n  border: 1px solid var(--border);\n  border-radius: var(--radius-card);\n  padding: 1.6rem;\n  display: flex;\n  flex-direction: column;\n}\n.record-card:hover {\n  border-color: var(--border-hover);\n  box-shadow: var(--elevation-md);\n}\n.record-card-top {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-block-end: 1.6rem;\n}\n.record-card .eyebrow {\n  margin-block-end: 0.5rem;\n}\n.record-card h2 {\n  font-size: 1.35rem;\n  margin-block-end: 0.5rem;\n}\n.record-card > p:not(.eyebrow) {\n  color: var(--muted-foreground);\n  font-size: var(--type-sm);\n}\n.card-link {\n  justify-content: space-between;\n  font-size: var(--type-sm);\n}\n.text-link {\n  color: var(--link);\n  display: inline-flex;\n  align-items: center;\n  gap: 0.5rem;\n  font-weight: 600;\n}\n.text-link:hover {\n  text-decoration: underline;\n}\nfooter {\n  display: flex;\n  gap: 1rem;\n  justify-content: space-between;\n  border-block-start: 1px solid var(--border);\n  margin-block-start: 4rem;\n  padding-block: 1.5rem;\n  color: var(--footer-foreground);\n  font-family: var(--font-mono);\n  font-size: var(--type-xs);\n}\n.public-page {\n  min-height: 100vh;\n  display: flex;\n  flex-direction: column;\n}\n.public-content {\n  width: min(100%, 960px);\n  margin-inline: auto;\n  padding: 3rem 2rem 4rem;\n  flex: 1;\n}\n.public-content h1 {\n  max-width: 26ch;\n  font-size: var(--type-title);\n}\n.public-content > .page-heading,\n.public-content > .notice {\n  max-width: 720px;\n}\n.public-content .page-heading {\n  margin-block-end: 1rem;\n}\n.public-content > p:not(.eyebrow) {\n  max-width: 66ch;\n}\n.service-access {\n  margin-block-start: 2rem;\n  border-block-start: 1px solid var(--border);\n  padding-block-start: 1.5rem;\n  max-width: 720px;\n}\n.service-access p {\n  margin-block-end: 1.1rem;\n}\n.public-footer {\n  width: min(calc(100% - 4rem), 896px);\n  margin: 0 auto;\n  line-height: 1.7;\n  font-size: var(--type-sm);\n}\n.public-footer a {\n  color: var(--primary);\n  text-decoration: underline;\n}\n.queue-views {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 0.65rem;\n  margin-block-end: 1.5rem;\n}\n.queue-views [data-slot=\"button\"] {\n  transition: none;\n}\n.prose {\n  max-width: 760px;\n}\n.skip-link {\n  position: absolute;\n  inset-inline-start: 1rem;\n  inset-block-start: -100px;\n  background: var(--background);\n  padding: 1rem;\n  z-index: 50;\n}\n.skip-link:focus {\n  inset-block-start: 1rem;\n}\n.sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border: 0;\n}\n@media (max-width: 1000px) {\n  .shell {\n    grid-template-columns: 210px minmax(0, 1fr);\n  }\n  .sidebar {\n    padding: 1.7rem 1rem;\n  }\n  .task-layout {\n    grid-template-columns: 1fr;\n  }\n  .context-card {\n    order: -1;\n  }\n  .context-card .muted {\n    display: none;\n  }\n  .detail-grid {\n    grid-template-columns: 1fr;\n  }\n  .shell main {\n    padding: var(--space-5) var(--space-5) 0;\n  }\n  .form-grid {\n    grid-template-columns: 1fr;\n  }\n  .record-cards {\n    grid-template-columns: 1fr;\n  }\n}\n@media (max-width: 700px) {\n  .topbar {\n    height: auto;\n    min-height: 56px;\n    padding: 0.5rem 1rem;\n    flex-wrap: wrap;\n  }\n  .brand {\n    font-size: var(--type-md);\n  }\n  /* The language choice and the account actions wrap rather than push the\n     page sideways. */\n  .account {\n    margin-inline-start: auto;\n    gap: 0.4rem;\n    flex-wrap: wrap;\n    justify-content: flex-end;\n  }\n  .account div {\n    display: none;\n  }\n  .shell {\n    display: block;\n  }\n  .shell-column > .topbar {\n    position: static;\n  }\n  /* The sidebar becomes a dark band above the page: the brand, then the\n     places in a wrapped row. */\n  .sidebar {\n    border-inline-end: 0;\n    padding: 1rem;\n  }\n  .sidebar .workspace {\n    display: none;\n  }\n  .sidebar nav {\n    margin-block-start: 0.75rem;\n  }\n  .sidebar nav {\n    flex-direction: row;\n    gap: 0.4rem;\n    flex-wrap: wrap;\n  }\n  .sidebar nav > a {\n    font-size: var(--type-xs);\n    flex: 1;\n    justify-content: center;\n    padding: 0.7rem 0.45rem;\n    gap: 0.4rem;\n  }\n  .sidebar nav > a svg {\n    width: 16px;\n  }\n  .nav-arrow,\n  .sidebar nav > a[aria-current=\"page\"] .nav-arrow {\n    display: none;\n  }\n  .shell main {\n    padding: 1.6rem 1rem 0;\n  }\n  .page-heading {\n    flex-direction: column;\n    gap: 1rem;\n    margin-block-end: 1.5rem;\n  }\n  .page-heading h1 {\n    font-size: 2rem;\n  }\n  .page-heading .badge {\n    margin: 0;\n  }\n  .card {\n    padding: var(--space-4);\n  }\n  .definition {\n    grid-template-columns: minmax(0, 1fr);\n    gap: var(--space-1);\n  }\n  .comparison {\n    grid-template-columns: 1fr;\n  }\n  .comparison > section:first-child {\n    border-inline-end: 0;\n    border-block-end: 1px solid var(--border);\n  }\n  .pager {\n    align-items: start;\n    flex-direction: column;\n  }\n  .pager .actions {\n    width: 100%;\n    justify-content: space-between;\n  }\n  .public-content {\n    padding: 2rem 1rem 3rem;\n  }\n  .public-content h1 {\n    font-size: 2rem;\n  }\n  .public-footer {\n    width: calc(100% - 2rem);\n  }\n  .public-page .topbar > .text-link {\n    font-size: var(--type-xs);\n  }\n  .notice {\n    padding: 1rem;\n  }\n  .search-form > div {\n    min-width: 100%;\n  }\n  footer {\n    flex-direction: column;\n    gap: 0.5rem;\n  }\n  .shell-service .record-card {\n    padding: 1.25rem;\n  }\n  .back-link {\n    margin-block-end: 1rem;\n  }\n}\n@media (prefers-reduced-motion: reduce) {\n  * {\n    scroll-behavior: auto !important;\n    transition: none !important;\n    animation: none !important;\n  }\n}\n\n.current-licence-summary {\n  border-block-end: 1px solid var(--border);\n  padding-block-end: 1rem;\n  margin-block-end: 1.5rem;\n  overflow-wrap: anywhere;\n}\n.current-licence-summary p {\n  margin-block-end: 0.4rem;\n}\n\n.choice-field {\n  min-width: 0;\n}\n.choice-field legend,\n.field-label {\n  font-weight: 650;\n  margin-bottom: 0.5rem;\n}\n.checkbox-option {\n  display: flex;\n  align-items: flex-start;\n  gap: 0.75rem;\n  min-height: 44px;\n  padding: 0.6rem 0;\n  cursor: pointer;\n}\n.checkbox-option input {\n  flex: 0 0 auto;\n  width: 1.25rem;\n  height: 1.25rem;\n  margin-top: 0.15rem;\n  accent-color: var(--primary);\n}\n.checkbox-option input:focus-visible {\n  outline: 3px solid var(--primary);\n  outline-offset: 3px;\n}\n.value-list {\n  padding-inline-start: 1.25rem;\n  list-style: disc;\n  margin: 0.5rem 0 1rem;\n}\n.value-list li {\n  margin-bottom: 0.25rem;\n}\n/* What a landing page offers to start, above its list. */\n.landing-starts {\n  margin-bottom: 1.5rem;\n}\n/* A reference picker's matches: one bordered list of records to choose from. */\n.reference-options {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n.reference-options:not(:empty) {\n  border: 1px solid var(--border);\n  border-top: 0;\n}\n.reference-options li + li {\n  border-top: 1px solid var(--border);\n}\n.reference-options button {\n  display: block;\n  width: 100%;\n  min-height: 44px;\n  padding: 0.6rem 0.65rem;\n  border: 0;\n  background: var(--background);\n  font: inherit;\n  text-align: start;\n}\n.reference-options .reference-detail {\n  color: var(--muted-foreground);\n}\n.reference-options button:hover {\n  background: var(--panel-hover);\n}\n/* The repeating group's own add and remove buttons carry no component\n   class, so they are drawn here to read as buttons, not as plain text. */\n.group-item button,\n.group-item ~ button {\n  min-height: 36px;\n  padding: 0.4rem 0.85rem;\n  margin: 0.25rem 0 1rem;\n  border: 1px solid var(--foreground);\n  background: var(--background);\n  color: var(--foreground);\n  font: inherit;\n  font-weight: 500;\n}\n.group-item button:hover,\n.group-item ~ button:hover {\n  background: var(--panel-hover);\n}\n.value-object {\n  margin: 0.5rem 0 1rem;\n}\n.value-object dt {\n  font-weight: 650;\n}\n.value-object dd {\n  margin: 0 0 0.5rem;\n}\n.comparison h3 {\n  font-size: var(--type-base);\n  margin: 1rem 0 0.5rem;\n}\n\n/* Queue filters: a form row of label + select + button, then removable chips. */\n.filter-bar {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: end;\n  gap: 0.75rem;\n  margin-block-end: 1.25rem;\n}\n.filter-bar > div {\n  min-width: 200px;\n  max-width: 340px;\n}\n.filter-bar label {\n  font-size: var(--type-xs);\n}\n.filter-chips {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 0.5rem;\n  margin: 0 0 1rem;\n  padding: 0;\n  list-style: none;\n}\n.filter-chip {\n  display: inline-flex;\n  align-items: center;\n  gap: 0.3rem;\n  background: var(--chip);\n  border: 1px solid var(--border-chip);\n  border-radius: 0;\n  padding: 0.15rem 0.2rem 0.15rem 0.7rem;\n  font-size: var(--type-xs);\n  font-weight: 600;\n  color: var(--filter-foreground);\n}\n.filter-chip button {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  width: 24px;\n  height: 24px;\n  padding: 0;\n  border: 0;\n  border-radius: 0;\n  background: transparent;\n  color: inherit;\n  cursor: pointer;\n}\n.filter-chip button:hover {\n  background: var(--chip-hover);\n}\n.filter-chip button:focus-visible {\n  outline: 3px solid var(--ring);\n  outline-offset: 2px;\n}\n.clear-filters-link {\n  display: inline-flex;\n  align-items: center;\n  min-height: 24px;\n  color: var(--link);\n  font-size: var(--type-sm);\n  font-weight: 600;\n  text-decoration: underline;\n}\n.clear-filters-link:hover {\n  color: var(--primary);\n}\n.result-count {\n  color: var(--muted-foreground);\n  font-size: var(--type-sm);\n  margin-block-end: 1rem;\n}\n\n/* Queue table density and alignment. Dense padding keeps every interactive\n   target at or above 24 by 24 CSS pixels through the row link's own height. */\n.table-dense th,\n.table-dense td {\n  padding: 0.55rem 0.75rem;\n}\nth.num,\ntd.num {\n  text-align: end;\n  font-variant-numeric: tabular-nums;\n}\n.value-table-scroll {\n  overflow-x: auto;\n}\n.value-table-scroll[tabindex=\"0\"]:focus-visible,\n.table-wrap[tabindex=\"0\"]:focus-visible {\n  outline: 3px solid var(--ring);\n  outline-offset: 3px;\n}\n.row-link {\n  display: inline-flex;\n  align-items: center;\n  min-height: 24px;\n  color: var(--link-record);\n  font-weight: 650;\n}\n.row-link:hover {\n  text-decoration: underline;\n}\n\n/* Review screen: three-column comparison with a changed marker that is a\n   word plus colour, never colour alone. */\n.change-table {\n  border: 1px solid var(--border);\n  border-radius: var(--radius);\n  background: var(--card);\n  margin-block-end: 1.5rem;\n}\n.change-table th,\n.change-table td {\n  vertical-align: top;\n}\n.change-table th:first-child,\n.change-table td:first-child {\n  width: 20%;\n}\n.change-table .changed-cell {\n  background: var(--changed);\n  border-inline-start: 4px solid var(--changed-accent);\n}\n.change-table .changed-marker {\n  display: inline-block;\n  font-size: var(--type-xs);\n  font-weight: 700;\n  letter-spacing: 0.05em;\n  text-transform: uppercase;\n  color: var(--success-foreground);\n  background: var(--success);\n  border: 1px solid var(--success-border);\n  border-radius: 0;\n  padding: 0.08rem 0.35rem;\n  margin-block-start: 0.4rem;\n  white-space: nowrap;\n}\n.change-comparison { container-type: inline-size; }\n/* The comparison's controls stand clear of the table above and of the next\n   section's heading, which carries no top margin of its own. */\n.change-comparison > .actions { margin-block: 1.2rem 2rem; }\n.revision-next-step {\n  border-inline-start: 4px solid var(--primary);\n  padding: 1rem 1.25rem;\n  background: var(--paper);\n}\n/* A reviewer's note keeps the line breaks they wrote. */\n.revision-note { white-space: pre-wrap; }\n.change-answer { display: block; padding-inline: 0; text-decoration: underline; color: var(--primary); text-align: start; }\n/* Evidence narrows the reading column even on a large monitor. Put the field\n   name above its two values before labels start breaking into single letters. */\n@container (max-width: 42rem) {\n  /* Keep column associations available to assistive technology when the\n     visual labels move into each value cell. */\n  .change-table thead {\n    position: absolute;\n    width: 1px;\n    height: 1px;\n    padding: 0;\n    margin: -1px;\n    overflow: hidden;\n    clip-path: inset(50%);\n    white-space: nowrap;\n    border: 0;\n  }\n  .change-table, .change-table tbody { display: block; width: 100%; }\n  .change-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }\n  .change-table td { display: block; width: auto; border: 0; }\n  .change-table td:first-child { grid-column: 1 / -1; width: auto; font-weight: 600; }\n  .change-table .changed-marker { margin: 0 0 0 0.75rem; }\n  .change-table tr + tr { border-block-start: 1px solid var(--border); }\n  .change-table td[data-label]::before {\n    content: attr(data-label);\n    display: block;\n    margin-block-end: 0.35rem;\n    font-size: var(--type-xs);\n    font-weight: 650;\n    color: var(--table-head-foreground);\n  }\n}\n@container (max-width: 25rem) {\n  .change-table tr { grid-template-columns: minmax(0, 1fr); }\n}\n.muted-row td,\n.muted-row td .record-link {\n  color: var(--muted-foreground);\n}\n/* At phone widths the comparison stacks to one field per block, each side\n   named by its data-label, and the changed marker stays with the field\n   (spec §10: reflow never loses the marker). */\n@media (max-width: 30rem) {\n  .change-table,\n  .change-table tbody,\n  .change-table tr,\n  .change-table td {\n    display: block;\n    width: 100%;\n  }\n  .change-table tr {\n    border-block-start: 1px solid var(--border);\n  }\n  .change-table td {\n    border: 0;\n    padding-block-start: 0.35rem;\n  }\n  /* The comparison stacks to one field per block at this width, but the rule\n     that holds the field column to a fifth of the table is more specific than\n     the stacked block and would break a field name a character at a time.\n     Here the stacked name takes the row it is given. */\n  .change-table td:first-child {\n    width: 100%;\n  }\n  .change-table td[data-label]::before {\n    content: attr(data-label);\n    display: block;\n    font-size: var(--type-xs);\n    letter-spacing: 0.035em;\n    font-weight: 650;\n    color: var(--table-head-foreground);\n  }\n}\n\n/* Review screen: choice and confirmation. */\n.decision-radios,\n.decide-radios {\n  display: flex;\n  flex-direction: column;\n  gap: 0.6rem;\n  margin-block-end: 1.6rem;\n}\n.decision-radios label,\n.decide-radios label {\n  display: flex;\n  align-items: flex-start;\n  gap: 0.75rem;\n  margin: 0;\n  padding: 0.85rem 1rem;\n  min-height: 44px;\n  border: 1px solid var(--border);\n  border-radius: 0;\n  background: var(--card);\n  font-size: var(--type-base);\n  font-weight: 600;\n  cursor: pointer;\n}\n.decision-radios label:hover,\n.decide-radios label:hover {\n  border-color: var(--border-hover);\n}\n.decision-radios input,\n.decide-radios input {\n  flex: 0 0 auto;\n  width: 1.25rem;\n  height: 1.25rem;\n  margin-block-start: 0.15rem;\n  accent-color: var(--primary);\n}\n.decision-radios input:focus-visible,\n.decide-radios input:focus-visible {\n  outline: 3px solid var(--primary);\n  outline-offset: 3px;\n}\n.decision-radios .radio-hint,\n.decide-radios .radio-hint {\n  display: block;\n  margin-block-start: 0.2rem;\n  font-weight: 400;\n  font-size: var(--type-sm);\n  color: var(--muted-foreground);\n}\n.review-notes [role=\"radiogroup\"] {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 0 1.5rem;\n  margin-block-end: 0.75rem;\n}\n.review-notes [role=\"radiogroup\"] label {\n  display: inline-flex;\n  align-items: center;\n  gap: 0.5rem;\n  min-height: 44px;\n  cursor: pointer;\n}\n.review-notes [role=\"radiogroup\"] input {\n  width: 1.25rem;\n  height: 1.25rem;\n  accent-color: var(--primary);\n}\n.decision-confirm {\n  border: 1px solid var(--notice-border);\n  border-inline-start: 4px solid var(--accent-strong);\n  background: var(--notice);\n  border-radius: 0;\n  padding: 1.25rem 1.5rem;\n  margin-block-end: 1.5rem;\n}\n.decision-confirm h2,\n.decision-confirm h3 {\n  font-size: var(--type-body-sm);\n  margin-block-end: 0.6rem;\n}\n\n/* Casework: shared. The relative moment a Casework list prints, the request\n   rows, and the due-date block beside a row. */\n.casework-when {\n  white-space: nowrap;\n}\n.casework-when-late {\n  color: var(--destructive);\n  font-weight: 500;\n}\n.casework-when-today {\n  color: var(--warning-foreground);\n  font-weight: 500;\n}\n.request-list {\n  border: 1px solid var(--border);\n  border-radius: var(--radius);\n  background: var(--card);\n  overflow: hidden;\n}\n.request-row {\n  display: grid;\n  grid-template-columns: 40px minmax(0, 1fr) auto 18px;\n  gap: 1rem;\n  padding: 1.4rem;\n  align-items: center;\n  border-block-end: 1px solid var(--border);\n}\n.request-row:last-child {\n  border: 0;\n}\n.request-row:hover {\n  background: var(--row-hover);\n}\n.request-row h2 {\n  font-size: var(--type-body-sm);\n  margin-block-end: 0.4rem;\n}\n.request-row .eyebrow {\n  margin-block-end: 0.35rem;\n}\n.request-row .muted {\n  margin: 0;\n  font-size: var(--type-sm);\n}\n.casework-due {\n  display: flex;\n  align-items: center;\n  flex-wrap: wrap;\n  gap: 0.6rem;\n}\n.casework-due p {\n  margin: 0;\n}\n@media (max-width: 700px) {\n  .request-row {\n    grid-template-columns: 1fr auto;\n    padding: 1rem;\n  }\n  .request-row > .record-icon,\n  .request-row > svg {\n    display: none;\n  }\n  .request-row > div {\n    grid-column: 1/-1;\n  }\n  .request-row > .badge {\n    grid-row: 2;\n  }\n}\n\n/* Casework: review queue. The list itself is the shared table inside the\n   focusable, named `.table-wrap` region (its overflow rule follows this\n   layer); these rules cover only the Take next control with the reason it\n   cannot be used. */\n.casework-next {\n  display: flex;\n  flex-direction: column;\n  align-items: end;\n  gap: 0.4rem;\n}\n.casework-next p {\n  margin: 0;\n  max-width: 20rem;\n  font-size: var(--type-sm);\n  text-align: end;\n}\n@media (max-width: 700px) {\n  .casework-next {\n    align-items: start;\n  }\n  .casework-next p {\n    text-align: start;\n  }\n}\n\n/* Casework: shared reading parts. How a colleague prints, the history list\n   and the summary a confirmation step reads back, wherever a Casework screen\n   shows them. */\n/* A colleague is read as a name, or as the sentence naming them; the account\n   under it is there to be traced, and it is printed only when the name is not\n   already the account. */\n.casework-person {\n  display: inline-flex;\n  flex-direction: column;\n  gap: 0.1rem;\n}\n.casework-person-subject {\n  color: var(--muted-foreground);\n  font-size: var(--type-xs);\n}\n.history-list details {\n  margin-block-start: 0.4rem;\n}\n.history-list summary {\n  color: var(--muted-foreground);\n  cursor: pointer;\n  font-size: var(--type-base);\n}\n.confirmation-context {\n  border-block: 1px solid var(--border);\n  margin-block: 1rem 1.5rem;\n  padding-block: 0.35rem;\n}\n.confirmation-context > div {\n  display: grid;\n  grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.6fr);\n  gap: 1rem;\n  padding-block: 0.65rem;\n}\n.confirmation-context dt {\n  color: var(--muted-foreground);\n  font-size: var(--type-xs);\n}\n.confirmation-context dd {\n  margin: 0;\n  overflow-wrap: anywhere;\n}\n.history-list {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n/* A timeline: a dot on a line for each state the record has held. */\n.history-list li {\n  position: relative;\n  padding-block: 0 var(--space-4);\n  padding-inline-start: var(--space-5);\n}\n.history-list li::before {\n  content: \"\";\n  position: absolute;\n  inset-block-start: 0.45rem;\n  inset-inline-start: 0;\n  width: 0.625rem;\n  height: 0.625rem;\n  border-radius: 50%;\n  background: var(--accent-strong);\n}\n.history-list li::after {\n  content: \"\";\n  position: absolute;\n  inset-block: 1.25rem 0;\n  inset-inline-start: calc(0.3125rem - 0.5px);\n  width: 1px;\n  background: var(--border);\n}\n.history-list li:last-child::after {\n  display: none;\n}\n.history-list li > p {\n  margin-block-end: 0.5rem;\n}\n.history-list .history-when {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: var(--space-2);\n  font-weight: 650;\n  margin-block-end: var(--space-2);\n}\n.history-list time,\n.history-list .reference {\n  display: block;\n}\n.history-list .history-when time {\n  display: inline;\n}\n.history-list .definition {\n  grid-template-columns: minmax(0, 1fr);\n  gap: var(--space-1);\n  padding-block: var(--space-2);\n}\n/* Casework: setup. The bootstrap form uses the shared form card; only the\n   example line under each hint, the team list above the form and the staff\n   list on the check page need rules. */\n.setup-teams {\n  margin-block-end: 2rem;\n}\n/* A hint is read once per field, so it keeps a reading measure rather than\n   the card's full width. */\n.setup-form .field-hint {\n  max-width: 66ch;\n}\n.setup-example {\n  margin-block-start: -0.35rem;\n  color: var(--example-foreground);\n}\n.setup-check {\n  max-width: 760px;\n}\n/* The staff identifiers are values in a summary row, so they line up with the\n   other values instead of sitting behind a bullet. */\n.setup-staff {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.setup-staff li {\n  overflow-wrap: anywhere;\n}\n\n/* Casework: staffing. The Staffing page's caseload move and absence cover,\n   and the absence drawer and dialog. The shared form, table and notice rules\n   do most of the work, so these cover only what is theirs: the rhythm between\n   the page's two sections, the sentence a bounded list needs, the preview a\n   move is confirmed from, and where focus lands once Casework has answered. */\n.staffing-caseload,\n.staffing-absences {\n  margin-block-end: 2.5rem;\n}\n.staffing-caseload > p {\n  max-width: 66ch;\n}\n/* What Casework says about a list it stopped early, read with the field or the\n   preview it belongs to rather than as a page-level notice. */\n.staffing-status {\n  color: var(--muted-foreground);\n  font-size: var(--type-sm);\n  margin: 0.4rem 0 0;\n}\n/* The preview says what a confirm will move before anything moves, so it is\n   read as a statement, never coloured as a success. */\n.staffing-preview {\n  border: 1px solid var(--border);\n  background: var(--card);\n  margin-block: 1.5rem;\n  padding: 1rem 1.25rem;\n}\n.staffing-preview > p {\n  margin: 0 0 0.5rem;\n}\n.staffing-absence-actions {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 0.5rem;\n}\n/* Focus lands on the answer once a write or a preview settles, so the answer\n   says it has focus rather than taking it silently. */\n.staffing-outcome:focus-visible,\n.staffing-preview:focus-visible {\n  outline: 3px solid var(--primary);\n  outline-offset: 3px;\n}\n} /* @layer components */\n\n/* The shared `Table` wraps its `<table>` in its own scrolling\n   `[data-slot=\"table-container\"]` div. Nested inside the review queue's\n   focusable, named `.table-wrap` region, that inner div would do the\n   scrolling while the region never overflows, so its overflow is turned off\n   and `.table-wrap` stays the one scrolling region. The rule sits outside the\n   components layer so it outranks the `overflow-x-auto` utility. */\n.casework-reviews [data-slot=\"table-container\"] {\n  overflow: visible;\n}\n.conflict {\n  border: 1px solid var(--warning-border, var(--border));\n  background: var(--card);\n  padding: var(--space-4) var(--space-5);\n  margin-block-start: var(--space-5);\n}\n.conflict h2 {\n  font-size: var(--type-md);\n  margin-block-end: var(--space-2);\n}\n.conflict-table th,\n.conflict-table td {\n  text-align: start;\n  vertical-align: top;\n  padding: var(--space-2) var(--space-3);\n  font-size: var(--type-sm);\n}\n.conflict-table tbody tr {\n  border-block-start: 1px solid var(--border);\n}\n.conflict-table tbody th {\n  text-transform: none;\n  letter-spacing: normal;\n  color: var(--foreground);\n  font-weight: 600;\n}\n.conflict-both {\n  display: block;\n  font-weight: 400;\n}\n.conflict .actions {\n  margin-block-start: var(--space-4);\n}\n",
      "type": "registry:file",
      "target": "~/src/styles/registrystack-app-blocks/styles.css"
    },
    {
      "path": "styles/tokens.css",
      "content": "/* Generated by registrystack-brand from tokens.json (target: app-kit).\n   Edit tokens.json in registrystack-brand and run its sync; edits made here\n   are overwritten. */\n:root {\n  /* The shadcn token set. Every copied component reads these names. */\n  --background: #fff;\n  --foreground: #203b31;\n  --card: #fff;\n  --card-foreground: #203b31;\n  --popover: #fff;\n  --popover-foreground: #203b31;\n  --primary: #245b44;\n  --primary-dark: #194733;\n  --primary-foreground: #fff;\n  --secondary: #eaf0e7;\n  --secondary-foreground: #203b31;\n  --muted: #f0f2eb;\n  --muted-foreground: #5e6d5c;\n  --accent: #ebf1e8;\n  --accent-foreground: #203b31;\n  --destructive: #a33d2e;\n  --border: #dee4da;\n  --input: #7d8c7a;\n  --ring: #38775b;\n  --radius: 0;\n\n  /* The staff work shell's frame. */\n  --header-height: 64px;\n  --sidebar-width: 252px;\n\n  /* The website's ledger paper, with the app's green retained as its ink. */\n  --paper: #f8f8f3;\n  --canvas: #f8f8f3;\n  --panel: #f0f2eb;\n  --panel-active: #e3ebd6;\n  --panel-hover: #eef2e8;\n  --row-hover: #f9fbf5;\n  --scope: #eef2e8;\n  --icon-surface: #eff3e8;\n  --table-head: #f2f4ed;\n  --comparison-current: #f7f7f2;\n  --comparison-proposed: #edf5e7;\n  --changed: #edf5e7;\n\n  /* Borders finer or heavier than the default one. */\n  --border-subtle: #e8ece2;\n  --border-definition: #e9ede5;\n  --border-chip: #d9e2d2;\n  --border-icon: #e3e9d9;\n  --border-scope: #e3e9d9;\n  --border-beta: #cfd9c8;\n  --border-hover: #6f8f63;\n  --elevation-tint: #19262408;\n\n  /* Text tones, from the strongest to the faintest. */\n  --nav-active-foreground: #203b31;\n  --icon-foreground: #536b42;\n  --beta-foreground: #536552;\n  --nav-foreground: #46594a;\n  --eyebrow-foreground: #596e51;\n  --footer-foreground: #5e6d5c;\n  --table-head-foreground: #46584a;\n  /* 4.8:1 on the card: the example is the palest text the setup form uses\n     and still has to be read, so it sits above the AA floor, not on it. */\n  --example-foreground: #5e6d5c;\n  --empty-foreground: #5e6d5c;\n\n  /* Links and the green accents that mark an active or changed thing. */\n  --link: #245b44;\n  --link-record: #194733;\n  --accent-strong: #76995e;\n  --changed-accent: #3f7a52;\n  --chip: #eaf0e7;\n  --chip-hover: #dbe6d3;\n  --chip-foreground: #2f5240;\n  --filter-foreground: #2f5240;\n\n  /* Status families: a surface, a border and a text tone for each. */\n  --success: #e9f1e5;\n  --success-border: #cfdec3;\n  --success-foreground: #315a3c;\n  --warning: #f5efd9;\n  --warning-border: #e3d9b8;\n  --warning-foreground: #786638;\n  --draft: #f4ecea;\n  --draft-border: #e0cfca;\n  --draft-foreground: #7b4540;\n  --expired: #eef0ea;\n  --expired-border: #d8ded2;\n  --expired-foreground: #4c5a51;\n  --destructive-strong: #8f2f22;\n\n  /* Notice callouts, which carry a heavier inline-start rule. */\n  --notice: #eef3e9;\n  --notice-border: #cfdac5;\n  --notice-warning: #f8f3df;\n  --notice-warning-border: #d3b572;\n  --notice-warning-accent: #947124;\n  --notice-success: #edf5e7;\n  --notice-success-border: #9fc28e;\n\n  /* The dark sidebar of the signed-in shells, and the header beside it. */\n  --sidebar: #1b372d;\n  --sidebar-foreground: #c4d3c7;\n  --sidebar-muted: #a2b6a3;\n  --sidebar-hover: #274a3a;\n  --sidebar-active: #c8d6ac;\n  --sidebar-active-foreground: #203b31;\n  --sidebar-border: #284a3b;\n  --sidebar-divider: #3a5145;\n  --sidebar-brand-mark: #c5d6a7;\n  --topbar: #fbfcf7;\n  /* Focus ring on a dark surface, where the standard ring would vanish. */\n  --focus-on-dark: #c8d6ac;\n\n  /* Type scale. The --type-* prefix keeps clear of Tailwind's --text-* theme\n     names, which a :root declaration would override. */\n  --type-xs: 0.75rem;\n  --type-sm: 0.8125rem;\n  --type-base: 0.875rem;\n  --type-md: 0.9375rem;\n  --type-body-sm: 1rem;\n  --type-lg: 1.125rem;\n  --type-xl: 1.5rem;\n  --type-title: clamp(1.75rem, 3.1vw, 2.4375rem);\n  --weight-regular: 400;\n  --weight-medium: 500;\n  --weight-strong: 600;\n  --weight-title: 600;\n  --leading-tight: 1.2;\n  --leading-body: 1.6;\n  --tracking-title: -0.03em;\n  --tracking-eyebrow: 0.14em;\n\n  /* Font stacks. These override Tailwind's theme fonts on purpose, so the\n     font-sans and font-mono utilities set the Registry Stack faces; the\n     :root font-family in styles.css reads --font-sans. */\n  --font-sans: \"Public Sans Variable\", \"Public Sans\", system-ui, -apple-system, \"Segoe UI\", Arial, sans-serif;\n  --font-mono: \"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n\n  /* Spacing scale. */\n  --space-1: 0.25rem;\n  --space-2: 0.5rem;\n  --space-3: 0.75rem;\n  --space-4: 1rem;\n  --space-5: 1.5rem;\n  --space-6: 2rem;\n  --space-7: 3rem;\n  --page-padding-block: 1.75rem;\n  --page-padding-inline: 2.375rem;\n\n  /* Shape. All three follow --radius until an adopter sets them apart. */\n  --radius-card: var(--radius);\n  --radius-control: var(--radius);\n  --radius-badge: var(--radius);\n\n  /* Control heights read by the button and input components. These keep a\n     44px tap target; the officer shell sets denser ones for a mouse\n     (work-shell.css). */\n  --control-h-xs: 2.75rem;\n  --control-h-sm: 2.75rem;\n  --control-h: 2.75rem;\n  --control-h-lg: 3rem;\n\n  /* Elevation: the soft shadows of raised layers. styles.css maps Tailwind's\n     shadow-xs to shadow-lg onto these, so the shadcn components read them. */\n  --elevation-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n  --elevation-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n  --elevation-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n  --elevation-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n}\n",
      "type": "registry:file",
      "target": "~/src/styles/registrystack-app-blocks/tokens.css"
    },
    {
      "path": "styles/work-shell.styles.css",
      "content": "/* A dark green sidebar carries the brand and the places; a light header\n   beside it carries the breadcrumb, the jump search and the account. */\n.work-shell {\n  min-height: 100vh;\n  display: grid;\n  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);\n  background: var(--canvas);\n  /* shadcn's own control heights for a mouse; a touch screen keeps the\n     44px tap target the tokens default to. */\n  --control-h-xs: 1.5rem;\n  --control-h-sm: 1.75rem;\n  --control-h: 2rem;\n  --control-h-lg: 2.25rem;\n}\n@media (pointer: coarse) {\n  .work-shell {\n    --control-h-xs: 2.75rem;\n    --control-h-sm: 2.75rem;\n    --control-h: 2.75rem;\n    --control-h-lg: 3rem;\n  }\n}\n.work-column {\n  display: flex;\n  flex-direction: column;\n  min-width: 0;\n}\n.work-header {\n  height: var(--header-height);\n  flex-shrink: 0;\n  border-block-end: 1px solid var(--border);\n  background: var(--topbar);\n  color: var(--foreground);\n  display: flex;\n  align-items: center;\n  gap: var(--space-4);\n  padding-inline: var(--page-padding-inline);\n  position: sticky;\n  inset-block-start: 0;\n  z-index: 30;\n}\n.work-header-brand {\n  display: none;\n  font-weight: var(--weight-strong);\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  min-width: 0;\n}\n.work-crumb {\n  display: flex;\n  align-items: center;\n  gap: var(--space-2);\n  margin: 0;\n  min-width: 0;\n  color: var(--muted-foreground);\n  font-size: var(--type-xs);\n  white-space: nowrap;\n}\n.work-crumb > span {\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.work-crumb > span:last-child {\n  color: var(--foreground);\n  font-weight: var(--weight-strong);\n}\n/* The sidebar is the only place the brand shows on a wide screen. */\n.work-sidebar .brand {\n  gap: 0.65rem;\n  flex-wrap: nowrap;\n  color: var(--primary-foreground);\n  font-size: var(--type-lg);\n  font-weight: 700;\n  line-height: 1.25;\n  letter-spacing: -0.02em;\n  padding-block-end: var(--space-5);\n}\n.work-brand-mark {\n  width: 28px;\n  height: 28px;\n  flex-shrink: 0;\n  fill: var(--sidebar-brand-mark);\n}\n.work-brand-name {\n  min-width: 0;\n  overflow-wrap: anywhere;\n}\n.work-sidebar .beta {\n  color: var(--sidebar-muted);\n  border-color: var(--sidebar-divider);\n}\n.work-header .work-menu {\n  color: var(--foreground);\n}\n.work-header .work-account:hover,\n.work-header .work-menu:hover {\n  background: var(--panel-hover);\n}\n/* The palette trigger reads as a search field, because that is what it opens. */\n.work-search {\n  margin-inline-start: auto;\n  display: flex;\n  align-items: center;\n  gap: 0.5rem;\n  height: 36px;\n  width: min(320px, 30vw);\n  padding-inline: 0.6rem 0.35rem;\n  border: 1px solid var(--input);\n  border-radius: var(--radius-control);\n  background: var(--background);\n  color: var(--muted-foreground);\n  font: inherit;\n  font-size: var(--type-base);\n  text-align: start;\n}\n.work-search:hover {\n  border-color: var(--foreground);\n}\n.work-search > span {\n  flex: 1;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n.work-account {\n  font-weight: var(--weight-strong);\n  gap: 0.35rem;\n  min-width: 0;\n}\n/* A narrow screen shows the account as an icon, the name as its label. */\n.work-account-icon {\n  display: none;\n}\n.work-account > span {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n.work-account-menu {\n  min-width: 14rem;\n}\n.work-account-menu [data-slot=\"dropdown-menu-label\"] {\n  display: flex;\n  flex-direction: column;\n  gap: 0.15rem;\n}\n.work-account-name {\n  color: var(--foreground);\n  font-weight: var(--weight-strong);\n  font-size: var(--type-sm);\n}\n.work-account-zone {\n  font-weight: var(--weight-regular);\n}\n.work-sidebar {\n  background: var(--sidebar);\n  color: var(--sidebar-foreground);\n  border-inline-end: 1px solid var(--sidebar-border);\n  padding: var(--space-5) var(--space-4);\n}\n.work-sidebar-inner {\n  position: sticky;\n  inset-block-start: var(--space-5);\n  display: flex;\n  flex-direction: column;\n  max-height: calc(100vh - 2 * var(--space-5));\n  overflow-y: auto;\n}\n/* The workspace name sits between two rules, as a label for the places\n   below it. It is a paragraph: the sidebar landmark holds no heading. */\n.work-workspace {\n  margin: 0 0 var(--space-4);\n  padding-block: var(--space-4);\n  border-block: 1px solid var(--sidebar-divider);\n  color: var(--primary-foreground);\n  font-size: var(--type-md);\n  font-weight: var(--weight-strong);\n  line-height: 1.3;\n}\n/* What the app is for, under the workspace name. */\n.work-workspace-description {\n  margin: calc(-1 * var(--space-2)) 0 var(--space-4);\n  font-size: var(--type-sm);\n  line-height: 1.4;\n  color: var(--sidebar-muted);\n}\n.work-nav-group {\n  display: flex;\n  flex-direction: column;\n  gap: 2px;\n}\n.work-nav-group + .work-nav-group {\n  margin-block-start: var(--space-3);\n  padding-block-start: var(--space-3);\n  border-block-start: 1px solid var(--sidebar-divider);\n}\n.work-places a {\n  display: flex;\n  align-items: center;\n  gap: 0.7rem;\n  min-height: 40px;\n  padding: 0.6rem 0.75rem;\n  border-radius: var(--radius-control);\n  font-size: var(--type-sm);\n  color: var(--sidebar-foreground);\n}\n.work-places a:hover {\n  background: var(--sidebar-hover);\n}\n.work-places a[aria-current=\"page\"] {\n  background: var(--sidebar-active);\n  color: var(--sidebar-active-foreground);\n  font-weight: var(--weight-strong);\n}\n.work-sidebar a:focus-visible,\n.work-menu-sheet a:focus-visible {\n  outline-color: var(--focus-on-dark);\n}\n.work-main {\n  padding: var(--page-padding-block) var(--page-padding-inline) var(--space-7);\n  max-width: 1580px;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n}\n.work-main > div:not(.notice) {\n  flex: 1;\n}\n/* Page titles are large and light-weight, with a tight tracking; they carry\n   the hierarchy of a working surface without a hero. */\n.work-shell h1 {\n  font-size: var(--type-title);\n  font-weight: var(--weight-title);\n  line-height: var(--leading-tight);\n  letter-spacing: var(--tracking-title);\n  margin-block-end: 0.5rem;\n  max-width: none;\n}\n.work-shell .lead {\n  font-size: var(--type-sm);\n  line-height: var(--leading-body);\n}\n.work-shell .page-heading {\n  padding-block-end: var(--space-5);\n  margin-block-end: var(--space-5);\n  border-block-end: 1px solid var(--border);\n}\n.work-shell .page-heading > div:first-child {\n  min-width: 0;\n}\n.work-shell .page-heading h1 {\n  overflow-wrap: anywhere;\n}\n.work-shell .badge {\n  font-size: var(--type-xs);\n  padding: 0.2rem 0.45rem;\n}\n.work-shell [data-slot=\"empty\"] {\n  border: 1px solid var(--border);\n  background: var(--card);\n  padding: 3rem 1.5rem;\n}\n/* Quiet, tracked column labels over ruled rows. */\n.work-shell [data-slot=\"table-header\"] {\n  background: var(--table-head);\n}\n.work-shell [data-slot=\"table-header\"] [data-slot=\"table-head\"] {\n  height: 40px;\n  color: var(--table-head-foreground);\n  font-size: var(--type-xs);\n  font-weight: 650;\n  letter-spacing: 0.08em;\n  text-transform: uppercase;\n}\n.work-shell [data-slot=\"table-body\"] [data-slot=\"table-row\"]:hover {\n  background: var(--row-hover);\n}\n.work-shell [data-slot=\"table-body\"] [data-slot=\"table-row\"]:focus-within {\n  background: var(--accent);\n}\n.work-shell [data-slot=\"table-body\"] [data-state=\"selected\"] {\n  background: var(--secondary);\n  box-shadow: inset 3px 0 0 var(--primary);\n}\n.work-shell [data-slot=\"table-cell\"] {\n  padding-block: 0.85rem;\n}\n.work-shell .result-count {\n  font-variant-numeric: tabular-nums;\n}\n@media (pointer: coarse) {\n  .work-places a {\n    min-height: 44px;\n  }\n}\n/* The test-service note sits under the places, where the public service\n   keeps it in its page footer. */\n.work-sidebar-note {\n  margin: var(--space-5) 0 0;\n  padding-block-start: var(--space-4);\n  border-block-start: 1px solid var(--sidebar-divider);\n  font-family: var(--font-mono);\n  font-size: var(--type-xs);\n  line-height: 1.5;\n  color: var(--sidebar-muted);\n}\n/* The menu button opens the places in a drawer. Only a narrow screen shows\n   it, because a wide one has the sidebar. */\n.work-menu {\n  display: none;\n}\n.work-menu-sheet {\n  background: var(--sidebar);\n  color: var(--sidebar-foreground);\n  border-color: var(--sidebar-border);\n  padding-inline: var(--space-4);\n}\n.work-menu-sheet [data-slot=\"sheet-title\"] {\n  color: var(--primary-foreground);\n}\n.work-menu-sheet [data-slot=\"sheet-close\"] {\n  color: var(--sidebar-foreground);\n}\n.work-menu-sheet [data-slot=\"sheet-close\"]:hover {\n  background: var(--sidebar-hover);\n}\n/* The jump palette sits near the top so the list has room to grow downward,\n   centred by its margins whichever way the page reads. */\n.command-palette {\n  position: fixed;\n  inset-block-start: 12vh;\n  inset-inline: 0;\n  margin-inline: auto;\n  width: min(560px, calc(100% - 2rem));\n  z-index: 50;\n  padding: 0.5rem;\n  border-radius: 0;\n  background: var(--popover);\n  color: var(--popover-foreground);\n  border: 1px solid var(--foreground);\n  box-shadow: var(--elevation-lg);\n  outline: none;\n}\n.command-palette [data-slot=\"input-group\"] {\n  width: 100%;\n  margin-block-end: 0.35rem;\n}\n.command-palette [data-slot=\"combobox-list\"] {\n  max-height: 50vh;\n}\n.shortcuts-help table {\n  font-size: var(--type-base);\n}\n.shortcuts-help th,\n.shortcuts-help td {\n  padding: 0.45rem 0.6rem;\n}\n@media (max-width: 900px) {\n  .work-shell {\n    grid-template-columns: minmax(0, 1fr);\n    --header-height: 56px;\n  }\n  /* The places move into the drawer the menu button opens. */\n  .work-sidebar {\n    display: none;\n  }\n  .work-menu {\n    display: inline-flex;\n  }\n  .work-header-brand {\n    display: block;\n  }\n  .work-crumb {\n    display: none;\n  }\n  .work-account > span {\n    display: none;\n  }\n  .work-account-icon {\n    display: block;\n  }\n  .work-header {\n    gap: 0.5rem;\n    padding-inline: var(--space-3);\n  }\n  .work-search {\n    width: auto;\n    padding-inline: 0.5rem;\n  }\n  .work-search > span,\n  .work-search kbd {\n    display: none;\n  }\n  /* Both names give way before the page scrolls sideways. */\n  .work-header .work-account {\n    flex-shrink: 1;\n    min-width: 0;\n    overflow: hidden;\n    text-overflow: ellipsis;\n  }\n  .work-main {\n    padding: var(--space-5) var(--space-4) var(--space-6);\n  }\n}\n\n/* Staff density. A public page is read once and keeps its room; an officer\n   works a queue on this shell all day, so the tables inside it are set at the\n   spacing a case management tool uses: smaller type and shallower cells, which\n   puts more rows and more of a case on one screen. Nothing outside the staff\n   shell carries .work-shell, so the self-service pages keep the public\n   rhythm. */\n.work-shell table:where(:not([data-slot])) {\n  font-size: var(--type-sm);\n}\n.work-shell th:where(:not([data-slot])) {\n  padding: 0.55rem 0.75rem;\n}\n.work-shell td:where(:not([data-slot])),\n.work-shell tbody th:where(:not([data-slot])) {\n  padding: 0.65rem 0.75rem;\n}\n",
      "type": "registry:file",
      "target": "~/src/styles/registrystack-app-blocks/work-shell.styles.css"
    },
    {
      "path": "styles/document-preview.styles.css",
      "content": ".document-preview {\n  min-width: 0;\n  border: 1px solid var(--border);\n  border-block-start: 3px solid var(--primary);\n  background: var(--card);\n}\n.document-preview-heading {\n  display: flex;\n  justify-content: space-between;\n  gap: 1rem;\n  padding: 1rem;\n  background: var(--paper);\n}\n.document-preview-heading h2,\n.document-preview-heading p {\n  margin: 0;\n}\n.document-preview-heading h2 {\n  font-size: var(--type-lg);\n  overflow-wrap: anywhere;\n}\n.document-controls,\n.document-control-group {\n  display: flex;\n  align-items: center;\n  flex-wrap: wrap;\n  gap: 0.5rem;\n}\n.document-controls {\n  padding: 0.75rem 1rem;\n  border-block-end: 1px solid var(--border);\n}\n.document-controls button,\n.document-controls a,\n.document-preview-heading button {\n  min-height: 44px;\n  min-width: 44px;\n}\n.document-page-position {\n  font-size: var(--type-base);\n  font-variant-numeric: tabular-nums;\n}\n.document-viewport {\n  position: relative;\n  overflow: auto;\n  /* A classic scrollbar must not change the measured width between the\n     loading state and a tall rendered page, which would retrigger rendering. */\n  scrollbar-gutter: stable;\n  max-height: 65dvh;\n  min-height: 12rem;\n  padding: 1rem;\n  background: #dfe5df;\n}\n.document-viewport:focus-visible,\n.document-extracted-text:focus-visible,\n.document-text summary:focus-visible {\n  outline: 3px solid var(--ring);\n  outline-offset: 3px;\n}\n.document-viewport canvas {\n  display: block;\n  max-width: none;\n  margin-inline: auto;\n  background: white;\n  box-shadow: var(--elevation-sm);\n}\n.document-viewport canvas[hidden] {\n  display: none;\n}\n.document-loading {\n  text-align: center;\n}\n.document-preview-error,\n.document-text {\n  padding: 1rem;\n}\n.document-preview-error + .document-viewport {\n  display: none;\n}\n.document-text {\n  border-block-start: 1px solid var(--border);\n}\n.document-text summary {\n  min-height: 44px;\n  padding-block: 0.625rem;\n}\n.document-extracted-text {\n  max-height: 20rem;\n  overflow: auto;\n  white-space: pre-wrap;\n  overflow-wrap: anywhere;\n}\n.document-slot-icon {\n  flex-shrink: 0;\n  color: var(--primary);\n}\n.document-slot-heading {\n  display: flex;\n  align-items: start;\n  gap: 0.75rem;\n}\n.attachment-selection {\n  overflow-wrap: anywhere;\n}\n\n/* Keep comparison, reasoning and private notes readable beside the evidence. */\n.item-layout.with-document {\n  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);\n}\n.item-page:has(.document-preview) .item-header {\n  position: static;\n}\n.item-document-column {\n  display: flex;\n  flex-direction: column;\n  gap: 1.5rem;\n  min-width: 0;\n  align-self: stretch;\n}\n.item-document-column > .document-preview {\n  position: sticky;\n  top: calc(var(--header-height) + 1rem);\n}\n/* The evidence takes the second column, so what is scanned around the decision\n   moves below both and spreads sideways rather than stacking under the\n   document: the facts beside the trail, and the facts themselves in two\n   columns across the width they now have. */\n.item-layout.with-document > .item-side {\n  grid-column: 1 / -1;\n  display: grid;\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n  gap: 1.5rem;\n  align-items: start;\n}\n.item-layout.with-document > .item-side .facts {\n  display: grid;\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n  gap: 0 1.5rem;\n}\n@media (max-width: 1100px) {\n  .item-layout.with-document {\n    grid-template-columns: 1fr;\n  }\n  .item-document-column > .document-preview {\n    position: static;\n  }\n  .item-layout.with-document > .item-side {\n    display: flex;\n  }\n  .item-layout.with-document > .item-side .facts {\n    display: block;\n  }\n}\n",
      "type": "registry:file",
      "target": "~/src/styles/registrystack-app-blocks/document-preview.styles.css"
    },
    {
      "path": "styles/dashboard.styles.css",
      "content": ".dashboard-grid {\n  display: grid;\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n  gap: 1.25rem;\n  align-items: start;\n}\n.dashboard-widget {\n  display: grid;\n  gap: 1rem;\n  min-width: 0;\n  padding: 1.25rem;\n  border: 1px solid var(--border);\n  border-radius: var(--radius-card);\n  background: var(--card);\n}\n.dashboard-widget > header {\n  display: flex;\n  align-items: start;\n  justify-content: space-between;\n  gap: 0.75rem;\n}\n.dashboard-widget h2 {\n  margin: 0;\n  font-size: var(--type-body-sm);\n  line-height: 1.4;\n}\n.dashboard-widget p {\n  margin: 0;\n}\n.dashboard-source {\n  margin-block-end: 0.25rem;\n  color: var(--muted-foreground);\n  font-size: var(--type-xs);\n  letter-spacing: 0.07em;\n  text-transform: uppercase;\n}\n.dashboard-refresh {\n  display: inline-grid;\n  place-items: center;\n  flex: none;\n  min-width: 44px;\n  min-height: 44px;\n  border: 1px solid var(--border);\n  border-radius: var(--radius);\n  background: var(--background);\n  color: var(--foreground);\n}\n.dashboard-refresh:disabled {\n  opacity: 0.5;\n}\n.dashboard-refresh:focus-visible,\n.dashboard-period select:focus-visible,\n.dashboard-calculation summary:focus-visible,\n.dashboard-cell-link:focus-visible {\n  outline: 3px solid var(--ring);\n  outline-offset: 3px;\n}\n.dashboard-period {\n  font-size: var(--type-base);\n}\n.dashboard-period:has(select) {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 0.6rem;\n}\n.dashboard-period select {\n  min-height: 44px;\n  padding: 0.3rem 0.7rem;\n  border: 1px solid var(--border);\n  border-radius: var(--radius);\n  background: var(--background);\n  color: var(--foreground);\n}\n.dashboard-note {\n  color: var(--muted-foreground);\n  font-size: var(--type-sm);\n  line-height: 1.55;\n}\n.dashboard-figure {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: baseline;\n  gap: 0.35rem;\n  color: var(--muted-foreground);\n  font-size: var(--type-base);\n}\n.dashboard-figure strong {\n  color: var(--foreground);\n  font-size: 2.5rem;\n  line-height: 1.2;\n  font-variant-numeric: tabular-nums;\n  overflow-wrap: anywhere;\n}\n.dashboard-bars {\n  display: grid;\n  gap: 0.7rem;\n}\n.dashboard-bar-row {\n  display: grid;\n  grid-template-columns: minmax(4rem, 1fr) minmax(2rem, 2fr) minmax(4rem, 6rem);\n  gap: 0.6rem;\n  align-items: center;\n  font-size: var(--type-sm);\n}\n.dashboard-bar-row > span:first-child {\n  overflow-wrap: anywhere;\n}\n.dashboard-bar-row strong {\n  text-align: end;\n  font-variant-numeric: tabular-nums;\n  overflow-wrap: anywhere;\n}\n.dashboard-bar-track {\n  display: block;\n  height: 0.65rem;\n  overflow: hidden;\n  background: var(--muted);\n}\n.dashboard-bar {\n  display: block;\n  height: 100%;\n  background: var(--primary);\n}\n.dashboard-table-scroll {\n  overflow-x: auto;\n}\n.dashboard-table-scroll:focus-visible {\n  outline: 3px solid var(--ring);\n  outline-offset: 3px;\n}\n.dashboard-table {\n  width: 100%;\n  border-collapse: collapse;\n  font-size: var(--type-sm);\n}\n.dashboard-table caption {\n  padding-block-end: 0.5rem;\n  color: var(--muted-foreground);\n  text-align: start;\n}\n.dashboard-table :is(th, td) {\n  padding: 0.5rem 0.4rem;\n  border-block-end: 1px solid var(--border);\n  text-align: start;\n  white-space: normal;\n}\n.dashboard-table th[scope=\"row\"] {\n  font-weight: 500;\n}\n.dashboard-total :is(th, td) {\n  border-block-start: 2px solid var(--border);\n  font-weight: 600;\n}\n.dashboard-cell-link {\n  display: inline-flex;\n  align-items: center;\n  gap: 0.2rem;\n  min-height: 24px;\n  color: var(--primary);\n  text-decoration: underline;\n  text-underline-offset: 0.2em;\n}\n.dashboard-calculation {\n  padding-block-start: 0.8rem;\n  border-block-start: 1px solid var(--border);\n  font-size: var(--type-sm);\n}\n.dashboard-calculation summary {\n  cursor: pointer;\n}\n.dashboard-context {\n  display: grid;\n  gap: 0.4rem;\n  margin: 0.8rem 0 0;\n}\n.dashboard-context > div {\n  display: grid;\n  grid-template-columns: 7rem minmax(0, 1fr);\n  gap: 0.4rem;\n}\n.dashboard-context dt {\n  color: var(--muted-foreground);\n}\n.dashboard-context dd {\n  margin: 0;\n  overflow-wrap: anywhere;\n}\n@media (max-width: 760px) {\n  .dashboard-grid {\n    grid-template-columns: minmax(0, 1fr);\n  }\n  .dashboard-widget {\n    padding: 1rem;\n  }\n}\n@media (max-width: 480px) {\n  .dashboard-table :is(th, td) {\n    padding-inline: 0.25rem;\n  }\n}\n",
      "type": "registry:file",
      "target": "~/src/styles/registrystack-app-blocks/dashboard.styles.css"
    }
  ],
  "docs": "Import this from your project's own global stylesheet, adjusting the relative path to where it lands, for example `@import \"./styles/registrystack-app-blocks/styles.css\";`. Then edit its `@source` lines: they describe this kit's own repository layout, not yours.",
  "type": "registry:file"
}