/* HarveyOS page system v2 ------------------------------------------------------
   Loads last. Applies only inside `.v2`, so pages migrate one family at a time and
   the old layers keep governing everything else until their family moves.
   Colour and type come from LUMEN (--lm-*) and type-system.css; this layer owns
   space, hierarchy, and the rule that a panel never sits inside a panel. */
:root { --v2-tap: 40px; }
/* Touch screens get the full 44px target; a mouse keeps the denser 40px. */
@media (max-width: 760px), (pointer: coarse) { :root { --v2-tap: 44px; } }


.v2 {
  --v2-1: 4px; --v2-2: 8px; --v2-3: 12px; --v2-4: 16px; --v2-5: 24px;
  --v2-6: 32px; --v2-7: 48px; --v2-8: 72px;
  --v2-text: .9375rem;   /* 15px body floor */
  --v2-meta: .8125rem;   /* 13px meta floor */
  --v2-rule: 1px solid var(--lm-seam-strong);
  --v2-hair: 1px solid var(--lm-seam);
  font-size: var(--v2-text);
  line-height: 1.55;
  color: var(--lm-matte);
}
.v2 :is(p, li, dd, dt, td, th, label, summary, blockquote) { font-size: max(var(--v2-text), 1em); }
.v2 :is(small, figcaption, .dim) { font-size: max(var(--v2-meta), 1em); }
/* Sentence-case labels (Mike's HarveyOS ruling, overrides LUMEN caps). type-system.css
   forces .page-eyebrow/.label uppercase with !important, so v2 answers in kind. */
.v2 :is(.page-eyebrow, .label, .exec-eyebrow) {
  font-size: var(--v2-meta) !important; line-height: 1.35 !important;
  text-transform: none !important; letter-spacing: 0 !important;
  color: var(--lm-matte-3); font-weight: 600 !important;
}

/* Entity header ---------------------------------------------------------------- */
.v2-entity-head { padding: var(--v2-5) 0 var(--v2-6); border-bottom: var(--v2-rule); }
.v2-entity-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--v2-4); margin-bottom: var(--v2-5); }
.v2-back { color: var(--lm-matte-2); font-size: var(--v2-meta); text-decoration: none; }
.v2-back:hover { color: var(--lm-matte); }
.v2-entity-actions { display: flex; gap: var(--v2-2); }
.v2-entity-identity { display: flex; align-items: center; gap: var(--v2-4); }
.v2-entity-mark { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--lm-fill) 14%, var(--lm-panel)); color: var(--lm-matte); font-weight: 700; object-fit: cover; }
.v2-entity-identity h1 { margin: 0; font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; }
.v2-entity-meta { display: flex; flex-wrap: wrap; gap: var(--v2-1) var(--v2-3); margin: var(--v2-2) 0 0; color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2-entity-meta > * + *::before { content: "·"; display: inline-block; margin-right: var(--v2-3); color: var(--lm-matte-3); text-decoration: none; }
.v2-entity-meta a { color: var(--lm-matte-2); text-decoration: underline dotted; text-underline-offset: 3px; }
.v2-headline { max-width: 68ch; margin: var(--v2-5) 0 0; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.45; color: var(--lm-matte); text-wrap: pretty; }

.v2-now { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--v2-5); margin: var(--v2-6) 0 0; }
.v2-now-fact { display: block; padding-top: var(--v2-3); border-top: 2px solid var(--lm-seam-strong); color: inherit; text-decoration: none;
  transition: border-color .2s cubic-bezier(.25, 1, .5, 1); }
.v2-now-fact:has(.v2-now-link) { position: relative; }
.v2-now-fact:has(.v2-now-link):hover, .v2-now-fact:focus-within { border-top-color: var(--lm-key); }
/* The label is the link; its ::after stretches over the whole fact so the tap area stays the full box. */
.v2-now-link { color: inherit; text-decoration: none; }
.v2-now-link::after { content: ""; position: absolute; inset: 0; }
.v2-now-link:focus-visible { outline: none; }
.v2-now-fact:has(.v2-now-link:focus-visible) { outline: 2px solid var(--border-focus, var(--lm-key)); outline-offset: 4px; }
.v2-now-fact dt { color: var(--lm-matte-2); font-size: var(--v2-meta); font-weight: 600; }
.v2-now-fact dd { margin: var(--v2-1) 0 0; }
.v2-now-fact b { display: block; font-family: var(--font-num); font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; font-feature-settings: "tnum" 1; line-height: 1.15; }
.v2-now-fact small { display: block; margin-top: var(--v2-1); color: var(--lm-matte-2); }

/* Page grid: main column + reference rail ------------------------------------- */
.v2-entity-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: var(--v2-7); align-items: start; }
.v2-main { min-width: 0; }
.v2-rail { min-width: 0; position: sticky; top: var(--v2-5); display: grid; gap: var(--v2-6); padding-top: var(--v2-6); }

/* Sections: unboxed, separated by space and one rule ---------------------------- */
.v2-section { padding-top: var(--v2-7); scroll-margin-top: 80px; }
.v2-note { margin: var(--v2-3) 0 0; color: var(--lm-matte-2); }
.v2-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--v2-4);
  padding-bottom: var(--v2-3); margin-bottom: var(--v2-5); border-bottom: var(--v2-rule); }
.v2-section-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.625rem); letter-spacing: -.015em; }

/* No panel inside a panel. Blocks inside a section or the rail lose their box and
   are separated by space and a hairline; a block's own heading reads as a sub-head. */
.v2.v2 :is(.v2-section, .v2-rail) > :is(section, article, details, div, aside) {
  margin: 0 0 var(--v2-6); padding: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none;
}
.v2 :is(.v2-section, .v2-rail) > :is(section, article, details, div, aside)::before,
.v2 :is(.v2-section, .v2-rail) > :is(section, article, details, div, aside)::after { display: none; }
.v2 :is(.v2-section, .v2-rail) > * + * { padding-top: var(--v2-5); border-top: var(--v2-hair); }
.v2 :is(.v2-section, .v2-rail) > * :is(h2) { font-size: 1.0625rem; font-weight: 650; letter-spacing: 0; margin: var(--v2-1) 0 var(--v2-2); font-family: var(--font-body); }
.v2 :is(.v2-section, .v2-rail) > * :is(h3) { font-size: 1rem; font-weight: 600; font-family: var(--font-body); }
.v2 :is(.v2-section, .v2-rail) :is(.card, .intel-section) .card { background: none; box-shadow: none; border-color: var(--lm-seam); }
.v2 .v2-rail h2 { font-size: 1rem; }
/* The rail is narrow: a block's header stacks instead of sharing a row with its action. */
.v2.v2 .v2-rail > * > :is(header, .intel-section-head, .operator-panel-head) { display: grid; gap: var(--v2-2); justify-items: start; }
.v2.v2 .v2-rail > * > header > div { max-width: none; }

/* Tables inside v2: the toolbar is one quiet line above the table, not a panel. */
.v2.v2 .lumen-table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--v2-3);
  padding: var(--v2-2) var(--v2-4); margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2 .lumen-table-scope { display: flex; align-items: baseline; gap: var(--v2-2); min-width: 0; }
.v2.v2 .lumen-table-scope b { font-size: var(--v2-meta); font-weight: 600; color: var(--lm-matte-2); }
.v2.v2 .lumen-table-density { min-height: var(--v2-tap); padding: 0 var(--v2-3); font-size: var(--v2-meta); }
.v2 .metric-source-note { margin: var(--v2-1) 0 0; color: var(--lm-matte-2); font-size: var(--v2-meta); }

/* Overflow is announced at every width (LUMEN hides the cue on desktop). The metric
   table drops its 620px floor so its five columns fit the main column. */
.v2.v2 .lumen-table-overflow-cue:not([hidden]) { display: inline; color: var(--lm-key); font-size: var(--v2-meta); }
.v2.v2 .partner-metric-table { min-width: 0; }
.v2.v2 .partner-metric-table thead th { white-space: normal; line-height: 1.25; word-break: normal; overflow-wrap: normal; hyphens: none; }
.v2.v2 .partner-metric-table :is(th, td) { padding-inline: var(--v2-3); }
/* The composition block keeps one left edge: its parts drop their old inset. */
.v2.v2 .company-revenue-workbench > :is(header, div, section, footer) { padding-inline: 0; margin-inline: 0; }

/* Revenue composition: one surface. Stamp, tabs, standing and source lose their boxes
   and sit on hairlines; the tabs read as a segmented row, not buttons in a tray. */
.v2.v2 :is(.company-revenue-stamp, .company-revenue-tabs, .company-revenue-standing,
  .company-revenue-standing > span, .company-revenue-source, .company-revenue-panel, .company-revenue-copy) {
  border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2 .company-revenue-head { display: grid; gap: var(--v2-2); }
.v2.v2 .company-revenue-stamp { display: flex; gap: var(--v2-2); align-items: baseline; padding: 0; color: var(--lm-matte-2); }
.v2.v2 .company-revenue-stamp b { font-weight: 600; color: var(--lm-matte); }
.v2.v2 .company-revenue-tabs { display: flex; flex-wrap: wrap; gap: var(--v2-1); padding: 0; margin: var(--v2-4) 0 0; border-bottom: var(--v2-hair); }
.v2.v2 .company-revenue-tabs [role="tab"] { min-height: 44px; padding: 0 var(--v2-3); border: 0; border-bottom: 2px solid transparent;
  border-radius: 0; background: none; color: var(--lm-matte-2); font-weight: 600; }
.v2.v2 .company-revenue-tabs [role="tab"][aria-selected="true"] { color: var(--lm-matte); border-bottom-color: var(--lm-key); }
.v2.v2 .company-revenue-standing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--v2-4) var(--v2-5); padding: var(--v2-4) 0; }
.v2.v2 .company-revenue-standing > span { display: grid; gap: var(--v2-1); padding: 0; }
.v2.v2 .company-revenue-source { display: flex; flex-wrap: wrap; gap: var(--v2-1) var(--v2-3); padding: var(--v2-3) 0 0; border-top: var(--v2-hair); color: var(--lm-matte-2); }

/* Phones: one column, the rail follows the main column ------------------------- */
@media (max-width: 1100px) {
  .v2-entity-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v2-rail { position: static; padding-top: var(--v2-7); border-top: var(--v2-rule); margin-top: var(--v2-6); }
}
@media (max-width: 640px) {
  .v2-entity-head { padding-top: var(--v2-3); }
  .v2-entity-mark { width: 44px; height: 44px; border-radius: 12px; }
  .v2-entity-identity { align-items: flex-start; }
  .v2-entity-meta { display: grid; gap: 2px; }
  .v2-entity-meta > * + *::before { content: none; }
  .v2-now { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v2-5) var(--v2-4); }
  .v2-section { padding-top: var(--v2-6); }
  .v2.v2 .lumen-table-sort-summary { display: none; }
  .v2.v2 .lumen-table-density { min-height: 44px; }
}

/* No @view-transition opt-in here: this file loads on every page, and a site-wide
   cross-document transition stalled clicks, screenshots and soft navigation (CI, 11-20).
   The list → detail morph returns scoped to the pages that use it. */
@media (prefers-reduced-motion: reduce) {
  .v2-now-fact { transition: none; }
}

/* Today work list -------------------------------------------------------------
   One ranked column on every width: rows of equal width never leave holes, each
   fact appears once (the deadline lives in its chip), and the title is the link. */
body.page-today main .work-radar-rows { display: block; border: 0; background: none; }
body.page-today main .work-radar-row {
  grid-template-columns: 3px minmax(0, 1fr) auto; gap: 0 18px; align-items: start;
  padding: 18px 0; border: 0; border-bottom: 1px solid var(--lm-seam);
}
body.page-today main .work-radar-row:last-child { border-bottom: 0; }
body.page-today main .work-radar-state { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; border-radius: 2px; }
body.page-today main .work-radar-copy { grid-column: 2; grid-row: 1; padding: 0; }
body.page-today main .work-radar-actions { grid-column: 3; grid-row: 1; }
/* The quick rating is a phone instrument; it folds so it never fills every row. */
body.page-today main .work-radar-rate { display: none; grid-column: 2; grid-row: 2; }
body.page-today main .work-radar-rate > summary { color: var(--lm-matte-3); font-size: .8125rem; cursor: pointer; padding: 8px 0 0; }
body.page-today main .work-radar-rate .learning-quick { margin: 10px 0 0; }
body.page-today main .work-radar-copy b { font-size: 1rem; font-weight: 650; line-height: 1.4; color: var(--lm-matte); }
body.page-today main .work-radar-copy p { margin: 6px 0 0; max-width: 82ch; font-size: .9375rem; line-height: 1.5; color: var(--lm-matte-2); }
body.page-today main .work-radar-copy small { margin-top: 6px; font-size: .8125rem; color: var(--lm-matte-3); text-transform: none; }
body.page-today main .work-radar-flags { margin-bottom: 8px; }
body.page-today main .work-radar-flags span { font: 600 .75rem/1.4 var(--font-body); padding: 2px 8px; border-radius: 999px; }
body.page-today main .work-radar-identity { margin-top: 6px; font-size: .875rem; }
body.page-today main .work-radar-identity :is(a, b, span) { font-size: .875rem; }
body.page-today main .work-radar-copy > a { display: block; }
body.page-today main .work-radar-copy > a > b { margin: 0; }
body.page-today main .work-radar-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
body.page-today main .work-radar-actions :is(summary, button) { min-height: var(--v2-tap); padding: 0 14px; font-size: .875rem; }
body.page-today main .work-radar-overflow > summary { padding: 14px 18px; font-weight: 600; color: var(--lm-matte-2); cursor: pointer; }
body.page-today main .work-radar-lane > header p { max-width: 70ch; font-size: .9375rem; color: var(--lm-matte-2); }
@media (max-width: 760px) {
  body.page-today main .work-radar-rate { display: block; }
}
@media (max-width: 640px) {
  body.page-today main .work-radar-row { grid-template-columns: 3px minmax(0, 1fr); }
  body.page-today main .work-radar-actions { grid-column: 2; grid-row: 3; flex-direction: row; justify-content: flex-start; margin-top: 12px; }
  body.page-today main .work-radar-actions:empty { display: none; }
  body.page-today main .work-radar-actions :is(summary, button) { min-height: 44px; }
}

/* Relationship replay (v2) ---------------------------------------------------- */
.v2 .v2-replay-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--v2-4); }
.v2 .v2-replay-head h3 { margin: var(--v2-1) 0 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.4; }
.v2 .v2-replay-head small { color: var(--lm-matte-3); }
.v2 .v2-replay-move { margin: var(--v2-5) 0 0; padding-left: var(--v2-4); border-left: 2px solid var(--lm-key);
  font-size: 1.0625rem; line-height: 1.5; color: var(--lm-matte); max-width: 75ch; }
.v2 .v2-replay-move > span { display: block; margin-bottom: var(--v2-1); font-size: var(--v2-meta); font-weight: 600; color: var(--lm-matte-2); }
.v2 .v2-replay-facts { margin: var(--v2-5) 0 0; display: grid; gap: 0; }
.v2 .v2-replay-facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--v2-4); padding: var(--v2-3) 0; border-top: var(--v2-hair); }
.v2 .v2-replay-facts dt { color: var(--lm-matte-2); font-weight: 600; font-size: var(--v2-meta); }
.v2 .v2-replay-facts dd { margin: 0; max-width: 75ch; }
.v2 .v2-replay-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--v2-5); margin-top: var(--v2-5); }
.v2 .v2-replay-lists h4 { margin: 0 0 var(--v2-2); font-size: var(--v2-meta); font-weight: 600; color: var(--lm-matte-2); }
.v2 .v2-replay-lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--v2-3); }
.v2 .v2-replay-lists li { line-height: 1.5; }
.v2 .v2-replay-sources { margin-top: var(--v2-5); }
.v2 .v2-replay-sources > summary { cursor: pointer; color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2 .v2-replay-sources ul { margin: var(--v2-3) 0 0; padding: 0; list-style: none; display: grid; gap: var(--v2-2); }
.v2 .v2-replay-sources small { color: var(--lm-matte-3); margin-left: var(--v2-2); }
.v2 .v2-replay-empty { margin: var(--v2-3) 0 0; color: var(--lm-matte-2); max-width: 70ch; }
@media (max-width: 640px) {
  .v2 .v2-replay-head { flex-direction: column; }
  .v2 .v2-replay-facts > div { grid-template-columns: 1fr; gap: var(--v2-1); }
}
.v2 .v2-replay-head .btn-primary { white-space: nowrap; }

/* Links inside running text carry an underline, never colour alone (WCAG 1.4.1). */
/* Only prose: paragraphs, definitions, footers, and plain unclassed lists. Designed lists
   (rails, indexes) are rows whose whole line is the target, not running text. */
.v2 :is(p, dd, footer, small, :is(ul, ol):not([class]) > li) > a:not([class]):not([role]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.v2 :is(p, dd, footer, small, :is(ul, ol):not([class]) > li) > a:not([class]):not([role]):hover { text-decoration-color: currentColor; }

/* Touch targets (adapt pass, 2026-11-21). Text links get a ~44px tap box from vertical
   padding cancelled by an equal negative margin, so the words do not move. Buttons and
   summaries already take --v2-tap; the stretched fact links are covered by their fact. */
@media (max-width: 760px), (pointer: coarse) {
  .v2 :is(p, b, strong, small, h3, h4, td, th, li, dd, footer, nav, article, span, header, .work-radar-copy, .work-radar-identity, .v2e-subhead, .v2-find-more, .judgment-actions)
    > a:not([class*="btn"]):not(.v2-now-link):not([role="tab"]):not(.meeting-tag) { padding-block: 14px; margin-block: -14px; }
  /* Bordered chips keep their size; an invisible overlay carries the tap. */
  .v2 a.meeting-tag { position: relative; }
  .v2 a.meeting-tag::after { content: ""; position: absolute; inset: -13px 0; }
}

/* The Maestro orb owns the right-most 60px on desktop. Top-level v2 content stops short
   of it so the orb never sits on text. Today is exempt: its lower section must keep the
   locked flow's full width above it. */
@media (min-width: 761px) {
  body:not(.page-today) main .v2:not(.v2 .v2) { margin-inline-end: 16px; }
}

/* A zero is a real fact, but it should not shout: it keeps its place in the row in quiet ink. */
.v2-now-fact b.is-zero { color: var(--lm-matte-2); font-weight: 500; }

/* Taps act on the first touch: no double-tap-zoom wait on controls. */
.v2 :is(a, button, summary, label, select, [role="button"], [role="tab"]) { touch-action: manipulation; }

/* Inputs at 16px wherever a touch keyboard may open, landscape phones included: iOS zooms
   the page when focusing anything smaller. */
@media (max-width: 760px), (pointer: coarse) {
  .v2.v2 :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) { font-size: max(16px, 1em); }
}

/* Phone navigation (arrange + clarify, 2026-11-21). The sheet sits on the dock as one
   surface instead of floating card-in-card; rows read at body size; one tab is active. */
@media (max-width: 1023px) {
  body:not(.page-login) .mobile-dock > :is(a, button) { gap: 4px; font: 600 .75rem/1 var(--font-body); color: var(--lm-matte-2); }
  body:not(.page-login) .mobile-dock > :is(a, button) .nav-icon { width: 22px; height: 22px; }
  body:not(.page-login) .mobile-dock > :is(a, button):is(.on, .is-open) { color: var(--lm-matte); background: none; box-shadow: none; }
  body:not(.page-login) .mobile-dock > :is(a, button):is(.on, .is-open)::before {
    content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px; background: var(--lm-key); }
  /* While a sheet is open, only its tab is lit. */
  html.mobile-nav-open body:not(.page-login) .mobile-dock > .on:not(.is-open) { color: var(--lm-matte-2); background: none; box-shadow: none; }
  html.mobile-nav-open body:not(.page-login) .mobile-dock > .on:not(.is-open) .nav-icon { color: inherit; filter: none; }
  html.mobile-nav-open body:not(.page-login) .mobile-dock > .on:not(.is-open)::before { content: none; }

  body:not(.page-login) .mobile-more-panel {
    left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - 56px - 64px - env(safe-area-inset-bottom) - 12px);
    padding: 0 max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
    border: 0; border-top: 1px solid var(--lm-seam-strong); border-radius: 16px 16px 0 0;
    background: var(--lm-charcoal, #121214); box-shadow: 0 -24px 48px -12px rgb(0 0 0 / .7);
  }
  body:not(.page-login) .mobile-more-panel > header { margin: 0 -16px; padding: 14px 16px 10px; min-height: 60px; background: var(--lm-charcoal, #121214); border-bottom: 1px solid var(--lm-seam); }
  body:not(.page-login) .mobile-more-panel > header b { font: 650 1.0625rem/1.2 var(--font-body); color: var(--lm-matte); }
  body:not(.page-login) .mobile-more-panel > header button { width: 44px; height: 44px; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view { gap: 0; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .nav-popover-label {
    padding: 18px 0 6px; color: var(--lm-matte-2); font: 600 .8125rem/1.2 var(--font-body); font-size: .8125rem !important; font-weight: 600 !important; line-height: 1.2 !important;
    letter-spacing: 0 !important; text-transform: none !important; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view > a { min-height: 56px; padding: 10px 0; border-radius: 0; border-top: 1px solid var(--lm-seam); color: var(--lm-matte); align-content: center; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view > a:first-of-type { border-top: 0; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .nav-popover-label + a { border-top: 0; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view > a b { font: 600 1rem/1.25 var(--font-body); }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view > a small { color: var(--lm-matte-2); font: 400 .8125rem/1.35 var(--font-body); }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view > a.on { background: none; color: var(--lm-matte); border: 0; border-top: 1px solid var(--lm-seam); border-radius: 0; outline: 0; box-shadow: none; position: relative; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view > a.on::before { content: ""; position: absolute; left: -12px; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--lm-key); } /* marker in the gutter; text stays aligned */
  body:not(.page-login) .mobile-more-panel .mobile-all-destinations { grid-template-columns: 1fr; }
  body:not(.page-login) .mobile-more-panel .mobile-all-trigger { min-height: 56px; padding: 10px 0; border-top: 1px solid var(--lm-seam); color: var(--lm-matte); font: 600 .9375rem/1.2 var(--font-body); }

  /* Open work in the Work sheet: a plain two-column list of counts, no boxes. */
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini { margin: 6px 0 4px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > header { padding: 12px 0 6px; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > header b { font: 600 .8125rem/1.2 var(--font-body); color: var(--lm-matte-2); text-transform: none; letter-spacing: 0; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > header .nav-icon, .mobile-sheet-view .custody-mini > header small { display: none; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--v2-5, 24px); }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > div a {
    display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 0; border: 0; border-top: 1px solid var(--lm-seam);
    border-radius: 0; background: none; color: var(--lm-matte-2); }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > div a b { font: 700 1rem/1 var(--font-num, var(--font-body)); color: var(--lm-matte); font-feature-settings: "tnum" 1; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > div a.is-critical b { color: var(--lm-critical); }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > div a span { font: 400 .875rem/1.3 var(--font-body); white-space: normal; overflow: visible; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > footer { padding: 6px 0 8px; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .custody-mini > footer a { color: var(--lm-matte); font: 600 .875rem/1.2 var(--font-body); text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .2em; }
  body:not(.page-login) .mobile-more-panel .mobile-sheet-view .dock-capture input { font-size: 16px; }
}

/* Primary buttons on phones and touch screens: a steady lamp ring instead of the spinning
   beam. In a still frame the beam reads as a glitch, and looping motion pulls the eye
   from the content. Desktop keeps the LUMEN beam. */
@media (max-width: 760px), (pointer: coarse) {
  :root body :is(.btn-primary, button.btn-primary, .adjudication-submit, .stack-open-source, .judgment-primary) {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--btn-lamp, var(--lm-key)) 55%, transparent) !important; }
  :root body :is(.btn-primary, button.btn-primary, .adjudication-submit, .stack-open-source, .judgment-primary)::before { animation: none; opacity: 0; }
}
