/* Page system v2 — admin family. Owned by one rebuild stream; shared primitives live in system.css.
   Settings, Connections, Apps & Sources, Staff, Agents, Skills, Capabilities, Models,
   Claude Code, Label audit, Sweep, The book, Maestro. Everything here is scoped to
   .v2-admin so no other family is touched. */

/* Page header: the old panel (gradient, glow ring, rule) becomes plain type. ------- */
.v2.v2-admin { max-width: 1240px; }
.v2.v2-admin > .page-header { min-height: 0; margin: 0; padding: var(--v2-5) 0 var(--v2-4); overflow: visible;
  border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2-admin > .page-header::before, .v2.v2-admin > .page-header::after { display: none; }
.v2.v2-admin > .page-header .page-eyebrow::before { display: none; }
.v2.v2-admin > .page-header h1 { margin: var(--v2-1) 0 0; font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; }
/* Phones used to clamp the description to five lines; v2 shows it whole. */
.v2.v2-admin > .page-header p { display: block; -webkit-line-clamp: unset; overflow: visible; max-width: 68ch; margin: var(--v2-3) 0 0; font-size: var(--v2-text); line-height: 1.5; color: var(--lm-matte-2); }
.v2.v2-admin > .v2-now { margin: var(--v2-5) 0 0; padding-bottom: var(--v2-2); }
.v2.v2-admin > .v2-now div.v2-now-fact:not(:has(.v2-now-link)):hover { border-top-color: var(--lm-seam-strong); }
.v2.v2-admin .v2-headline { margin-top: var(--v2-2); }

.v2-admin .admin-flash { position: relative; margin: var(--v2-4) 0 0; padding: 0 0 0 var(--v2-4); }
.v2-admin .admin-flash::before { content: ""; position: absolute; inset: 2px auto 2px 0; width: 2px; border-radius: 1px; background: var(--lm-positive); }
.v2-admin .admin-flash.errc::before { background: var(--lm-critical); }

/* In-page jump row: quiet links, wraps on phones, never scrolls the page sideways. */
.v2-admin .admin-jump { display: flex; flex-wrap: wrap; gap: var(--v2-1) var(--v2-4); margin: var(--v2-5) 0 0; padding: var(--v2-3) 0 0; border-top: var(--v2-hair); }
.v2-admin .admin-jump a { display: inline-flex; align-items: center; min-height: var(--v2-tap); color: var(--lm-matte-2); font-size: var(--v2-meta); font-weight: 600; text-decoration: none; }
.v2-admin .admin-jump a:hover { color: var(--lm-matte); }

/* Section heads may carry one action on the right. Section titles keep the display
   face: system.css sizes every h2 inside a section child as a sub-head. */
.v2.v2-admin .v2-section > .v2-section-head h2 { font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 700; letter-spacing: -.015em; margin: 0; }
.v2-admin .v2-section-head { flex-wrap: wrap; align-items: center; }
.v2-admin .v2-section-head form { margin: 0; }
.v2-admin .v2-section-head .v2-back { font-weight: 600; }
.v2-admin .v2-section h3 { margin: 0 0 var(--v2-2); font: 650 1.0625rem/1.35 var(--font-body); letter-spacing: 0; color: var(--lm-matte); }
.v2-admin .v2-section h4 { margin: 0; font: 650 var(--v2-text)/1.4 var(--font-body); }
.v2-admin .v2-note { max-width: 78ch; line-height: 1.55; }
.v2-admin .v2-note a, .v2-admin .admin-facts a { color: var(--lm-matte); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lm-seam-strong); }
.v2-admin small, .v2-admin .dim { font-size: max(var(--v2-meta), 1em); }

/* Folds: one counted line, no tray. */
.v2.v2-admin .fold-more { margin: var(--v2-4) 0 0; border-top: var(--v2-hair); }
.v2.v2-admin .fold-more > summary { min-height: 44px; padding: var(--v2-3) 0; font-size: var(--v2-text); font-weight: 600; color: var(--lm-matte-2); }
.v2.v2-admin .fold-more[open] > summary { margin-bottom: var(--v2-3); }

/* Tables: no panel, hairline rows, headers in sentence case. Phones scroll the table
   inside its own container. */
.v2.v2-admin .table-scroll { max-width: 100%; overflow-x: auto; margin: var(--v2-3) 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2-admin table { width: 100%; border-collapse: collapse; margin: 0; background: none; border: 0; box-shadow: none; }
.v2.v2-admin :is(th, td), body .v2.v2-admin .lumen-instrumented-table :is(th, td) { padding: var(--v2-3) var(--v2-3) var(--v2-3) 0; border: 0; border-bottom: var(--v2-hair); background: none; text-align: left; vertical-align: middle; }
.v2.v2-admin thead th, .v2.v2-admin .lumen-instrumented-table thead th { position: static; padding: var(--v2-2) var(--v2-3) var(--v2-2) 0; background: none; backdrop-filter: none; border-bottom: var(--v2-rule); }
.v2.v2-admin th { font-size: var(--v2-meta) !important; font-weight: 600; color: var(--lm-matte-2); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.v2.v2-admin td { font-size: var(--v2-text); }
/* app.css clips every td to 34ch on one line with an ellipsis; admin cells wrap and show
   all their text instead, so an error or a button is never cut mid-word. */
.v2.v2-admin td { max-width: none; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: normal; word-break: normal; }
.v2.v2-admin table.lumen-instrumented-table { min-width: 0; }
body .v2.v2-admin :is(.connection-contracts, .sweep-rules, .cap-registry) td { vertical-align: top; }
.v2.v2-admin .lumen-instrumented-table td > small { font-size: var(--v2-meta); line-height: 1.45; color: var(--lm-matte-2); }
/* Phones: lumen-revamp pins the first column (156px, sticky) and it slides over the
   controls in later columns. Admin tables scroll as one piece instead. */
@media (max-width: 760px) {
  /* lumen-revamp sizes phone tables to max-content, which lays long text out on one
     line; at 100% long text wraps and only real minimum widths scroll sideways. */
  body .v2.v2-admin table.lumen-instrumented-table { width: 100%; }
  .v2.v2-admin .lumen-instrumented-table :is(th, td):first-child { position: static; width: auto; max-width: none; background: none; box-shadow: none; }
}
.v2.v2-admin tr:hover > td { background: none; }
.v2.v2-admin .lumen-table-shell, .v2.v2-admin .lumen-table-frame { border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; }
.v2.v2-admin .lumen-table-toolbar { padding-inline: 0; }
.v2-admin .admin-cell-note { display: block; margin-top: var(--v2-1); color: var(--lm-matte-2); max-width: 46ch; }

/* Forms: labels above controls, controls at least 44px, no boxes around groups. */
.v2-admin .admin-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--v2-4) var(--v2-5); align-items: end; margin: var(--v2-4) 0 0; }
.v2-admin .admin-form-grid .admin-wide { grid-column: 1 / -1; }
.v2-admin .admin-form-actions { display: flex; flex-wrap: wrap; gap: var(--v2-2); align-items: center; }
.v2-admin .admin-check { display: flex; gap: var(--v2-2); align-items: center; min-height: 44px; }
.v2-admin .field small { display: block; margin-top: var(--v2-1); color: var(--lm-matte-2); }
.v2-admin :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) { min-height: 44px; font-size: var(--v2-text); }
.v2-admin textarea { min-height: 88px; }
.v2-admin .admin-actions-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--v2-4) var(--v2-5); margin: var(--v2-5) 0 0; }
.v2-admin .admin-actions-row form { display: grid; gap: var(--v2-2); justify-items: start; }
.v2-admin .admin-actions-row small { color: var(--lm-matte-2); }

/* Checkboxes are plain rows, not tiles; the check itself carries the state. */
.v2.v2-admin :is(.setting-check, .tool-check, .check) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2-admin :is(.setting-check, .tool-check, .check):has(input:checked) { background: none; box-shadow: none; color: var(--lm-matte); }
/* Grouped forms lose their old tray. */
.v2.v2-admin :is(.terminology-detection, .equality-map-form, .metric-import-form, .role-grid, .stack-form) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }

/* Plain list rows and fact lists. */
.v2-admin .admin-list { list-style: none; margin: var(--v2-3) 0 0; padding: 0; }
.v2-admin .admin-list > li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 8rem) minmax(0, 1fr); gap: var(--v2-1) var(--v2-4); padding: var(--v2-3) 0; border-bottom: var(--v2-hair); }
.v2-admin .admin-list > li > small { color: var(--lm-matte-2); }
.v2-admin .admin-facts { display: grid; gap: 0; margin: 0; }
.v2-admin .admin-facts > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--v2-4); padding: var(--v2-3) 0; border-bottom: var(--v2-hair); }
.v2-admin .admin-facts dt { color: var(--lm-matte-2); font-size: var(--v2-meta); font-weight: 600; }
.v2-admin .admin-facts dd { margin: 0; overflow-wrap: anywhere; }
.v2-admin code { font-family: inherit; font-size: .95em; padding: 0 .3em; border-radius: 4px; background: color-mix(in srgb, var(--lm-matte) 7%, transparent); overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .v2.v2-admin > .page-header { padding-top: var(--v2-3); }
  .v2-admin .admin-list > li { grid-template-columns: minmax(0, 1fr) auto; }
  .v2-admin .admin-list > li > small { grid-column: 1 / -1; }
  .v2-admin .admin-facts > div { grid-template-columns: 1fr; gap: var(--v2-1); }
}

/* Settings ------------------------------------------------------------------------ */
.v2-settings .admin-lanes td:first-child { min-width: 14rem; }
.v2-settings .settings-lane-cadence { display: flex; flex-wrap: nowrap; gap: var(--v2-2); align-items: center; margin: 0; }
.v2-settings .settings-lane-cadence .field { margin: 0; min-width: 9rem; }
.v2-settings .settings-lane-cadence .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v2-settings .settings-lane-cadence input { width: 10rem; }
.v2-settings td .inline-action { margin: 0; }
.v2-settings td :is(button, .btn-mini) { min-height: var(--v2-tap); white-space: nowrap; }
.v2-settings .admin-governor :is(select, input) { width: 6rem; min-width: 0; }
.v2-settings .admin-governor td:first-child { min-width: 13rem; }
.v2-settings .admin-lanes .admin-cell-note { margin-top: var(--v2-1); }
.v2-settings .admin-reason-form { display: flex; gap: var(--v2-2); align-items: center; margin: 0 0 var(--v2-2); }
.v2-settings .admin-reason-form .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v2-settings .admin-policy h3 { margin-bottom: 0; }

/* Policy forms: a two-column list of plain fields, no tile per field. */
.v2-settings .settings-thresholds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--v2-5) var(--v2-6); margin: var(--v2-4) 0 0; padding: 0; border: 0; background: none; }
.v2.v2-settings .settings-thresholds > .setting-threshold { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2-settings .settings-thresholds > form.setting-threshold > button { justify-self: start; }
.v2-settings .setting-threshold { display: grid; gap: var(--v2-1); align-content: start; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2-settings .setting-threshold.field, .v2-settings .setting-threshold > .field { display: grid; gap: var(--v2-1); margin: 0; }
.v2-settings .setting-threshold :is(b) { font-size: var(--v2-text); font-weight: 600; color: var(--lm-matte); }
.v2-settings .setting-threshold > span, .v2-settings .setting-threshold .field > span, .v2-settings .setting-threshold small { font-size: var(--v2-meta); line-height: 1.45; color: var(--lm-matte-2); }
.v2-settings .setting-threshold-wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--v2-3); align-items: center; }
.v2-settings .setting-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--v2-3); align-items: start; }
.v2-settings .setting-check input { margin-top: 3px; width: 18px; height: 18px; }
.v2-settings .setting-check > span { display: grid; gap: var(--v2-1); }
.v2-settings .setting-check small { display: block; }

/* Terminology */
.v2.v2-settings .terminology-detection { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin-top: var(--v2-5); }
.v2-settings .terminology-detection h3 { margin: 0; }
.v2-settings .terminology-create-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--v2-6); margin: 0; padding: 0; border: 0; background: none; }
.v2-settings .terminology-form { display: grid; gap: var(--v2-3); align-content: start; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.v2-settings .terminology-form > button { justify-self: start; }
.v2-settings .terminology-rule-list { display: grid; gap: 0; margin: var(--v2-3) 0 0; padding: 0; border: 0; background: none; }
.v2-settings .terminology-rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--v2-3) var(--v2-5); align-items: center; margin: 0; padding: var(--v2-4) 0; border: 0; border-bottom: var(--v2-hair); border-radius: 0; background: none; box-shadow: none; }
.v2-settings details.terminology-rule { display: block; }
.v2-settings details.terminology-rule > summary { display: flex; justify-content: space-between; gap: var(--v2-4); cursor: pointer; list-style: none; }
.v2-settings .terminology-rule h4 span { font-weight: 500; color: var(--lm-matte-2); }
.v2-settings .terminology-rule p { margin: var(--v2-1) 0 0; color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2-settings .terminology-rule small { display: block; margin-top: var(--v2-1); color: var(--lm-matte-3); max-width: 70ch; }
.v2-settings .terminology-actions { display: flex; gap: var(--v2-2); }
.v2-settings .terminology-actions form { margin: 0; }
.v2-settings .terminology-edit-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--v2-3); align-items: end; margin: var(--v2-3) 0 0; }
@media (max-width: 640px) {
  .v2-settings .terminology-rule { grid-template-columns: minmax(0, 1fr); }
}

/* Connections --------------------------------------------------------------------- */
.v2-connections .connection-gallery-group { display: flex; gap: var(--v2-2); align-items: baseline; margin: 0 0 var(--v2-2); font: 650 1.0625rem/1.35 var(--font-body); color: var(--lm-matte); }
.v2-connections .connection-gallery-group.is-attention { color: var(--lm-lamp-gold); }
.v2-connections .connection-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 var(--v2-6); }
.v2.v2-connections .connection-tile { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "logo copy state" "logo copy action";
  align-items: center; gap: var(--v2-1) var(--v2-4); min-height: 0; margin: 0; padding: var(--v2-4) 0; border: 0; border-bottom: var(--v2-hair); border-radius: 0; background: none; box-shadow: none; opacity: 1; }
.v2-connections .connection-tile-logo { grid-area: logo; width: 32px; height: 32px; border-radius: 8px; background: var(--lm-matte); -webkit-mask: var(--logo) center/22px no-repeat; mask: var(--logo) center/22px no-repeat; }
.v2-connections .connection-tile-logo.is-monogram { display: grid; place-items: center; -webkit-mask: none; mask: none; background: none; color: var(--lm-matte-2); font-weight: 700; border: 1px solid var(--lm-seam-strong); }
.v2-connections .connection-tile-copy { grid-area: copy; min-width: 0; display: grid; gap: 2px; }
.v2-connections .connection-tile-copy b { font-size: var(--v2-text); font-weight: 650; }
.v2-connections .connection-tile-copy span { color: var(--lm-matte-2); font-size: var(--v2-meta); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-connections .connection-tile-state { grid-area: state; justify-self: end; font-style: normal; font-size: var(--v2-meta); color: var(--lm-matte-2); white-space: nowrap; }
.v2-connections .connection-tile.is-connected .connection-tile-state { color: var(--lm-positive); }
.v2-connections .connection-tile.is-attention .connection-tile-state { color: var(--lm-lamp-gold); }
.v2-connections .connection-tile > :is(button, a, form) { grid-area: action; justify-self: end; margin: 0; }
.v2-connections .connection-tile :is(button, a.btn-secondary) { min-height: var(--v2-tap); padding: 0 var(--v2-4); white-space: nowrap; }

/* Arriving: one row per source; the bars answer "did anything come in each day?" */
.v2-connections .source-fresh-list { list-style: none; margin: var(--v2-3) 0 0; padding: 0; }
.v2.v2-connections .source-fresh-list > li { display: grid; grid-template-columns: minmax(8rem, 12rem) 112px minmax(0, 1fr) 9rem auto; align-items: center; gap: var(--v2-2) var(--v2-4);
  min-height: 52px; margin: 0; padding: var(--v2-3) 0; border: 0; border-bottom: var(--v2-hair); border-radius: 0; background: none; }
.v2-connections .source-fresh-list b { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.v2-connections .source-fresh-bars { display: flex; align-items: flex-end; gap: 2px; height: 26px; }
.v2-connections .source-fresh-bars i { flex: 1; min-width: 0; border-radius: 1.5px; background: var(--lm-fill); opacity: .9; }
.v2-connections .source-fresh-bars i.zero { background: var(--lm-matte-4); opacity: .6; }
.v2-connections .source-fresh-read { color: var(--lm-matte-2); font-size: var(--v2-meta); font-feature-settings: "tnum" 1; min-width: 0; }
.v2-connections .source-fresh-read small { display: block; color: var(--lm-matte-3); overflow-wrap: anywhere; }
.v2-connections .source-fresh-list em { font-style: normal; font-size: var(--v2-meta); font-weight: 600; color: var(--lm-matte-2); }
.v2-connections .source-fresh-list li.is-dark em { color: var(--lm-critical); }
.v2-connections .source-fresh-list li.is-dark .source-fresh-bars i { background: var(--lm-critical); }
.v2-connections .source-fresh-list li:is(.is-stumbling, .is-needs_credential) em { color: var(--lm-lamp-gold); }
.v2-connections .source-fresh-list li.is-flowing em { color: var(--lm-positive); }
.v2-connections .source-fresh-connect { min-height: 44px; padding: 0 var(--v2-4); }

/* Google accounts */
.v2-connections .admin-google-form { display: grid; gap: var(--v2-1); margin: 0; }
.v2-connections .admin-google-form .admin-form-actions { margin-top: var(--v2-3); }
.v2-connections .admin-account h3 { display: flex; flex-wrap: wrap; gap: var(--v2-3); align-items: baseline; overflow-wrap: anywhere; }
.v2-connections .admin-account h3 span { font-size: var(--v2-meta); font-weight: 600; }
.v2-connections .admin-account-actions { display: flex; flex-wrap: wrap; gap: var(--v2-2); align-items: center; margin-top: var(--v2-3); }
.v2-connections .admin-account-actions form { margin: 0; }
.v2-connections .admin-account-actions button { min-height: var(--v2-tap); white-space: nowrap; }
.v2-connections .admin-inline-field { display: flex; flex-wrap: nowrap; gap: var(--v2-2); align-items: center; }
.v2-connections .admin-inline-field .field { margin: 0; }
.v2-connections .admin-inline-field input { width: 12rem; min-height: var(--v2-tap); }
.v2-connections .admin-inline-field .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v2-connections .connection-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--lm-matte-3); vertical-align: middle; }
.v2-connections .connection-dot:is(.is-ok, .is-healthy) { background: var(--lm-positive); }
.v2-connections .connection-dot.is-error { background: var(--lm-critical); }

/* Contracts table */
.v2.v2-connections .connection-contracts td { vertical-align: top; }
.v2.v2-connections .connection-contracts tr.contract-row { border: 0; background: none; box-shadow: none; }
.v2-connections .contract-name { min-width: 16rem; width: 46%; }
.v2-connections .connection-contracts td:nth-child(3) { min-width: 9.5rem; }
.v2-connections .connection-contracts td:nth-child(4) { min-width: 8rem; }
.v2-connections .contract-role { margin-left: var(--v2-2); color: var(--lm-matte-3); font-size: var(--v2-meta); white-space: nowrap; }
.v2-connections .connection-contracts td > small { display: block; color: var(--lm-matte-2); }
.v2-connections .contract-name small { display: block; margin-top: var(--v2-1); color: var(--lm-matte-2); line-height: 1.45; }
.v2-connections .contract-name small.contract-error { color: var(--lm-critical); }
.v2-connections .contract-name small.warnc { color: var(--lm-lamp-gold); }
.v2.v2-connections td.contract-health { white-space: nowrap; font-weight: 600; border: 0; border-bottom: var(--v2-hair); border-radius: 0; background: none; padding: var(--v2-3) var(--v2-3) var(--v2-3) 0; font-size: var(--v2-text); }
.v2-connections tr.is-healthy td.contract-health { color: var(--lm-positive); }
.v2-connections tr:is(.is-error, .is-stale) td.contract-health { color: var(--lm-critical); }
.v2-connections tr:is(.is-unverified, .is-credential_only) td.contract-health { color: var(--lm-lamp-gold); }
.v2.v2-connections td.contract-actions { display: table-cell; min-width: 10rem; }
/* Actions stack in their own column so the table fits the page at 1440. */
.v2-connections .contract-actions > :is(form, div) { display: flex; margin: 0 0 var(--v2-2); }
.v2.v2-connections .contract-actions .connection-editor-launch { padding: 0; border: 0; }
.v2-connections .contract-actions small { display: block; color: var(--lm-matte-2); }
.v2.v2-connections .contract-actions .inline-action button, .v2-connections .contract-actions button { min-height: var(--v2-tap); white-space: nowrap; }
.v2-connections .contract-guide > summary { cursor: pointer; color: var(--lm-matte-2); font-size: var(--v2-meta); margin-top: var(--v2-1); }
.v2-connections .contract-guide p { white-space: pre-wrap; font-size: var(--v2-meta); color: var(--lm-matte-2); }
.v2.v2-connections .connection-wiring .lumen-insight-environment { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }

@media (max-width: 760px) {
  .v2.v2-connections .source-fresh-list > li { grid-template-columns: minmax(0, 1fr) 96px auto; }
  .v2-connections .source-fresh-read { grid-column: 1 / -1; grid-row: 2; }
  .v2-connections .source-fresh-connect { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .v2-connections .connection-tile :is(button, a.btn-secondary) { min-height: 44px; }
  .v2-connections .contract-name { min-width: 13rem; }
}

/* The Staff ----------------------------------------------------------------------- */
.v2-staff .staff-list { display: grid; gap: 0; }
.v2-staff .staff-row { display: grid; gap: var(--v2-2); padding: var(--v2-4); border-bottom: var(--v2-hair); border-left: 2px solid transparent; }
.v2-staff .staff-row.is-failed { border-left-color: var(--lm-critical); }
.v2-staff .staff-section-on_shift .staff-row { border-left-color: var(--lm-fill); }
.v2-staff .staff-row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--v2-1) var(--v2-4); }
.v2-staff .staff-row-head h3 { margin: 0; font: 650 1.0625rem/1.35 var(--font-body); }
.v2-staff .staff-row-head h3 a { color: var(--lm-matte); text-decoration: none; }
.v2-staff .staff-row-head h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v2-staff .staff-emoji { color: var(--lm-matte-3); }
.v2-staff .staff-row-kind { color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2-staff .staff-state-off { color: var(--lm-lamp-gold); }
.v2-staff .staff-job { margin: 0; max-width: 80ch; color: var(--lm-matte-2); }
.v2-staff .staff-facts { display: flex; flex-wrap: wrap; gap: var(--v2-1) var(--v2-5); margin: 0; }
.v2-staff .staff-facts > div { display: flex; gap: var(--v2-2); align-items: baseline; }
.v2-staff .staff-facts dt { color: var(--lm-matte-3); font-size: var(--v2-meta); font-weight: 600; }
.v2-staff .staff-facts dd { margin: 0; font-size: var(--v2-meta) !important; color: var(--lm-matte); }
.v2-staff .staff-facts dd.dim { color: var(--lm-matte-2); }
.v2-staff .staff-guidance { position: relative; padding: 0 0 0 var(--v2-4); }
.v2-staff .staff-guidance::before { content: ""; position: absolute; inset: 2px auto 2px 0; width: 2px; background: var(--lm-seam-strong); }
.v2-staff .staff-guidance ul { margin: var(--v2-1) 0 0; padding-left: 1.1rem; }
.v2-staff .staff-guidance-warning { margin: var(--v2-1) 0 0; color: var(--lm-lamp-gold); font-size: var(--v2-meta); }
.v2-staff .staff-more > summary { cursor: pointer; color: var(--lm-matte-2); font-size: var(--v2-meta); font-weight: 600; min-height: var(--v2-tap); display: flex; align-items: center; }
.v2-staff .staff-tools { margin: var(--v2-2) 0 0; color: var(--lm-matte-2); font-size: var(--v2-meta); max-width: 80ch; }
.v2-staff .staff-guide-form { display: grid; grid-template-columns: minmax(0, 32rem) auto; gap: var(--v2-3); align-items: start; margin: var(--v2-3) 0 0; }
.v2-staff .staff-guide-form button { margin-top: 28px; }
.v2.v2-staff .staff-footnote { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2-staff .staff-footnote ul { margin: 0; padding-left: 1.1rem; display: grid; gap: var(--v2-3); max-width: 80ch; color: var(--lm-matte-2); }
@media (max-width: 640px) {
  .v2-staff .staff-row { padding: var(--v2-4) var(--v2-3); }
  .v2-staff .staff-guide-form { grid-template-columns: minmax(0, 1fr); }
  .v2-staff .staff-guide-form button { margin-top: 0; justify-self: start; }
}

/* Capabilities -------------------------------------------------------------------- */
.v2-capabilities .cap-list { display: grid; gap: 0; }
.v2-capabilities .cap-proposal { display: grid; gap: var(--v2-2); padding: var(--v2-4) 0; border-bottom: var(--v2-hair); }
.v2-capabilities .cap-proposal:first-child { padding-top: 0; }
.v2-capabilities .cap-proposal h3 { margin: 0; overflow-wrap: anywhere; }
.v2-capabilities .cap-proposal p { margin: 0; max-width: 80ch; color: var(--lm-matte-2); overflow-wrap: anywhere; }
.v2.v2-capabilities .recommendation-timestamps { display: flex; flex-wrap: wrap; gap: var(--v2-1) var(--v2-4); margin: 0; padding: 0; border: 0; background: none; color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2-capabilities .recommendation-timestamps :is(time, span) { font-size: var(--v2-meta); }
.v2-capabilities .cap-decide { display: flex; flex-wrap: wrap; gap: var(--v2-2); margin: var(--v2-1) 0 0; }
.v2-capabilities .cap-decide button { min-height: var(--v2-tap); }
.v2-capabilities .cap-name { min-width: 14rem; max-width: 34rem; }
.v2-capabilities .cap-name small { display: block; margin-top: 2px; color: var(--lm-matte-2); }
.v2-capabilities .cap-name a { color: var(--lm-matte); }
.v2-capabilities .cap-name .cap-n8n { display: inline-block; margin-top: var(--v2-1); color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2.v2-capabilities .cap-registry td { white-space: normal; }
.v2-capabilities .cap-off > summary { cursor: pointer; margin-top: var(--v2-1); color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2-capabilities .cap-off p { margin: var(--v2-1) 0 0; color: var(--lm-matte-2); font-size: var(--v2-meta); overflow-wrap: anywhere; }
.v2-capabilities .cap-registry td { vertical-align: top; }
@media (max-width: 640px) { .v2-capabilities .cap-decide button { min-height: 44px; } }

/* Apps & Sources ------------------------------------------------------------------ */
.v2-sources .v2-headline { margin: var(--v2-2) 0 0; font-size: var(--v2-text); color: var(--lm-matte-2); }
.v2-sources .v2-headline b { color: var(--lm-matte); }
.v2.v2-sources .source-lens-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 var(--v2-5); margin: var(--v2-5) 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.v2.v2-sources .source-lens-tabs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--v2-2); align-items: baseline; padding: var(--v2-3) 0; border: 0; border-bottom: var(--v2-hair); border-radius: 0; background: none; box-shadow: none; color: var(--lm-matte-2); text-decoration: none; }
.v2.v2-sources .source-lens-tabs a:hover span { color: var(--lm-matte); }
.v2.v2-sources .source-lens-tabs a.is-active { background: none; box-shadow: none; border-bottom: 2px solid var(--lm-key); }
.v2.v2-sources .source-lens-tabs a.is-active span { color: var(--lm-matte); }
.v2.v2-sources .source-lens-tabs span { font-weight: 600; color: var(--lm-matte-2); font-size: var(--v2-text); }
.v2.v2-sources .source-lens-tabs b { font: 700 var(--v2-text)/1.2 var(--font-num); color: var(--lm-matte); font-feature-settings: "tnum" 1; }
.v2.v2-sources .source-lens-tabs small { grid-column: 1 / -1; color: var(--lm-matte-3); font-size: var(--v2-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2.v2-sources .source-lens-filters { display: grid; grid-template-columns: minmax(240px, 2fr) repeat(2, minmax(140px, 1fr)) auto; gap: var(--v2-3) var(--v2-4); align-items: end; margin: var(--v2-5) 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2-sources .source-lens-filters label { margin: 0; }
.v2.v2-sources .source-record-feed > header { padding: 0 0 var(--v2-3); }
.v2.v2-sources .source-record-feed { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2-sources .source-record-feed > .v2-note { margin: 0 0 var(--v2-3); }
.v2-sources .source-record-list { display: grid; }
.v2.v2-sources .source-record { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: var(--v2-1) var(--v2-5); padding: var(--v2-4) 0; border: 0; border-bottom: var(--v2-hair); background: none; }
.v2-sources .source-record-marker { display: grid; gap: 2px; align-content: start; }
.v2-sources .source-record-marker span { color: var(--lm-matte); font-size: var(--v2-meta); font-weight: 600; }
.v2-sources .source-record-marker small { color: var(--lm-matte-3); font-size: var(--v2-meta); }
.v2-sources .source-record-copy { min-width: 0; }
.v2-sources .source-record-copy h3 { margin: 0; font: 650 var(--v2-text)/1.4 var(--font-body); overflow-wrap: anywhere; }
.v2-sources .source-record-repeat { font-weight: 500; color: var(--lm-matte-2); }
.v2-sources .source-record-copy p { margin: var(--v2-1) 0 0; max-width: 90ch; color: var(--lm-matte-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-sources .source-record-copy small { display: block; margin-top: var(--v2-1); color: var(--lm-matte-3); font-size: var(--v2-meta); }
.v2-sources .source-record > :is(a, .source-record-retained) { align-self: start; font-size: var(--v2-meta); color: var(--lm-matte-2); white-space: nowrap; }
@media (max-width: 760px) {
  .v2.v2-sources .source-lens-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .v2.v2-sources .source-lens-filters .is-search { grid-column: 1 / -1; }
  .v2.v2-sources .source-record { grid-template-columns: minmax(0, 1fr) auto; }
  .v2-sources .source-record-marker { grid-template-columns: auto auto; justify-content: start; gap: var(--v2-2); }
  .v2-sources .source-record-copy { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .v2.v2-sources .source-lens-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--v2-4); }
}

/* Agents and Skills: a roster beside the selected worker; one column on phones. ---- */
.v2-admin .admin-split { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: var(--v2-7); align-items: start; margin-top: var(--v2-5); }
.v2-admin .admin-split-main { min-width: 0; }
.v2-admin .admin-split-main > .v2-section:first-child { padding-top: 0; }
.v2-admin .admin-roster { position: sticky; top: var(--v2-5); padding-top: 0; }
.v2-admin .admin-roster h2 { margin: 0 0 var(--v2-2); padding-bottom: var(--v2-3); border-bottom: var(--v2-rule); font: 700 1.25rem/1.2 var(--font-display); }
.v2-admin .admin-roster ul { list-style: none; margin: 0; padding: 0; }
.v2-admin .admin-roster li a { display: grid; gap: 2px; padding: var(--v2-4); border-bottom: var(--v2-hair); border-left: 2px solid transparent; color: var(--lm-matte); text-decoration: none; }
.v2-admin .admin-roster li a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.v2-admin .admin-roster li a.is-on { border-left-color: var(--lm-key); }
.v2-admin .admin-roster li a b { font-weight: 650; }
.v2-admin .admin-roster li a small { color: var(--lm-matte-2); }
.v2-admin .admin-command { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--v2-3); align-items: end; margin: var(--v2-4) 0 0; }
.v2-admin .admin-pre { max-height: 420px; overflow: auto; margin: var(--v2-3) 0 0; padding: var(--v2-4); border-radius: 8px; background: color-mix(in srgb, var(--lm-matte) 5%, transparent); font-family: var(--font-body); font-size: var(--v2-meta); line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.v2-admin .admin-result { margin-top: var(--v2-4); }
.v2-admin .admin-tools > summary { cursor: pointer; color: var(--lm-matte-2); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.v2-admin .tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--v2-1) var(--v2-4); margin: 0; padding: 0; border: 0; background: none; }
.v2-admin .agent-run { padding: var(--v2-4) 0; border-bottom: var(--v2-hair); }
.v2-admin .agent-run header { display: flex; flex-wrap: wrap; gap: var(--v2-1) var(--v2-3); align-items: baseline; }
.v2-admin .agent-run header small { color: var(--lm-matte-2); }
.v2-admin .agent-run details > summary { cursor: pointer; color: var(--lm-matte-2); font-size: var(--v2-meta); margin-top: var(--v2-2); }
.v2-admin .agent-feedback { display: flex; flex-wrap: wrap; gap: var(--v2-2); align-items: center; margin: var(--v2-3) 0 0; }
.v2-admin .agent-feedback .field { flex: 1 1 100%; margin: 0; }
.v2-admin .agent-feedback :is(button, a) { min-height: var(--v2-tap); }
.v2-admin .agent-feedback .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v2-admin .agent-feedback-list { list-style: none; margin: 0; padding: 0; }
.v2-admin .agent-feedback-list li { padding: var(--v2-3) 0; border-bottom: var(--v2-hair); }
.v2-admin .agent-feedback-list small { display: block; margin-top: 2px; color: var(--lm-matte-2); }
@media (max-width: 900px) {
  .v2-admin .admin-split { grid-template-columns: minmax(0, 1fr); gap: var(--v2-5); }
  .v2-admin .admin-roster { position: static; }
  .v2-admin .admin-command { grid-template-columns: minmax(0, 1fr); }
  .v2-admin .admin-command > button { justify-self: start; }
}

/* Claude Code queue */
.v2-claude .claude-list { display: grid; margin-top: var(--v2-3); }
.v2-claude .claude-task { display: grid; gap: var(--v2-2); padding: var(--v2-4) 0; border-bottom: var(--v2-hair); }
.v2-claude .claude-task header { display: flex; gap: var(--v2-3); align-items: baseline; }
.v2-claude .claude-task h3 { margin: 0; overflow-wrap: anywhere; }
.v2-claude .claude-status { flex: none; font-size: var(--v2-meta); font-weight: 600; color: var(--lm-matte-2); }
.v2-claude .claude-meta { margin: 0; color: var(--lm-matte-2); font-size: var(--v2-meta); overflow-wrap: anywhere; }
.v2-claude .claude-task form { margin: 0; }
.v2-claude .claude-result > summary { cursor: pointer; color: var(--lm-matte-2); font-size: var(--v2-meta); font-weight: 600; }

/* Label audit */
.v2-audit .audit-list { display: grid; }
.v2-audit .audit-row { display: grid; gap: var(--v2-2); padding: var(--v2-4) 0 var(--v2-5); border-bottom: var(--v2-hair); }
.v2-audit .audit-row h3 { margin: 0; max-width: 80ch; }
.v2-audit .audit-type { display: block; margin-bottom: 2px; color: var(--lm-matte-2); font-size: var(--v2-meta); font-weight: 600; }
.v2-audit .audit-row blockquote { position: relative; margin: 0; padding-left: var(--v2-4); max-width: 80ch; color: var(--lm-matte-2); }
.v2-audit .audit-row blockquote::before { content: ""; position: absolute; inset: 2px auto 2px 0; width: 2px; background: var(--lm-seam-strong); }
.v2-audit .audit-meta { margin: 0; color: var(--lm-matte-3); font-size: var(--v2-meta); overflow-wrap: anywhere; }
.v2-audit .audit-mark { display: flex; gap: var(--v2-2); margin: var(--v2-1) 0 0; }
.v2-audit .audit-mark button { min-height: 44px; min-width: 96px; }
.v2-audit .audit-verdict { margin: 0; font-weight: 600; }

/* Sweep */
.v2-sweep .sweep-rule { min-width: 16rem; width: 44%; }
.v2-sweep .sweep-history { white-space: nowrap; }
.v2-sweep .sweep-history small { display: block; color: var(--lm-matte-2); }
.v2-sweep .sweep-rule small { display: block; margin-top: 2px; color: var(--lm-matte-2); }
.v2-sweep .sweep-rules td { vertical-align: top; }
.v2-sweep .sweep-threshold { display: flex; gap: var(--v2-2); align-items: center; margin: 0; }
.v2-sweep .sweep-threshold .field { margin: 0; }
.v2-sweep .sweep-threshold .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v2-sweep .sweep-threshold input { width: 5.5rem; }
.v2-sweep .sweep-threshold .field { width: 5.5rem; }
.v2-sweep .sweep-rules td:nth-child(4) { min-width: 14.5rem; }
.v2-sweep .sweep-unit { color: var(--lm-matte-2); font-size: var(--v2-meta); }
/* Apply and Undo stack in one cell so the table fits the page at 1440. */
.v2-sweep .sweep-run { width: 1%; }
.v2-sweep .sweep-run form { display: block; margin: 0 0 var(--v2-2); }
.v2-sweep .sweep-run button { width: 100%; white-space: nowrap; }
.v2-sweep .sweep-threshold { flex-wrap: nowrap; }
.v2-sweep .sweep-threshold button { flex: none; }
/* Inline label + input + Save rows: the label never shrinks under its own input. */
.v2-admin :is(.sweep-threshold, .settings-lane-cadence, .admin-inline-field, .admin-reason-form) > .field { flex: none; }
.v2-sweep .sweep-run button, .v2-sweep .sweep-threshold button { min-height: var(--v2-tap); }

/* Models */
.v2.v2-models .admin-figure { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.v2.v2-models .admin-figure .lumen-visual-finding { padding: 0; border: 0; background: none; box-shadow: none; }
.v2.v2-models .admin-figure .lumen-visual-evidence { padding: var(--v2-3) 0 0; border: 0; border-top: var(--v2-hair); background: none; display: flex; flex-wrap: wrap; gap: var(--v2-1) var(--v2-4); color: var(--lm-matte-2); font-size: var(--v2-meta); }
.v2.v2-models .admin-figure .lumen-visual-evidence span { font-size: var(--v2-meta); }
.v2.v2-models .model-catalog td:first-child { overflow-wrap: anywhere; min-width: 14rem; }
/* Model ids are long: role pickers get room to show the whole id. */
.v2.v2-models .role-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.v2.v2-models .role-grid select { width: 100%; text-overflow: ellipsis; }

/* Maestro: the conductor draws its own panes inside its shadow root, so the page
   drops the outer panel that used to frame them. */
.v2.v2-chat { max-width: none; }
body.page-chat .v2-chat .maestro-server-shell { border: 0; border-radius: 0; background: none; box-shadow: none; }

/* The book ------------------------------------------------------------------------ */
.v2.v2-book { max-width: 1240px; }
.v2-book .book-chart { width: 100%; height: 360px; }
.v2-book .book-chart-field { height: 440px; }
.v2-book .book-bars { display: grid; gap: var(--v2-2); margin: var(--v2-3) 0 var(--v2-4); }
.v2-book .book-bar { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 5.5rem; gap: var(--v2-3); align-items: center; }
.v2-book .book-bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-book .book-bar-track { height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--lm-matte) 8%, transparent); overflow: hidden; }
.v2-book .book-bar-track i { display: block; height: 100%; border-radius: 6px; background: var(--lm-lamp-gold); }
.v2-book .book-bar-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--lm-matte-2); }
.v2-book .book-spark { margin: var(--v2-2) 0 var(--v2-3); }
.v2-book .book-spark svg { display: block; width: 100%; height: 72px; overflow: visible; }
.v2-book .book-spark-own { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: book-draw 1.1s var(--lm-ease-out, ease-out) .1s forwards; }
@keyframes book-draw { to { stroke-dashoffset: 0; } }
.v2-book .book-spark-key { display: flex; gap: var(--v2-4); align-items: center; font-size: var(--v2-meta); color: var(--lm-matte-2); margin-top: var(--v2-1); }
.v2-book .book-spark-key i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.v2-book .book-spark-key i.is-peer { background: none; border-top: 2px dashed var(--lm-matte-3); height: 0; }
.v2-book .os-partner.is-flashed { animation: book-flash 1.6s cubic-bezier(.2, .8, .2, 1); }
@keyframes book-flash { 0% { box-shadow: 0 0 0 2px var(--lm-lamp-rose); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) {
  .v2-book .book-spark-own { animation: none; stroke-dashoffset: 0; }
  .v2-book .os-partner.is-flashed { animation: none; outline: 2px solid var(--lm-lamp-rose); }
}

/* Sections and the figure lose their panels; one rule above each question. */
.v2.v2-book :is(.os-q, .os-figure) { margin: var(--v2-7) 0 0; padding: var(--v2-5) 0 0; border: 0; border-top: var(--v2-rule); border-radius: 0; background: none; box-shadow: none; }
.v2.v2-book .os-q > h2 { margin: var(--v2-2) 0 var(--v2-2); }
.v2.v2-book .os-q > p, .v2.v2-book .os-note { font-size: var(--v2-meta); }
.v2.v2-book .os-q > p:not(.os-note) { font-size: var(--v2-text); }
.v2.v2-book .os-alert { margin: var(--v2-4) 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.v2.v2-book .os-alert b { color: var(--lm-lamp-rose); }
.v2.v2-book .os-row-head, .v2.v2-book .os-row-head span { font-size: var(--v2-meta); }
.v2.v2-book .os-why dt { font-size: var(--v2-meta); }
.v2.v2-book .os-partner-num small, .v2.v2-book .os-partner > footer { font-size: var(--v2-meta); }
.v2.v2-book .os-partners { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 0 var(--v2-6); margin-top: var(--v2-4); }
.v2.v2-book .os-partner { padding: var(--v2-4) 0 var(--v2-5); border: 0; border-bottom: var(--v2-hair); border-radius: 0; background: none; box-shadow: none; }
.v2.v2-book .os-partner h3 { white-space: normal; }
.v2.v2-book .os-more blockquote { position: relative; margin: var(--v2-2) 0; padding: 0 0 0 var(--v2-4); border: 0; border-radius: 0; background: none; }
.v2.v2-book .os-more blockquote::before { content: ""; position: absolute; inset: 2px auto 2px 0; width: 2px; background: var(--lm-lamp-iris); }
.v2.v2-book .os-more > summary { color: var(--lm-matte-2); font-size: var(--v2-meta); font-weight: 600; min-height: var(--v2-tap); }
.v2.v2-book .book-health { grid-template-columns: repeat(2, minmax(0, 220px)); margin: var(--v2-4) 0 0; }
.v2.v2-book .fold-more .os-partners { margin-top: 0; }
@media (max-width: 640px) {
  .v2-book .book-chart { height: 300px; }
  .v2-book .book-chart-field { height: 380px; }
  .v2-book .book-bar { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr) 4.8rem; }
  /* Phones keep every column: the comparison table scrolls inside itself. */
  .v2.v2-book .os-rows { overflow-x: auto; }
  .v2.v2-book .os-rows > .os-row { min-width: 560px; grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); }
  .v2.v2-book .os-rows-people > .os-row { min-width: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .v2.v2-book .os-row > :nth-child(3), .v2.v2-book .os-row > :nth-child(4) { display: block; }
  .v2.v2-book .book-health { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
