@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&family=Space+Grotesk:wght@700&display=swap");

:root {
  --op-font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --op-font-wordmark: "Space Grotesk", var(--op-font-ui);

  --op-navy-950: #0f172a;
  --op-navy-900: #111827;
  --op-blue-600: #2563eb;
  --op-blue-500: #3b82f6;
  --op-blue-100: #dbeafe;
  --op-slate-700: #334155;
  --op-slate-600: #475569;
  --op-slate-500: #64748b;
  --op-slate-400: #94a3b8;
  --op-slate-200: #e2e8f0;
  --op-slate-100: #f1f5f9;
  --op-slate-50: #f8fafc;
  --op-white: #ffffff;

  --op-green-600: #16a34a;
  --op-green-50: #f0fdf4;
  --op-amber-600: #d97706;
  --op-amber-50: #fffbeb;
  --op-red-600: #dc2626;
  --op-red-50: #fef2f2;

  /* Shared semantic status palette, including legacy badges. Text pairs exceed 4.5:1. */
  --op-status-blue-fg: #1d4ed8;
  --op-status-blue-bg: #eff6ff;
  --op-status-blue-border: #bfdbfe;
  --op-status-green-fg: #166534;
  --op-status-green-bg: #f0fdf4;
  --op-status-green-border: #bbf7d0;
  --op-status-amber-fg: #92400e;
  --op-status-amber-bg: #fffbeb;
  --op-status-amber-border: #fed7aa;
  --op-status-red-fg: #991b1b;
  --op-status-red-bg: #fef2f2;
  --op-status-red-border: #fecaca;
  --op-status-neutral-fg: #475569;
  --op-status-neutral-bg: #f8fafc;
  --op-status-neutral-border: #e2e8f0;

  --op-radius-xs: 6px;
  --op-radius-sm: 8px;
  --op-radius-md: 12px;
  --op-radius-lg: 16px;

  --op-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --op-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --op-shadow-md: 0 18px 48px rgba(15, 23, 42, 0.08);
  --op-focus: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

/* OpsProof scoped UI layer
   Wrap new or redesigned screens in `.op-scope` before using these classes.
   This prevents legacy selectors such as `.data-panel`, `.status-pill`,
   `.primary-button`, and `.data-table` from defining the new visual system. */

.op-scope {
  color: var(--op-navy-950);
  font-family: var(--op-font-ui);
  font-weight: 500;
}

.op-scope *,
.op-scope *::before,
.op-scope *::after {
  box-sizing: border-box;
}

.op-scope :where(h1, h2, h3, h4, p, figure) {
  margin: 0;
}

.op-scope :where(button, input, select, textarea) {
  font: inherit;
}

.op-scope :where(button, [role="button"], a) {
  -webkit-tap-highlight-color: transparent;
}

.op-scope .op-page {
  margin: 0 auto;
  max-width: 100%;
  min-width: 0;
  padding: 24px;
  width: 100%;
}

.op-scope .op-stack {
  display: grid;
  gap: 16px;
}

.op-scope .op-stack--sm {
  gap: 12px;
}

.op-scope .op-stack--lg {
  gap: 22px;
}

.op-scope .op-page-header {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-lg);
  box-shadow: var(--op-shadow-xs);
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px;
}

.op-scope .op-page-header__top {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  min-width: 0;
}

.op-scope .op-page-header__copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.op-scope .op-eyebrow {
  color: var(--op-slate-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.op-scope .op-title {
  color: var(--op-navy-950);
  font-size: clamp(1.35rem, 1.05rem + 0.8vw, 1.82rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.op-scope .op-section-title {
  color: var(--op-navy-950);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.op-scope .op-card-title {
  color: var(--op-navy-950);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}

.op-scope .op-body {
  color: var(--op-slate-600);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
}

.op-scope .op-meta {
  color: var(--op-slate-500);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.op-scope .op-stat-value {
  color: var(--op-navy-950);
  font-size: clamp(1.4rem, 1.08rem + 0.72vw, 1.86rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.op-scope .op-stat-value--text {
  font-size: 0.95rem;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.op-scope .op-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.op-scope .op-card-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .op-card-grid > :only-child {
  grid-column: 1 / -1;
}

.op-scope .domain-support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .op-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .vehicle-admin-action-grid {
  align-items: start;
}

.op-scope .op-card,
.op-scope .op-panel {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  box-shadow: var(--op-shadow-xs);
  min-width: 0;
}

.op-scope .op-card {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 16px;
}

.op-scope .op-card--interactive {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.op-scope .op-card--interactive:hover {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: var(--op-shadow-sm);
  transform: translateY(-1px);
}

.op-scope .op-card--interactive:focus-visible {
  box-shadow: var(--op-focus);
  outline: 0;
}

.op-scope .op-resource-card {
  align-content: start;
  gap: 16px;
  justify-items: start;
  min-height: 156px;
  padding: 20px;
  text-align: left;
}

.op-scope .op-resource-card .op-body {
  max-width: 34ch;
}

.op-scope .engineer-resource-card-grid {
  gap: 10px;
}

.op-scope .engineer-resource-card {
  gap: 10px;
  min-height: 0;
  padding: 14px;
}

.op-scope .engineer-resource-card__copy {
  display: grid;
  gap: 7px;
}

.op-scope .engineer-resource-card__actions {
  display: grid;
  gap: 8px;
}

.op-scope .engineer-resource-card__actions .op-button {
  justify-content: center;
  min-height: 38px;
  width: 100%;
}

.op-scope .document-unavailable-action {
  opacity: 0.74;
}

.op-scope.team-attention-centre-card .op-panel {
  padding: 20px;
}

.op-scope .people-attention-list {
  display: grid;
  gap: 10px;
}

.op-scope .people-attention-row {
  align-items: center;
  appearance: none;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(170px, 0.72fr) minmax(280px, 1.35fr) minmax(220px, auto) minmax(64px, auto);
  min-height: 0;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.op-scope .people-attention-row__person,
.op-scope .people-attention-row__intervention {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.op-scope .people-attention-row__person .op-status,
.op-scope .people-attention-row__intervention .op-status {
  justify-self: start;
}

.op-scope .people-attention-row__intervention {
  border-left: 1px solid var(--op-slate-200);
  padding-left: 14px;
}

.op-scope .people-attention-row__recommendation {
  color: var(--op-slate-600);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.op-scope .people-attention-row__recommendation strong {
  color: var(--op-navy-950);
  font-weight: 700;
}

.op-scope .people-attention-row__signals {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.op-scope .people-attention-row__total {
  border-left: 1px solid var(--op-slate-200);
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 64px;
  padding-left: 14px;
}

.op-scope .people-attention-row__total strong {
  color: var(--op-navy-950);
  font-size: 1.12rem;
  line-height: 1;
}

.op-scope .people-attention-row__total small {
  color: var(--op-slate-500);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.op-scope.team-priority-actions-card .op-panel {
  padding: 20px;
}

.op-scope .team-priority-filter-stack {
  display: grid;
  gap: 10px;
}

.op-scope .team-priority-legend {
  border-bottom: 1px solid var(--op-slate-200);
  border-top: 1px solid var(--op-slate-200);
  color: var(--op-slate-500);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 0;
}

.op-scope .team-priority-legend span {
  font-size: 0.76rem;
  line-height: 1.35;
}

.op-scope .team-priority-legend strong {
  color: var(--op-navy-950);
  font-weight: 700;
}

.op-scope .team-priority-feed {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .team-priority-row {
  align-items: center;
  appearance: none;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  min-height: 0;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.op-scope .team-priority-row__main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.op-scope .team-priority-row__main .op-status {
  justify-self: start;
}

.op-scope .team-priority-row__meta {
  align-items: flex-end;
  border-left: 1px solid var(--op-slate-200);
  display: grid;
  gap: 7px;
  justify-items: end;
  min-width: 120px;
  padding-left: 14px;
}

.op-scope .team-priority-row__meta strong {
  color: var(--op-slate-700);
  font-size: 0.84rem;
  line-height: 1.2;
}

.op-scope .people-attention-board {
  padding: 20px;
}

.op-scope .people-attention-board-list {
  display: grid;
  gap: 10px;
}

.op-scope .people-attention-board-controls {
  align-items: end;
  border-top: 1px solid var(--op-slate-200);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) auto;
  padding-top: 14px;
}

.op-scope .people-attention-board-controls .op-pill-row {
  align-items: center;
  gap: 8px;
}

.op-scope .people-attention-board-sort {
  margin: 0;
}

.op-scope .people-attention-board-row {
  align-items: center;
  appearance: none;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1fr) minmax(220px, 1fr) minmax(120px, auto) auto;
  min-height: 0;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.op-scope .people-attention-board-row__person,
.op-scope .people-attention-board-row__next,
.op-scope .people-attention-board-row__activity {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.op-scope .people-attention-board-row__person .op-status {
  justify-self: start;
}

.op-scope .people-attention-board-row__signals {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.op-scope .people-attention-board-row__next,
.op-scope .people-attention-board-row__activity {
  border-left: 1px solid var(--op-slate-200);
  padding-left: 14px;
}

.op-scope .people-attention-board-row__next small,
.op-scope .people-attention-board-row__activity small {
  color: var(--op-slate-500);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.op-scope .people-attention-board-row__next strong,
.op-scope .people-attention-board-row__activity strong {
  color: var(--op-navy-950);
  font-size: 0.86rem;
  line-height: 1.25;
}

.op-scope .people-attention-board-row__next em {
  color: var(--op-slate-500);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

.op-scope .people-attention-board-row__open {
  pointer-events: none;
}

.op-scope button.engineer-focus-item {
  appearance: none;
  color: inherit;
  text-align: left;
  width: 100%;
}

.op-scope .engineer-focus-summary {
  cursor: pointer;
}

.op-scope .engineer-focus-items {
  gap: 10px;
}

.op-scope .engineer-focus-item {
  gap: 10px;
  min-height: 0;
  padding: 14px 16px;
}

.op-scope .engineer-focus-item__content {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.op-scope .engineer-focus-item__status {
  justify-items: end;
  text-align: right;
}

@media (max-width: 720px) {
  .op-scope .engineer-focus-item__content {
    grid-template-columns: 1fr;
  }

  .op-scope .engineer-focus-item__status {
    justify-items: start;
    text-align: left;
  }
}

.op-scope .op-resource-card__meta {
  align-self: end;
  border-top: 1px solid var(--op-slate-200);
  color: var(--op-slate-700);
  display: block;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
}

.op-scope .op-resource-card__meta--planned {
  color: var(--op-slate-500);
  font-weight: 600;
}

.op-scope .op-resource-grid--count-2 {
  grid-template-columns: repeat(2, minmax(220px, 420px));
}

.op-scope .product-library-page .panel-footer {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  color: var(--op-slate-600);
  padding: 14px 16px;
}

.op-scope .product-library-page .pager button {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-xs);
  min-height: 32px;
  min-width: 32px;
}

.op-scope .product-library-page .pager button.active {
  background: var(--op-navy-950);
  border-color: var(--op-navy-950);
  color: var(--op-white);
}

.op-scope .product-library-search {
  align-items: end;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
}

.op-scope .product-library-reset-button {
  min-height: 40px;
}

.op-scope .product-library-filter-actions {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.op-scope .product-library-segments button,
.op-scope .product-library-view-toggle button {
  cursor: pointer;
}

.op-scope .product-library-grid {
  align-items: stretch;
}

.op-scope .product-library-card {
  gap: 16px;
  min-height: 100%;
}

.op-scope .product-library-card-top,
.op-scope .product-detail-related-row {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
}

.op-scope .product-library-thumb,
.op-scope .product-library-visual {
  align-items: center;
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  color: var(--op-slate-600);
  display: inline-flex;
  font-weight: 700;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  width: 58px;
}

.op-scope .product-library-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.op-scope .product-library-thumb img + span {
  display: none;
}

.op-scope .product-library-specs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-scope .product-library-specs span {
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-xs);
  color: var(--op-navy-950);
  display: grid;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 4px;
  min-width: 0;
  padding: 10px;
}

.op-scope .product-library-specs small {
  color: var(--op-slate-500);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.op-scope .product-library-actions .op-button {
  align-items: center;
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  color: var(--op-navy-950);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  padding: 0 12px;
}

.op-scope .product-library-actions .planned-feature {
  color: var(--op-slate-500);
  cursor: not-allowed;
}

.op-scope .product-library-actions .planned-feature small {
  display: none;
}

.op-scope .product-library-list {
  overflow: hidden;
  padding: 0;
}

.op-scope .product-library-list-head,
.op-scope .product-library-list-row {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 1.5fr) minmax(150px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) minmax(180px, auto);
  padding: 14px 16px;
}

.op-scope .product-library-list-head {
  border-bottom: 1px solid var(--op-slate-200);
  color: var(--op-slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.op-scope .product-library-list-row {
  align-items: center;
  border-bottom: 1px solid var(--op-slate-200);
  color: var(--op-slate-700);
  font-size: 0.84rem;
}

.op-scope .product-library-list-row:last-child {
  border-bottom: 0;
}

.op-scope .product-library-list-row > div:first-child {
  display: grid;
  gap: 5px;
}

.op-scope .resource-register-panel .op-table-wrap {
  overflow-x: auto;
}

.op-scope .resource-register-table {
  min-width: 860px;
}

.op-scope .resource-register-table--wide {
  min-width: 1040px;
}

.op-scope .resource-register-table td {
  vertical-align: top;
}

.op-scope .op-resource-filter-grid {
  align-items: end;
  grid-template-columns: repeat(2, minmax(180px, 280px));
}

.op-scope .resource-register-actions .op-button,
.op-scope .resource-register-panel .register-tools .op-button,
.op-scope .resource-register-panel .op-button.planned-feature {
  align-items: center;
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  color: var(--op-navy-950);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  padding: 0 12px;
}

.op-scope .resource-register-actions .planned-feature,
.op-scope .resource-register-panel .register-tools .planned-feature,
.op-scope .resource-register-panel .op-button.planned-feature {
  color: var(--op-slate-500);
  cursor: not-allowed;
}

.op-scope .resource-register-actions .planned-feature small,
.op-scope .resource-register-panel .register-tools .planned-feature small,
.op-scope .resource-register-panel .op-button.planned-feature small {
  display: none;
}

.op-scope .resource-register-panel .register-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.op-scope .audit-type-card {
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 190px;
  text-align: left;
}

.op-scope .audit-type-card__code {
  align-items: center;
  background: var(--op-blue-100);
  border-radius: var(--op-radius-sm);
  color: var(--op-blue-600);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.op-scope .audit-type-card .op-status {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: auto;
}

/* Workspace boundaries: People supports employees, Operations coordinates work. */
.people-operations-handoff {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 20px;
}

.people-operations-handoff .op-page-header__copy {
  max-width: 920px;
}

.operations-control-desk {
  border-top: 4px solid var(--op-blue-600);
}

.operations-control-list {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  overflow: hidden;
}

.operations-control-row {
  align-items: center;
  background: #fff;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(100px, 0.65fr) minmax(260px, 2fr) minmax(150px, 1fr) minmax(110px, 0.75fr) auto;
  padding: 14px 16px;
}

.operations-control-row + .operations-control-row {
  border-top: 1px solid var(--op-slate-200);
}

.operations-control-row__priority,
.operations-control-row__work,
.operations-control-row__owner,
.operations-control-row__due {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.operations-control-row__work .op-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-handoff-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operations-handoff-card {
  align-content: start;
  display: grid;
  gap: 12px;
}

.operations-handoff-card > div {
  display: grid;
  gap: 4px;
}

.operations-handoff-card .op-status {
  justify-self: start;
}

.operations-support-tools {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operations-support-tool {
  align-items: center;
  background: var(--op-slate-25, #f8fafc);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  color: var(--op-navy-950);
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
  text-align: left;
}

.operations-support-tool:hover,
.operations-support-tool:focus-visible {
  border-color: var(--op-blue-400);
  box-shadow: 0 0 0 3px var(--op-blue-50);
  outline: 0;
}

.operations-support-tool span {
  display: grid;
  gap: 4px;
}

.operations-support-tool small,
.operations-support-tool em {
  color: var(--op-slate-600);
  font-style: normal;
}

.operations-support-tool em {
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .operations-control-row {
    grid-template-columns: minmax(90px, 0.6fr) minmax(220px, 1.8fr) minmax(130px, 1fr) auto;
  }

  .operations-control-row__due {
    display: none;
  }

  .operations-handoff-grid,
  .operations-support-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .people-operations-handoff {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-control-row {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-control-row__due {
    display: grid;
  }

  .operations-control-row__work .op-meta {
    white-space: normal;
  }

  .operations-handoff-grid,
  .operations-support-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Business Insights: read-only governed decision support. */
.op-scope.business-insights-page {
  --business-insight-blue: #2f6fed;
  --business-insight-blue-soft: #eaf1ff;
  --business-insight-green: #17985b;
  --business-insight-amber: #dc8a16;
  --business-insight-red: #c93c43;
}

.business-insights-hero {
  background:
    radial-gradient(circle at 92% 10%, rgba(47, 111, 237, 0.12), transparent 31%),
    var(--op-white);
}

.business-insights-hero__status {
  align-items: flex-end;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.business-insights-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-insights-tabs button {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: 999px;
  color: var(--op-slate-600);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 14px;
}

.business-insights-tabs button:hover,
.business-insights-tabs button:focus-visible {
  border-color: var(--op-blue-500);
  color: var(--op-blue-600);
}

.business-insights-tabs button.active {
  background: var(--op-navy-950);
  border-color: var(--op-navy-950);
  color: var(--op-white);
}

.business-insights-scope-note {
  align-items: center;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  color: var(--op-slate-600);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 7px;
  justify-content: space-between;
  padding: 10px 12px;
}

.business-insights-metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-insight-metric {
  border-top: 3px solid var(--business-insight-blue);
  display: grid;
  gap: 7px;
  min-height: 154px;
}

.business-insight-metric--green { border-top-color: var(--business-insight-green); }
.business-insight-metric--amber { border-top-color: var(--business-insight-amber); }
.business-insight-metric--red { border-top-color: var(--business-insight-red); }

.business-insight-metric .op-stat-value {
  font-size: clamp(1.7rem, 1.35rem + 1vw, 2.35rem);
  line-height: 1;
}

.business-insight-metric__meta {
  align-self: end;
  color: var(--op-slate-500);
  font-size: 0.74rem;
}

.business-insights-chart-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-insight-chart-card {
  min-width: 0;
}

.business-insight-audit-card,
.business-insight-trend-card {
  min-height: 300px;
}

.business-insight-bars,
.business-insight-count-bars,
.business-insight-finding-bars {
  display: grid;
  gap: 16px;
}

.business-insight-bar-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(125px, 0.8fr) minmax(160px, 1.5fr) 44px;
}

.business-insight-bar-row__label {
  display: grid;
  gap: 2px;
}

.business-insight-bar-row__label strong,
.business-insight-count-row > span {
  color: var(--op-navy-950);
  font-size: 0.82rem;
}

.business-insight-bar-row__label span {
  color: var(--op-slate-500);
  font-size: 0.72rem;
}

.business-insight-bar-track {
  background: var(--op-slate-100);
  border-radius: 999px;
  height: 10px;
  min-width: 0;
  overflow: hidden;
}

.business-insight-bar-fill {
  background: var(--business-insight-blue);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 2px;
}

.business-insight-bar-fill--green { background: var(--business-insight-green); }
.business-insight-bar-fill--amber { background: var(--business-insight-amber); }
.business-insight-bar-fill--red { background: var(--business-insight-red); }
.business-insight-bar-fill--neutral { background: var(--op-slate-400); }

.business-insight-bar-row__value,
.business-insight-count-row > strong {
  color: var(--op-navy-950);
  font-size: 0.82rem;
  text-align: right;
}

.business-insight-count-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(135px, 0.9fr) minmax(160px, 1.6fr) 32px;
}

.business-insight-audit-stack {
  background: var(--op-slate-100);
  border-radius: 999px;
  display: flex;
  height: 18px;
  overflow: hidden;
}

.business-insight-audit-segment { display: block; height: 100%; min-width: 3px; }
.business-insight-audit-segment--green { background: var(--business-insight-green); }
.business-insight-audit-segment--amber { background: var(--business-insight-amber); }
.business-insight-audit-segment--red { background: var(--business-insight-red); }
.business-insight-audit-segment--neutral { background: var(--op-slate-400); }

.business-insight-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.business-insight-legend span {
  align-items: center;
  color: var(--op-slate-600);
  display: inline-flex;
  font-size: 0.76rem;
  gap: 6px;
}

.business-insight-legend__dot {
  background: var(--op-slate-400);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.business-insight-legend__dot--green { background: var(--business-insight-green); }
.business-insight-legend__dot--amber { background: var(--business-insight-amber); }
.business-insight-legend__dot--red { background: var(--business-insight-red); }

.business-insight-baseline {
  align-content: center;
  background:
    linear-gradient(to right, transparent 0 7%, var(--op-slate-200) 7% 93%, transparent 93%) center 42% / 100% 1px no-repeat,
    var(--op-slate-50);
  border: 1px dashed var(--op-slate-200);
  border-radius: var(--op-radius-md);
  display: grid;
  justify-items: center;
  min-height: 180px;
  padding: 24px;
}

.business-insight-baseline span {
  background: var(--business-insight-blue);
  border: 5px solid var(--business-insight-blue-soft);
  border-radius: 50%;
  box-sizing: content-box;
  height: 12px;
  margin-bottom: 12px;
  width: 12px;
}

.business-insight-baseline strong { color: var(--op-navy-950); }
.business-insight-baseline p { color: var(--op-slate-500); font-size: 0.78rem; margin-top: 3px; }

.business-insight-attention-table .op-status {
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .business-insights-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .business-insights-hero__status { align-items: start; justify-items: start; }
  .business-insights-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .business-insights-tabs button { flex: 0 0 auto; }
  .business-insights-metric-grid,
  .business-insights-chart-grid { grid-template-columns: minmax(0, 1fr); }
  .business-insight-bar-row,
  .business-insight-count-row { grid-template-columns: minmax(110px, 0.8fr) minmax(90px, 1.2fr) 40px; gap: 8px; }
}

.op-scope .audit-domain-list,
.op-scope .governed-audit-checklist {
  display: grid;
  gap: 14px;
}

.op-scope .audit-domain-group {
  padding: 16px;
}

.op-scope .audit-domain-group__header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.op-scope .audit-domain-group .audit-type-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .audit-domain-group .audit-type-card {
  min-height: 138px;
  padding: 16px;
}

.op-scope .safety-audit-form-panel {
  margin-inline: auto;
  max-width: 1120px;
  padding: 20px;
  width: 100%;
}

.op-scope .audit-context-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-scope .audit-readonly-fact {
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  padding: 10px 12px;
}

.op-scope .audit-readonly-fact strong,
.op-scope .audit-readonly-fact small,
.op-scope .audit-check-copy strong,
.op-scope .audit-check-copy small,
.op-scope .audit-evidence-card__copy strong,
.op-scope .audit-evidence-card__copy small {
  display: block;
}

.op-scope .audit-readonly-fact small,
.op-scope .audit-check-copy small,
.op-scope .audit-evidence-card__copy small {
  color: var(--op-slate-500);
  margin-top: 3px;
}

.op-scope .audit-check-section {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  margin: 0;
  padding: 4px 14px 8px;
}

.op-scope .audit-check-section legend {
  color: var(--op-navy-950);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 6px;
}

.op-scope .audit-check-row {
  align-items: center;
  border-top: 1px solid var(--op-slate-100);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 64px;
  padding: 8px 0;
}

.op-scope .audit-check-row:first-of-type {
  border-top: 0;
}

.op-scope .audit-check-options {
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: inline-flex;
  overflow: hidden;
}

.op-scope .audit-check-options label {
  cursor: pointer;
  margin: 0;
  position: relative;
}

.op-scope .audit-check-options input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.op-scope .audit-check-options span {
  border-left: 1px solid var(--op-slate-200);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 58px;
  padding: 9px 10px;
  text-align: center;
}

.op-scope .audit-check-options label:first-child span {
  border-left: 0;
}

.op-scope .audit-check-options input:checked + span {
  background: var(--op-blue-600);
  color: #fff;
}

.op-scope .audit-evidence-picker {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px;
}

.op-scope .audit-evidence-picker .audit-context-grid {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .audit-evidence-picker .op-file-selection {
  margin: 0;
}

.op-scope .audit-response-list,
.op-scope .audit-evidence-grid {
  display: grid;
  gap: 8px;
}

.op-scope .audit-response-list > div {
  align-items: center;
  border-bottom: 1px solid var(--op-slate-100);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 7px 0;
}

.op-scope .audit-evidence-card {
  align-items: center;
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  display: grid;
  gap: 12px;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  padding: 10px;
}

.op-scope .audit-evidence-thumb {
  align-items: center;
  background: var(--op-slate-50);
  border-radius: var(--op-radius-sm);
  display: flex;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.op-scope .audit-evidence-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.audit-evidence-viewer {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgb(15 23 42 / 32%);
  height: min(86vh, 900px);
  max-width: min(1100px, 92vw);
  padding: 16px;
  width: 100%;
}

.audit-evidence-viewer::backdrop {
  background: rgb(15 23 42 / 68%);
}

.audit-evidence-viewer header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.audit-evidence-viewer img,
.audit-evidence-viewer iframe {
  border: 0;
  height: calc(100% - 76px);
  object-fit: contain;
  width: 100%;
}

@media (max-width: 760px) {
  .op-scope .audit-domain-group .audit-type-grid,
  .op-scope .audit-context-grid,
  .op-scope .audit-evidence-picker,
  .op-scope .audit-evidence-picker .audit-context-grid {
    grid-template-columns: 1fr;
  }

  .op-scope .audit-check-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .op-scope .audit-check-options,
  .op-scope .audit-check-options label,
  .op-scope .audit-check-options span {
    width: 100%;
  }

  .op-scope .audit-evidence-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .op-scope .audit-evidence-card .op-button,
  .op-scope .audit-evidence-card .op-status {
    grid-column: 1 / -1;
  }
}

.op-scope .game-launcher-card {
  align-content: start;
  min-height: 220px;
}

.op-scope .game-card-footer {
  justify-content: space-between;
  margin-top: auto;
}

.op-scope .games-secondary-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, 0.8fr) repeat(2, minmax(260px, 1fr));
}

.op-scope .streak-days {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, minmax(28px, 1fr));
}

.op-scope .streak-days span {
  align-items: center;
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-xs);
  color: var(--op-slate-700);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  min-height: 34px;
}

.op-scope .leaderboard-row,
.op-scope .award-row {
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: auto;
  padding: 14px;
}

.op-scope .award-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.op-scope .scenario-launcher-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
}

.op-scope .scenario-row {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: auto;
}

.op-scope .scenario-row-action {
  justify-content: flex-end;
}

.op-scope .scenario-row-action .planned-feature small {
  display: none;
}

.op-scope .scenario-info-list {
  display: grid;
  gap: 10px;
}

.op-scope .scenario-info-list p {
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-xs);
  display: grid;
  gap: 4px;
  padding: 12px;
}

.op-scope .scenario-info-list span {
  color: var(--op-slate-600);
  font-size: 0.82rem;
}

.op-scope .operations-report-preview-panel .op-table-wrap {
  overflow-x: auto;
}

.op-scope .operations-report-preview-table {
  min-width: 760px;
}

.op-scope .operations-vehicle-fleet-table {
  min-width: 1380px;
}

.op-scope .operations-asset-register-table {
  min-width: 1420px;
}

.op-scope .operations-asset-register-table th:first-child,
.op-scope .operations-asset-register-table td:first-child {
  min-width: 118px;
}

.op-scope .operations-asset-register-table td:first-child .op-card-title {
  white-space: nowrap;
}

.op-scope .operations-asset-desktop-flow {
  display: grid;
  gap: 24px;
}

.op-scope .operations-asset-mobile-flow {
  display: none;
}

.op-scope .operations-asset-register-page--mobile .operations-asset-mobile-flow {
  display: grid;
  gap: 16px;
}

.op-scope .operations-asset-mobile-card-list {
  display: grid;
  gap: 12px;
}

.op-scope .operations-asset-mobile-card {
  gap: 10px;
}

.op-scope .operations-asset-mobile-card__top {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.op-scope .operations-asset-mobile-card__facts {
  display: grid;
  gap: 6px;
  margin: 0;
}

.op-scope .operations-asset-mobile-card__facts > div {
  color: var(--op-slate-700);
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}

.op-scope .operations-asset-mobile-card__facts dt {
  color: var(--op-slate-500);
  font-size: 0.78rem;
}

.op-scope .operations-asset-mobile-card__facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.op-scope .operations-asset-mobile-card__facts .op-status {
  white-space: normal;
}

.op-scope .operations-asset-mobile-card .operations-asset-mobile-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.op-scope .operations-asset-mobile-card__actions > .op-button:first-child {
  grid-column: 1 / -1;
}

.op-scope .operations-asset-mobile-card__actions > .op-button {
  min-height: 44px;
  min-width: 0;
  white-space: normal;
}

.op-scope .operations-asset-mobile-detail--compact {
  gap: 12px;
}

.op-scope .operations-asset-mobile-detail-snapshot {
  display: grid;
  gap: 10px;
}

.op-scope .operations-asset-mobile-detail-block {
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 8px;
  padding: 12px;
}

.op-scope .operations-asset-mobile-detail-block .op-section-title {
  font-size: 0.9rem;
  line-height: 1.25;
}

.op-scope .operations-asset-mobile-detail-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .operations-asset-mobile-detail-field {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-xs);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
}

.op-scope .operations-asset-mobile-detail-field--wide {
  grid-column: 1 / -1;
}

.op-scope .operations-asset-mobile-detail-field span {
  color: var(--op-slate-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.op-scope .operations-asset-mobile-detail-field strong {
  color: var(--op-navy-950);
  font-size: 0.9rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.op-scope .operations-vehicle-fleet-planned-grid .op-card {
  min-height: 132px;
}

.op-scope .operational-setup-table {
  min-width: 1120px;
}

.op-scope .operational-setup-table th {
  line-height: 1.25;
  white-space: nowrap;
}

.op-scope .operational-setup-table td {
  vertical-align: top;
}

.op-scope .operations-engineer-selection-table {
  min-width: 820px;
}

.op-scope .operations-calendar-table {
  min-width: 980px;
}

.op-scope .operations-calendar-action-select {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-xs);
  color: var(--op-navy-950);
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 34px;
  min-width: 132px;
  padding: 0 10px;
}

.op-scope .operations-report-library-table,
.op-scope .operations-report-history-table {
  min-width: 900px;
}

.op-scope .operations-activity-log-table {
  min-width: 860px;
}

.op-scope .operations-activity-log-panel .op-card-title {
  display: block;
  margin-bottom: 3px;
}

.op-scope .operations-skills-gap-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.op-scope .operations-skills-gap-card {
  min-height: 184px;
}

.op-scope .operations-skills-gap-card__header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.op-scope .operations-skills-gap-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.op-scope .operations-reports-page .format-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.op-scope .operations-reports-page .report-history-actions {
  justify-content: flex-start;
}

.op-scope .operations-home-hero {
  gap: 20px;
}

.op-scope .operations-home-metrics {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.op-scope .operations-home-metrics .op-card {
  gap: 8px;
  min-height: 112px;
}

.op-scope .operations-home-launch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .operations-home-launch-card {
  align-content: start;
  cursor: pointer;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  justify-items: start;
  min-height: 188px;
  text-align: left;
  width: 100%;
}

.op-scope .operations-home-launch-card .tile-icon {
  background: var(--op-blue-100);
  border-color: #bfdbfe;
  color: #1e3a8a;
  height: 34px;
  width: 34px;
}

.op-scope .operations-home-launch-card .op-body {
  max-width: none;
}

.op-scope .operations-home-launch-card .op-resource-card__meta {
  color: var(--op-navy-950);
}

.op-scope .quiz-topics {
  gap: 14px;
}

.op-scope .quiz-topic-list {
  display: grid;
  gap: 8px;
}

.op-scope .quiz-topic-row {
  align-items: center;
  gap: 14px;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  min-height: auto;
  padding: 14px 16px;
}

.op-scope .quiz-topic-index {
  align-items: center;
  background: var(--op-navy-950);
  border-radius: var(--op-radius-xs);
  color: var(--op-white);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.op-scope .quiz-topic-row .op-status {
  justify-self: end;
  max-width: 150px;
}

.op-scope .quiz-topic-row .op-button {
  min-width: 72px;
}

.op-scope .product-detail-grid,
.op-scope .document-detail-grid {
  align-items: start;
}

.op-scope .op-panel {
  padding: 20px;
}

.op-scope .op-detail-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin: 0;
}

.op-scope .op-detail-grid > div {
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 5px;
  padding: 12px;
}

.op-scope .op-detail-grid dt {
  color: var(--op-slate-400);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.op-scope .op-detail-grid dd {
  color: var(--op-navy-950);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.op-scope .domain-demand-card {
  gap: 12px;
  padding: 16px;
}

.op-scope .domain-demand-focus-grid {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1100px) {
  .op-scope .domain-demand-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.op-scope .domain-demand-next-action {
  background: #f5f9ff;
  border: 1px solid #cfe0fb;
  border-left: 4px solid var(--op-blue-600);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 4px;
  padding: 11px 13px;
}

.op-scope .domain-demand-next-action strong,
.op-scope .domain-demand-completion strong {
  color: var(--op-navy-950);
  font-size: 0.96rem;
  line-height: 1.3;
}

.op-scope .domain-demand-next-action p {
  color: var(--op-slate-600);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.op-scope .domain-demand-reason {
  background: var(--op-slate-50);
  border-radius: var(--op-radius-xs);
  margin: 8px 0 0;
  padding: 8px 10px;
}

.op-scope .domain-demand-facts--primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-scope .domain-demand-facts--primary > div {
  padding: 10px;
}

.op-scope .domain-demand-context {
  border-bottom: 1px solid var(--op-slate-200);
  border-top: 1px solid var(--op-slate-200);
  padding: 8px 0;
}

.op-scope .domain-demand-context > summary {
  color: var(--op-slate-600);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.op-scope .domain-demand-context[open] > summary {
  margin-bottom: 10px;
}

.op-scope .domain-demand-facts--secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .domain-demand-work,
.op-scope .domain-demand-completion {
  border-top: 1px solid var(--op-slate-200);
  padding-top: 12px;
}

.op-scope .domain-demand-completion {
  background: var(--op-green-50);
  border: 1px solid #bbf7d0;
  border-radius: var(--op-radius-sm);
  padding: 12px;
}

.op-scope .domain-demand-completion > div:first-child {
  display: grid;
  gap: 3px;
}

.op-scope .domain-demand-assignment-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .domain-demand-empty-state {
  align-items: start;
  display: grid;
  gap: 8px;
}

.op-scope .domain-demand-empty-state .op-button {
  justify-self: start;
}

.op-scope .domain-demand-actions {
  gap: 8px;
}

.op-scope .domain-demand-actions .op-button {
  min-height: 36px;
  padding-block: 7px;
}

.op-scope .domain-demand-summary-group {
  padding: 0;
}

.op-scope .domain-demand-summary-group > summary {
  color: var(--op-navy-950);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 16px 18px;
}

.op-scope .domain-demand-summary-group[open] > summary {
  border-bottom: 1px solid var(--op-slate-200);
}

.op-scope .domain-demand-summary-group > .op-body,
.op-scope .domain-demand-summary-group > .op-action-row {
  margin: 16px 18px;
}

.op-scope .asset-attention-group > .op-table-wrap,
.op-scope .assets-landing-secondary > section {
  margin: 0 18px 18px;
}

.op-scope .assets-landing-secondary > .op-stack {
  border-top: 1px solid var(--op-slate-200);
  padding-top: 18px;
}

.op-scope .domain-demand-summary-list {
  border-bottom: 1px solid var(--op-slate-200);
  border-top: 1px solid var(--op-slate-200);
}

.op-scope .domain-demand-summary-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 18px;
}

.op-scope .domain-demand-summary-row + .domain-demand-summary-row {
  border-top: 1px solid var(--op-slate-200);
}

.op-scope .domain-demand-summary-row > div {
  display: grid;
  gap: 4px;
}

.op-scope .domain-demand-summary-row > div:last-child {
  justify-items: end;
}

.op-scope .domain-demand-summary-row span:not(.op-status),
.op-scope .domain-demand-summary-row small {
  color: var(--op-slate-500);
  font-size: 0.75rem;
}

.op-scope .op-panel--flush {
  padding: 0;
}

.op-scope .op-stat-strip {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  overflow: hidden;
}

.op-scope .op-stat-cell {
  background: var(--op-white);
  display: grid;
  gap: 6px;
  min-height: 66px;
  padding: 14px 16px;
}

.op-scope .op-stat-cell + .op-stat-cell {
  border-left: 1px solid var(--op-slate-200);
}

.op-scope .op-stat-cell__label {
  color: var(--op-slate-400);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.op-scope .op-stat-cell__progress {
  background: var(--op-slate-100);
  border-radius: 999px;
  height: 3px;
  overflow: hidden;
}

.op-scope .op-stat-cell__progress > span {
  background: var(--op-blue-600);
  display: block;
  height: 100%;
}

.op-scope .op-pill-row,
.op-scope .op-action-row,
.op-scope .op-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.op-scope .op-pill {
  align-items: center;
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-xs);
  color: var(--op-slate-700);
  display: inline-flex;
  gap: 7px;
  min-height: 28px;
  padding: 0 9px;
  white-space: nowrap;
}

.op-scope .op-pill__count {
  background: var(--op-slate-100);
  border-radius: 999px;
  color: var(--op-slate-700);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
}

.op-scope .op-pill--active {
  background: var(--op-navy-950);
  border-color: var(--op-navy-950);
  color: var(--op-white);
}

.op-scope .op-pill--active .op-pill__count {
  background: rgba(255, 255, 255, 0.16);
  color: var(--op-white);
}

.op-scope .op-status {
  align-items: center;
  border: 1px solid var(--op-slate-200);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 6px;
  line-height: 1;
  min-height: 24px;
  padding: 0 9px;
  white-space: nowrap;
}

.op-scope .op-status::before {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 6px;
  opacity: 0.78;
  width: 6px;
}

.op-scope .op-tone--blue {
  background: var(--op-status-blue-bg);
  border-color: var(--op-status-blue-border);
  color: var(--op-status-blue-fg);
}

.op-scope .op-tone--green {
  background: var(--op-status-green-bg);
  border-color: var(--op-status-green-border);
  color: var(--op-status-green-fg);
}

.op-scope .op-tone--amber {
  background: var(--op-status-amber-bg);
  border-color: var(--op-status-amber-border);
  color: var(--op-status-amber-fg);
}

.op-scope .op-tone--red {
  background: var(--op-status-red-bg);
  border-color: var(--op-status-red-border);
  color: var(--op-status-red-fg);
}

.op-scope .op-tone--neutral {
  background: var(--op-status-neutral-bg);
  border-color: var(--op-status-neutral-border);
  color: var(--op-status-neutral-fg);
}

.op-scope .op-button {
  align-items: center;
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  padding: 0 14px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.op-scope .op-button:focus-visible {
  box-shadow: var(--op-focus);
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.op-scope .op-button--primary {
  background: var(--op-blue-600);
  border-color: var(--op-blue-600);
  color: var(--op-white);
}

.op-scope .op-button--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.op-scope .op-button--secondary {
  background: var(--op-white);
  color: var(--op-navy-950);
}

.op-scope .op-button--secondary:hover {
  background: var(--op-slate-50);
  border-color: #cbd5e1;
}

.op-scope .op-button--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--op-slate-600);
}

.op-scope .op-button--ghost:hover {
  background: var(--op-slate-50);
  color: var(--op-navy-950);
}

.op-scope .op-table-wrap {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.op-scope .op-table-scroll {
  overflow-x: auto;
}

.op-scope .op-table {
  border-collapse: collapse;
  min-width: 100%;
  width: 100%;
}

.op-scope .op-table th,
.op-scope .op-table td {
  border-bottom: 1px solid var(--op-slate-200);
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}

.op-scope .op-table th {
  background: var(--op-white);
  color: var(--op-slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.op-scope .op-table td {
  color: var(--op-slate-700);
  font-size: 0.82rem;
  font-weight: 500;
}

.op-scope .op-table tr:last-child td {
  border-bottom: 0;
}

.op-scope .op-table tbody tr:hover {
  background: var(--op-slate-50);
}

.op-scope .data-panel {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  box-shadow: var(--op-shadow-xs);
  margin: 0;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
}

.op-scope .data-panel.admin-area-register {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.op-scope .data-panel > header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin: 0 0 14px;
  min-width: 0;
}

.op-scope .data-panel > header h3,
.op-scope .data-panel h3 {
  color: var(--op-navy-950);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.op-scope .data-panel > header p,
.op-scope .data-panel p {
  color: var(--op-slate-600);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

.op-scope .data-table {
  border-collapse: collapse;
  min-width: max-content;
  width: 100%;
}

.op-scope .data-table th,
.op-scope .data-table td {
  border-bottom: 1px solid var(--op-slate-200);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.op-scope .data-table th {
  background: var(--op-white);
  color: var(--op-slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.op-scope .data-table td {
  color: var(--op-slate-700);
  font-size: 0.82rem;
  font-weight: 500;
}

.op-scope .data-table tr:last-child td {
  border-bottom: 0;
}

.op-scope .admin-tab-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  max-width: 100%;
  overflow: visible;
}

.op-scope .admin-tab-strip button {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
}

.op-scope .document-admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.op-scope .vehicle-register-disclosure,
.op-scope .document-upload-guidance {
  padding: 0;
}

.op-scope .vehicle-register-disclosure > summary,
.op-scope .document-upload-guidance > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  min-height: 64px;
  padding: 16px 18px;
}

.op-scope .vehicle-register-disclosure > summary::-webkit-details-marker,
.op-scope .document-upload-guidance > summary::-webkit-details-marker {
  display: none;
}

.op-scope .vehicle-register-disclosure > summary span:first-child,
.op-scope .document-upload-guidance > summary span:first-child {
  display: grid;
  gap: 4px;
}

.op-scope .vehicle-register-disclosure > summary small,
.op-scope .document-upload-guidance > summary small {
  color: var(--op-slate-600);
  font-weight: 500;
}

.op-scope .vehicle-register-disclosure[open] > summary,
.op-scope .document-upload-guidance[open] > summary {
  border-bottom: 1px solid var(--op-slate-200);
}

.op-scope .vehicle-register-disclosure[open] > summary > span:last-child,
.op-scope .document-upload-guidance[open] > summary > span:last-child {
  transform: rotate(45deg);
}

.op-scope .vehicle-register-disclosure > .op-stack,
.op-scope .vehicle-register-disclosure > .vehicle-admin-action-grid,
.op-scope .document-upload-guidance > .activity-list {
  margin: 0;
  padding: 18px;
}

.op-scope .vehicle-register-disclosure .vehicle-admin-action-grid {
  grid-template-columns: minmax(0, 1fr);
}

.op-scope .vehicle-register-disclosure > summary:focus-visible,
.op-scope .document-upload-guidance > summary:focus-visible {
  border-radius: var(--op-radius-md);
  box-shadow: var(--op-focus);
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

body :where(button, a[href], input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 2px !important;
}

.op-scope .framework-filter-bar {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.45fr) auto;
}

.op-scope .audit-availability-grid .op-card {
  min-height: 0;
}

@media (max-width: 760px) {
  .op-scope .framework-filter-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .vehicle-register-disclosure > summary,
  .op-scope .document-upload-guidance > summary {
    min-height: 56px;
    padding: 14px;
  }

  .op-scope .vehicle-register-disclosure > .op-stack,
  .op-scope .vehicle-register-disclosure > .vehicle-admin-action-grid,
  .op-scope .document-upload-guidance > .activity-list {
    padding: 14px;
  }
}

.op-scope .table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.op-scope .priority-action-feed,
.op-scope .dashboard-pagination-footer,
.op-scope .document-admin-tabs,
.op-scope .product-library-search,
.op-scope .product-library-selects,
.op-scope .operations-asset-register-filter-grid {
  max-width: 100%;
  min-width: 0;
}

.op-scope .dashboard-pagination-footer {
  flex-wrap: wrap;
}

.op-scope .qualification-op-category-header {
  border-bottom: 1px solid var(--op-slate-200);
  padding: 14px 16px;
}

.op-scope .qualification-op-table {
  min-width: 900px;
}

.op-scope .qualification-op-table td {
  vertical-align: top;
}

.op-scope .qualification-op-table td strong {
  color: var(--op-navy-950);
  font-weight: 700;
}

.op-scope .qualification-op-table .op-meta {
  margin-top: 4px;
}

.op-scope .op-form-grid.op-controlled-record-filter-grid {
  align-items: end;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.op-scope .op-controlled-records-table th,
.op-scope .op-controlled-records-table td {
  padding: 10px 12px;
}

.op-scope .op-controlled-records-table td {
  vertical-align: top;
}

.op-scope .op-controlled-records-table tbody tr:nth-child(even) {
  background: #fcfdff;
}

.op-scope .op-controlled-records-table .op-status {
  margin-top: -1px;
}

.op-scope .op-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.op-scope .operations-asset-type-settings-panel {
  margin-inline: auto;
  max-width: 1180px;
  width: 100%;
}

.op-scope .operations-asset-type-settings-form,
.op-scope .operations-asset-type-create-form {
  gap: 12px;
}

.op-scope .operations-asset-type-selector {
  max-width: 520px;
}

.op-scope .asset-type-settings-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .asset-type-setting-group {
  align-content: start;
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.op-scope .asset-type-setting-toggle {
  align-items: start;
  color: var(--op-navy-950);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  min-width: 0;
}

.op-scope .asset-type-setting-toggle > input[type="checkbox"] {
  margin: 2px 0 0;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

.op-scope .asset-type-setting-toggle > span {
  display: grid;
  gap: 3px;
}

.op-scope .asset-type-setting-toggle strong {
  font-size: 0.86rem;
  line-height: 1.25;
}

.op-scope .asset-type-setting-toggle small {
  color: var(--op-slate-500);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.op-scope .asset-type-setting-options {
  border-top: 1px solid var(--op-slate-200);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 12px;
}

.op-scope .asset-type-setting-options > .asset-type-setting-toggle,
.op-scope .asset-type-setting-dependent {
  grid-column: 1 / -1;
}

.op-scope .asset-type-setting-dependent {
  max-width: 240px;
}

.op-scope .op-field {
  display: grid;
  gap: 6px;
}

.op-scope .op-field label,
.op-scope .op-field__label {
  color: var(--op-slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.op-scope .op-field :where(input, select, textarea) {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  color: var(--op-navy-950);
  min-height: 38px;
  padding: 8px 10px;
  width: 100%;
}

.op-scope .op-field :where(input, select, textarea):focus {
  border-color: var(--op-blue-500);
  box-shadow: var(--op-focus);
  outline: 0;
}

.op-scope .op-field textarea {
  min-height: 96px;
  resize: vertical;
}

.op-scope .platform-help-label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  min-width: 0;
}

.op-scope .platform-help {
  display: inline-flex;
  line-height: 1;
  margin-left: 6px;
  position: relative;
  vertical-align: middle;
  z-index: 3;
}

.op-scope .platform-help:has([data-platform-help-trigger][aria-expanded="true"]) {
  z-index: 4;
}

.op-scope .platform-help__button {
  align-items: center;
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: 999px;
  color: var(--op-slate-600);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 22px;
}

.op-scope .platform-help__button:hover,
.op-scope .platform-help__button[aria-expanded="true"] {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.op-scope .platform-help__button:focus-visible,
.op-scope .platform-help__close:focus-visible {
  box-shadow: var(--op-focus);
  outline: 0;
}

.op-scope .platform-help__popover {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  box-shadow: var(--op-shadow-md);
  color: var(--op-slate-600);
  display: grid;
  font-size: 0.78rem;
  gap: 8px;
  left: 0;
  line-height: 1.45;
  min-width: min(280px, calc(100vw - 48px));
  padding: 14px 38px 14px 14px;
  position: absolute;
  text-transform: none;
  top: calc(100% + 8px);
  z-index: 30;
}

.op-scope .platform-help__popover strong {
  color: var(--op-navy-950);
  font-size: 0.86rem;
}

.op-scope .platform-help__popover ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 16px;
}

.op-scope .platform-help__close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--op-slate-500);
  cursor: pointer;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 7px;
  top: 7px;
  width: 26px;
}

.op-scope .bulk-assignment-panel {
  border-style: dashed;
}

.op-scope .bulk-assignment-list {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 0;
  max-height: 360px;
  overflow: auto;
}

.op-scope .bulk-assignment-list__header {
  background: var(--op-slate-50);
  border-bottom: 1px solid var(--op-slate-200);
  color: var(--op-slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 12px;
  text-transform: uppercase;
}

.op-scope .bulk-assignment-option {
  align-items: start;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px;
}

.op-scope .bulk-assignment-option + .bulk-assignment-option {
  border-top: 1px solid var(--op-slate-200);
}

.op-scope .bulk-assignment-option:hover {
  background: var(--op-slate-50);
}

.op-scope .bulk-assignment-option input {
  margin-top: 2px;
}

.op-scope .bulk-assignment-option > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.op-scope .bulk-assignment-option strong {
  color: var(--op-navy-950);
  font-size: 0.86rem;
  line-height: 1.3;
}

.op-scope .bulk-assignment-option small {
  color: var(--op-slate-500);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

.op-scope .bulk-assignment-results {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.op-scope .bulk-assignment-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.op-scope .bulk-assignment-results ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.op-scope .bulk-assignment-results li {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(120px, 0.45fr) minmax(0, 1fr);
}

.op-scope .bulk-assignment-results small {
  color: var(--op-slate-500);
  font-weight: 600;
  line-height: 1.35;
}

.op-scope .op-workflow {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.op-scope .op-workflow-step {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  padding: 16px 18px;
}

.op-scope .op-workflow-step + .op-workflow-step {
  border-top: 1px solid var(--op-slate-200);
}

.op-scope .op-workflow-step__marker {
  align-items: center;
  background: var(--op-blue-100);
  border-radius: 999px;
  color: var(--op-blue-600);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.op-scope .op-alert {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  color: var(--op-slate-700);
  padding: 14px 16px;
}

.op-scope .vehicle-safety-check-form {
  gap: 12px;
}

.op-scope .vehicle-check-header {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.op-scope .vehicle-check-header > .op-status {
  justify-self: end;
}

.op-scope .vehicle-check-section {
  display: grid;
  gap: 10px;
}

.op-scope .vehicle-check-section--compact {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  padding: 12px;
}

.op-scope .vehicle-check-progress-panel {
  align-items: center;
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  padding: 12px;
}

.op-scope .vehicle-check-progress-panel strong {
  color: var(--op-slate-900);
  display: block;
  font-size: 0.95rem;
}

.op-scope .vehicle-check-progress-panel span {
  color: var(--op-slate-500);
  font-size: 0.82rem;
  font-weight: 700;
}

.op-scope .vehicle-check-progress-track {
  background: var(--op-slate-200);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.op-scope .vehicle-check-progress-track span {
  background: var(--op-blue-600);
  display: block;
  height: 100%;
  transition: width 0.18s ease;
  width: 0;
}

.op-scope .vehicle-check-compact-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-scope .vehicle-check-confirmation {
  align-items: center;
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  color: var(--op-slate-700);
  display: flex;
  gap: 10px;
  line-height: 1.45;
  min-height: 44px;
  padding: 9px 12px;
}

.op-scope .vehicle-check-confirmation--inline {
  font-size: 0.86rem;
  font-weight: 700;
}

.op-scope .vehicle-check-confirmation input {
  flex: 0 0 auto;
  height: 18px;
  min-height: 18px;
  width: 18px;
}

.op-scope .vehicle-check-confirmation span {
  min-width: 0;
}

.op-scope .vehicle-check-accordion {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  overflow: hidden;
}

.op-scope .vehicle-check-accordion summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  min-height: 48px;
  padding: 11px 12px;
}

.op-scope .vehicle-check-accordion summary::-webkit-details-marker {
  display: none;
}

.op-scope .vehicle-check-accordion summary span:first-child {
  color: var(--op-slate-900);
  font-size: 0.95rem;
  font-weight: 800;
}

.op-scope .vehicle-check-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.op-scope .vehicle-check-section-track {
  background: var(--op-slate-100);
  border-top: 1px solid var(--op-slate-200);
  height: 4px;
  overflow: hidden;
}

.op-scope .vehicle-check-section-track span {
  background: var(--op-blue-600);
  display: block;
  height: 100%;
  transition: width 0.18s ease;
  width: 0;
}

.op-scope .vehicle-check-item {
  border-color: var(--op-slate-200);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  padding: 12px;
}

.op-scope .vehicle-check-item__main {
  min-width: 0;
}

.op-scope .vehicle-check-segments {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.op-scope .vehicle-check-status {
  align-items: center;
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  color: var(--op-slate-700);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 8px 6px;
}

.op-scope .vehicle-check-status:hover {
  border-color: var(--op-blue-300);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

.op-scope .vehicle-check-status--pass.is-selected,
.op-scope .vehicle-check-item--pass {
  background: #f0fdf4;
  border-color: #86efac;
}

.op-scope .vehicle-check-status--pass.is-selected {
  color: #166534;
}

.op-scope .vehicle-check-status--minor.is-selected,
.op-scope .vehicle-check-item--minor {
  background: #fffbeb;
  border-color: #fbbf24;
}

.op-scope .vehicle-check-status--minor.is-selected {
  color: #92400e;
}

.op-scope .vehicle-check-status--critical.is-selected,
.op-scope .vehicle-check-item--critical {
  background: #fef2f2;
  border-color: #f87171;
}

.op-scope .vehicle-check-status--critical.is-selected {
  color: #991b1b;
}

.op-scope .vehicle-check-status--not_applicable.is-selected,
.op-scope .vehicle-check-item--not_applicable {
  background: var(--op-slate-50);
  border-color: var(--op-slate-300);
}

.op-scope .vehicle-check-status--not_applicable.is-selected {
  color: var(--op-slate-700);
}

.op-scope .vehicle-check-item__notes,
.op-scope .vehicle-check-item__evidence {
  grid-column: 1 / -1;
}

.op-scope .vehicle-check-item__notes[hidden],
.op-scope .vehicle-check-item__evidence[hidden],
.op-scope .vehicle-check-critical-warning[hidden] {
  display: none;
}

.op-scope .vehicle-check-submit-bar {
  align-items: center;
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  bottom: 14px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 12px;
  grid-template-columns: auto auto auto minmax(130px, 1fr) auto;
  padding: 12px;
  position: sticky;
  z-index: 2;
}

.op-scope .vehicle-check-submit-bar span:not(.op-status) {
  color: var(--op-slate-500);
  font-size: 0.82rem;
  font-weight: 700;
}

.op-scope .vehicle-check-completion {
  align-items: center;
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 16px;
}

.op-scope .vehicle-check-completion.op-tone--green {
  background: #f0fdf4;
  border-color: #86efac;
}

.op-scope .vehicle-check-completion.op-tone--red {
  background: #fef2f2;
  border-color: #fca5a5;
}

.op-scope .vehicle-check-completion .op-body {
  margin: 0;
}

.op-scope .vehicle-check-summary-pill {
  align-items: center;
  border: 1px solid var(--op-slate-200);
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  min-height: 34px;
  padding: 5px 10px;
  white-space: nowrap;
}

.op-scope .vehicle-check-summary-pill--pass {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.op-scope .vehicle-check-summary-pill--minor {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.op-scope .vehicle-check-summary-pill--critical {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.op-scope .admin-compliance-document-note {
  align-content: start;
  display: grid;
  gap: 6px;
  min-height: 108px;
}

.op-scope .admin-compliance-document-note strong {
  color: var(--op-navy-950);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.op-scope .admin-compliance-document-note span {
  color: var(--op-slate-600);
  font-size: 0.88rem;
  line-height: 1.45;
}

.op-scope .op-empty {
  background: var(--op-slate-50);
  border: 1px dashed #cbd5e1;
  border-radius: var(--op-radius-md);
  color: var(--op-slate-500);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 20px;
  text-align: center;
}

.op-scope .op-divider {
  background: var(--op-slate-200);
  border: 0;
  height: 1px;
  margin: 0;
}

.op-scope .op-wordmark {
  font-family: var(--op-font-wordmark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .op-page {
    padding: 16px;
  }

  .op-page-header {
    padding: 22px;
  }

  .op-page-header__top {
    display: grid;
  }

  .op-stat-cell + .op-stat-cell {
    border-left: 0;
    border-top: 1px solid var(--op-slate-200);
  }

  .op-workflow-step {
    grid-template-columns: auto 1fr;
  }

  .op-scope .op-form-grid.op-controlled-record-filter-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .op-scope .product-library-search {
    grid-template-columns: 1fr 1fr;
  }

  .op-scope .product-library-list-head {
    display: none;
  }

  .op-scope .product-library-list-row {
    grid-template-columns: 1fr;
  }

  .op-scope .op-resource-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .op-scope .people-attention-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .people-attention-row__signals {
    justify-content: flex-start;
  }

  .op-scope .people-attention-row__intervention {
    border-left: 0;
    border-top: 1px solid var(--op-slate-200);
    padding-left: 0;
    padding-top: 12px;
  }

  .op-scope .people-attention-row__total {
    border-left: 0;
    border-top: 1px solid var(--op-slate-200);
    justify-items: start;
    padding-left: 0;
    padding-top: 12px;
  }

  .op-scope .team-priority-feed,
  .op-scope .team-priority-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .team-priority-row__meta {
    align-items: flex-start;
    border-left: 0;
    border-top: 1px solid var(--op-slate-200);
    justify-items: start;
    min-width: 0;
    padding-left: 0;
    padding-top: 12px;
  }

  .op-scope .people-attention-board-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .people-attention-board-controls {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .people-attention-board-row__next,
  .op-scope .people-attention-board-row__activity {
    border-left: 0;
    border-top: 1px solid var(--op-slate-200);
    padding-left: 0;
    padding-top: 12px;
  }

  .op-scope .people-attention-board-row__open {
    justify-self: start;
  }

  .op-scope .games-secondary-grid {
    grid-template-columns: 1fr;
  }

  .op-scope .scenario-launcher-layout {
    grid-template-columns: 1fr;
  }
}

.op-scope .operations-asset-register-filters {
  gap: 8px;
  padding: 14px;
}

.op-scope .operations-asset-register-filter-grid,
.op-scope .operations-asset-register-filter-grid__row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}

.op-scope .operations-asset-register-filter-grid label {
  min-width: 0;
}

@media (min-width: 901px) {
  .op-scope .operations-asset-register-filter-grid__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .op-scope .operations-asset-register-page {
    gap: 16px;
  }

  .op-scope .operations-asset-desktop-flow {
    /* The renderer chooses one flow. Keep an open desktop form visible on resize;
       the viewport handler deliberately preserves its unsaved DOM and values. */
    display: grid;
    min-width: 0;
  }

  .op-scope .operations-asset-mobile-flow {
    display: grid;
    gap: 16px;
  }

  .op-scope .operations-asset-mobile-flow .op-page-header,
  .op-scope .operations-asset-mobile-flow .op-panel {
    padding: 18px;
  }

  .op-scope .operations-asset-mobile-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-scope .operations-asset-mobile-launch-grid,
  .op-scope .operations-asset-mobile-detail .op-card-grid,
  .op-scope .operations-asset-mobile-workflow .op-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .operations-asset-mobile-launch-card {
    min-height: 132px;
    text-align: left;
  }

  .op-scope .operations-asset-mobile-card__top,
  .op-scope .operations-asset-mobile-card__facts,
  .op-scope .operations-asset-mobile-controls .admin-form-grid,
  .op-scope .operations-asset-mobile-form-view .admin-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .operations-asset-mobile-back-row,
  .op-scope .operations-asset-mobile-link-row,
  .op-scope .operations-asset-mobile-detail-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .operations-asset-mobile-detail-head {
    gap: 10px;
  }

  .op-scope .operations-asset-mobile-flow .op-button {
    width: 100%;
  }

  .op-scope .operations-asset-mobile-flow .op-table-wrap,
  .op-scope .operations-asset-mobile-flow .op-table-scroll {
    overflow: visible;
  }

  .op-scope .operations-asset-mobile-flow .op-table {
    border: 0;
    display: block;
    min-width: 0;
    width: 100%;
  }

  .op-scope .operations-asset-mobile-flow .op-table thead {
    display: none;
  }

  .op-scope .operations-asset-mobile-flow .op-table tbody {
    display: grid;
    gap: 12px;
  }

  .op-scope .operations-asset-mobile-flow .op-table tr {
    background: var(--op-white);
    border: 1px solid var(--op-slate-200);
    border-radius: var(--op-radius);
    display: grid;
    overflow: hidden;
  }

  .op-scope .operations-asset-mobile-flow .op-table td {
    align-items: start;
    border: 0;
    border-bottom: 1px solid var(--op-slate-200);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(88px, 0.36fr) minmax(0, 1fr);
    padding: 12px;
  }

  .op-scope .operations-asset-mobile-flow .op-table td:last-child {
    border-bottom: 0;
  }

  .op-scope .operations-asset-mobile-flow .op-table td::before {
    color: var(--op-slate-500);
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .op-scope .operations-asset-mobile-flow .op-table td[colspan],
  .op-scope .operations-asset-mobile-flow .op-table td:first-child {
    display: block;
  }

  .op-scope .operations-asset-mobile-flow .op-table td[colspan]::before {
    content: "";
    display: none;
  }
}

@media (max-width: 640px) {
  .op-scope .op-form-grid.op-controlled-record-filter-grid {
    grid-template-columns: 1fr;
  }

  .op-scope .product-library-search,
  .op-scope .product-library-specs,
  .op-scope .op-resource-filter-grid {
    grid-template-columns: 1fr;
  }

  .op-scope .scenario-row {
    grid-template-columns: 1fr;
  }

  .op-scope .scenario-row-action {
    justify-content: flex-start;
  }

  .op-scope .quiz-topic-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .op-scope .quiz-topic-row .op-status {
    grid-column: 2;
    justify-self: start;
  }

  .op-scope .quiz-topic-row .op-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .op-scope .vehicle-check-item,
  .op-scope .vehicle-check-submit-bar {
    grid-template-columns: 1fr;
  }

  .op-scope .vehicle-check-progress-panel,
  .op-scope .vehicle-check-compact-grid {
    grid-template-columns: 1fr;
  }

  .op-scope .vehicle-check-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-scope .vehicle-check-header {
    grid-template-columns: 1fr;
  }

  .op-scope .vehicle-check-header > .op-status {
    justify-self: start;
  }

  .op-scope .vehicle-check-submit-bar {
    align-items: stretch;
    display: grid;
    bottom: 8px;
  }

  .op-scope .vehicle-check-completion {
    grid-template-columns: 1fr;
  }

  .op-scope .vehicle-check-submit-bar .op-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .op-scope .domain-demand-assignment-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .domain-demand-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-scope .domain-demand-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .domain-demand-actions .op-button {
    justify-content: center;
    width: 100%;
  }

  .op-scope .domain-demand-summary-row {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .domain-demand-summary-row > div:last-child {
    justify-items: start;
  }

  .op-scope,
  .op-scope *,
  .op-scope *::before,
  .op-scope *::after {
    min-width: 0;
  }

  .op-scope {
    max-width: 100%;
    overflow-x: hidden;
  }

  .op-scope .op-page {
    max-width: 100%;
    padding: 12px;
  }

  .op-scope .op-stack {
    gap: 14px;
  }

  .op-scope .op-stack--lg {
    gap: 16px;
  }

  .op-scope .op-page-header,
  .op-scope .op-card,
  .op-scope .op-panel {
    max-width: 100%;
  }

  .op-scope .op-page-header {
    gap: 14px;
    padding: 16px;
  }

  .op-scope .op-page-header__top {
    display: grid;
    gap: 12px;
  }

  .op-scope .op-title {
    font-size: clamp(1.42rem, 1.18rem + 0.86vw, 1.72rem);
    line-height: 1.14;
  }

  .op-scope .op-section-title {
    font-size: 1.03rem;
  }

  .op-scope .op-card-title {
    font-size: 0.96rem;
  }

  .op-scope .op-body {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .op-scope .op-card-grid,
  .op-scope .op-card-grid--compact,
  .op-scope .op-resource-grid--count-2,
  .op-scope .operations-home-metrics,
  .op-scope .operations-home-launch-grid,
  .op-scope .operations-skills-gap-grid,
  .op-scope .product-detail-grid,
  .op-scope .document-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .op-card,
  .op-scope .op-resource-card {
    min-height: auto;
    padding: 16px;
  }

  .op-scope .op-resource-card .op-body {
    max-width: none;
  }

  .op-scope .op-stat-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .op-stat-cell {
    min-height: 82px;
    padding: 14px;
  }

  .op-scope .op-stat-cell + .op-stat-cell {
    border-left: 0;
    border-top: 1px solid var(--op-slate-200);
  }

  .op-scope .assets-landing-stats {
    background: var(--op-slate-200);
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-scope .assets-landing-stats .op-stat-cell {
    min-height: 66px;
    padding: 11px 12px;
  }

  .op-scope .assets-landing-stats .op-stat-cell + .op-stat-cell {
    border: 0;
  }

  .op-scope .assets-landing-stats .op-stat-cell:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .op-scope .op-pill-row,
  .op-scope .op-action-row,
  .op-scope .op-filter-row {
    gap: 6px;
    max-width: 100%;
  }

  .op-scope .op-pill,
  .op-scope .op-status,
  .op-scope .op-button {
    max-width: 100%;
    white-space: normal;
  }

  .op-scope .platform-help {
    position: static;
  }

  .op-scope .platform-help__popover {
    bottom: 16px;
    left: 16px;
    max-width: calc(100vw - 32px);
    min-width: 0;
    position: fixed;
    right: 16px;
    top: auto;
  }

  .op-scope .bulk-assignment-results li {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .op-pill {
    font-size: 0.76rem;
    min-height: 28px;
    padding: 0 8px;
  }

  .op-scope .op-pill__count {
    padding: 3px 6px;
  }

  .op-scope .op-table-wrap,
  .op-scope .op-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .op-scope .op-table {
    min-width: 560px;
  }

  .op-scope .qualification-op-table,
  .op-scope .resource-register-table,
  .op-scope .resource-register-table--wide,
  .op-scope .operations-report-preview-table,
  .op-scope .operations-vehicle-fleet-table,
  .op-scope .operations-asset-register-table,
  .op-scope .operations-engineer-selection-table,
  .op-scope .operations-calendar-table,
  .op-scope .operations-report-library-table,
  .op-scope .operations-report-history-table,
  .op-scope .operations-activity-log-table {
    min-width: 560px;
  }

  .op-scope .op-table th,
  .op-scope .op-table td {
    padding: 10px 12px;
  }

  .op-scope .resource-register-panel .op-table-wrap,
  .op-scope .qualification-op-table {
    overflow: visible;
  }

  .op-scope .qualification-op-table,
  .op-scope .resource-register-table,
  .op-scope .resource-register-table--wide {
    border: 0;
    display: block;
    min-width: 0;
    width: 100%;
  }

  .op-scope .qualification-op-table thead,
  .op-scope .resource-register-table thead,
  .op-scope .resource-register-table--wide thead {
    display: none;
  }

  .op-scope .qualification-op-table tbody,
  .op-scope .resource-register-table tbody,
  .op-scope .resource-register-table--wide tbody {
    display: grid;
    gap: 12px;
  }

  .op-scope .qualification-op-table tr,
  .op-scope .resource-register-table tr,
  .op-scope .resource-register-table--wide tr {
    background: var(--op-white);
    border: 1px solid var(--op-slate-200);
    border-radius: var(--op-radius);
    display: grid;
    gap: 0;
    overflow: hidden;
  }

  .op-scope .qualification-op-table td,
  .op-scope .resource-register-table td,
  .op-scope .resource-register-table--wide td {
    align-items: start;
    border: 0;
    border-bottom: 1px solid var(--op-slate-200);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(88px, 0.36fr) minmax(0, 1fr);
    padding: 12px;
  }

  .op-scope .qualification-op-table td:last-child,
  .op-scope .resource-register-table td:last-child,
  .op-scope .resource-register-table--wide td:last-child {
    border-bottom: 0;
  }

  .op-scope .qualification-op-table td::before,
  .op-scope .resource-register-table td::before,
  .op-scope .resource-register-table--wide td::before {
    color: var(--op-slate-500);
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .op-scope .qualification-op-table td > *,
  .op-scope .resource-register-table td > *,
  .op-scope .resource-register-table--wide td > * {
    min-width: 0;
  }

  .op-scope .qualification-op-table td:first-child,
  .op-scope .resource-register-table td:first-child,
  .op-scope .resource-register-table--wide td:first-child {
    display: block;
  }

  .op-scope .qualification-op-table td:first-child::before,
  .op-scope .resource-register-table td:first-child::before,
  .op-scope .resource-register-table--wide td:first-child::before {
    display: block;
    margin-bottom: 6px;
  }

  .op-scope .resource-register-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .op-scope .resource-register-actions .op-button {
    width: 100%;
  }

  .op-scope .audit-finding-table,
  .op-scope .audit-register-table,
  .op-scope .audit-results-table,
  .op-scope .assigned-vehicle-compliance-table,
  .op-scope .assigned-vehicle-detail-table,
  .op-scope .assigned-vehicle-record-table,
  .op-scope .op-controlled-records-table,
  .op-scope .operations-activity-log-table,
  .op-scope .operations-asset-register-table,
  .op-scope .operations-calendar-table,
  .op-scope .operations-engineer-selection-table,
  .op-scope .operations-evidence-history-table,
  .op-scope .operations-fleet-history-table,
  .op-scope .operations-report-history-table,
  .op-scope .operations-report-library-table,
  .op-scope .operations-report-preview-table,
  .op-scope .operations-review-workload-table,
  .op-scope .operations-vehicle-defect-history-table,
  .op-scope .operations-vehicle-document-links-table,
  .op-scope .operations-vehicle-fleet-table,
  .op-scope .operations-vehicle-linked-documents-table,
  .op-scope .operations-vehicle-safety-history-table,
  .op-scope .operations-vehicle-service-history-table,
  .op-scope .review-queue-table {
    border: 0;
    display: block;
    min-width: 0;
    width: 100%;
  }

  .op-scope .audit-finding-table thead,
  .op-scope .audit-register-table thead,
  .op-scope .audit-results-table thead,
  .op-scope .assigned-vehicle-compliance-table thead,
  .op-scope .assigned-vehicle-detail-table thead,
  .op-scope .assigned-vehicle-record-table thead,
  .op-scope .op-controlled-records-table thead,
  .op-scope .operations-activity-log-table thead,
  .op-scope .operations-asset-register-table thead,
  .op-scope .operations-calendar-table thead,
  .op-scope .operations-engineer-selection-table thead,
  .op-scope .operations-evidence-history-table thead,
  .op-scope .operations-fleet-history-table thead,
  .op-scope .operations-report-history-table thead,
  .op-scope .operations-report-library-table thead,
  .op-scope .operations-report-preview-table thead,
  .op-scope .operations-review-workload-table thead,
  .op-scope .operations-vehicle-defect-history-table thead,
  .op-scope .operations-vehicle-document-links-table thead,
  .op-scope .operations-vehicle-fleet-table thead,
  .op-scope .operations-vehicle-linked-documents-table thead,
  .op-scope .operations-vehicle-safety-history-table thead,
  .op-scope .operations-vehicle-service-history-table thead,
  .op-scope .review-queue-table thead {
    display: none;
  }

  .op-scope .audit-finding-table tbody,
  .op-scope .audit-register-table tbody,
  .op-scope .audit-results-table tbody,
  .op-scope .assigned-vehicle-compliance-table tbody,
  .op-scope .assigned-vehicle-detail-table tbody,
  .op-scope .assigned-vehicle-record-table tbody,
  .op-scope .op-controlled-records-table tbody,
  .op-scope .operations-activity-log-table tbody,
  .op-scope .operations-asset-register-table tbody,
  .op-scope .operations-calendar-table tbody,
  .op-scope .operations-engineer-selection-table tbody,
  .op-scope .operations-evidence-history-table tbody,
  .op-scope .operations-fleet-history-table tbody,
  .op-scope .operations-report-history-table tbody,
  .op-scope .operations-report-library-table tbody,
  .op-scope .operations-report-preview-table tbody,
  .op-scope .operations-review-workload-table tbody,
  .op-scope .operations-vehicle-defect-history-table tbody,
  .op-scope .operations-vehicle-document-links-table tbody,
  .op-scope .operations-vehicle-fleet-table tbody,
  .op-scope .operations-vehicle-linked-documents-table tbody,
  .op-scope .operations-vehicle-safety-history-table tbody,
  .op-scope .operations-vehicle-service-history-table tbody,
  .op-scope .review-queue-table tbody {
    display: grid;
    gap: 12px;
  }

  .op-scope .audit-finding-table tr,
  .op-scope .audit-register-table tr,
  .op-scope .audit-results-table tr,
  .op-scope .assigned-vehicle-compliance-table tr,
  .op-scope .assigned-vehicle-detail-table tr,
  .op-scope .assigned-vehicle-record-table tr,
  .op-scope .op-controlled-records-table tr,
  .op-scope .operations-activity-log-table tr,
  .op-scope .operations-asset-register-table tr,
  .op-scope .operations-calendar-table tr,
  .op-scope .operations-engineer-selection-table tr,
  .op-scope .operations-evidence-history-table tr,
  .op-scope .operations-fleet-history-table tr,
  .op-scope .operations-report-history-table tr,
  .op-scope .operations-report-library-table tr,
  .op-scope .operations-report-preview-table tr,
  .op-scope .operations-review-workload-table tr,
  .op-scope .operations-vehicle-defect-history-table tr,
  .op-scope .operations-vehicle-document-links-table tr,
  .op-scope .operations-vehicle-fleet-table tr,
  .op-scope .operations-vehicle-linked-documents-table tr,
  .op-scope .operations-vehicle-safety-history-table tr,
  .op-scope .operations-vehicle-service-history-table tr,
  .op-scope .review-queue-table tr {
    background: var(--op-white);
    border: 1px solid var(--op-slate-200);
    border-radius: var(--op-radius);
    display: grid;
    gap: 0;
    overflow: hidden;
  }

  .op-scope .audit-finding-table td,
  .op-scope .audit-register-table td,
  .op-scope .audit-results-table td,
  .op-scope .assigned-vehicle-compliance-table td,
  .op-scope .assigned-vehicle-detail-table td,
  .op-scope .assigned-vehicle-record-table td,
  .op-scope .op-controlled-records-table td,
  .op-scope .operations-activity-log-table td,
  .op-scope .operations-asset-register-table td,
  .op-scope .operations-calendar-table td,
  .op-scope .operations-engineer-selection-table td,
  .op-scope .operations-evidence-history-table td,
  .op-scope .operations-fleet-history-table td,
  .op-scope .operations-report-history-table td,
  .op-scope .operations-report-library-table td,
  .op-scope .operations-report-preview-table td,
  .op-scope .operations-review-workload-table td,
  .op-scope .operations-vehicle-defect-history-table td,
  .op-scope .operations-vehicle-document-links-table td,
  .op-scope .operations-vehicle-fleet-table td,
  .op-scope .operations-vehicle-linked-documents-table td,
  .op-scope .operations-vehicle-safety-history-table td,
  .op-scope .operations-vehicle-service-history-table td,
  .op-scope .review-queue-table td {
    align-items: start;
    border: 0;
    border-bottom: 1px solid var(--op-slate-200);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(88px, 0.36fr) minmax(0, 1fr);
    padding: 12px;
  }

  .op-scope .audit-finding-table td:last-child,
  .op-scope .audit-register-table td:last-child,
  .op-scope .audit-results-table td:last-child,
  .op-scope .assigned-vehicle-compliance-table td:last-child,
  .op-scope .assigned-vehicle-detail-table td:last-child,
  .op-scope .assigned-vehicle-record-table td:last-child,
  .op-scope .op-controlled-records-table td:last-child,
  .op-scope .operations-activity-log-table td:last-child,
  .op-scope .operations-asset-register-table td:last-child,
  .op-scope .operations-calendar-table td:last-child,
  .op-scope .operations-engineer-selection-table td:last-child,
  .op-scope .operations-evidence-history-table td:last-child,
  .op-scope .operations-fleet-history-table td:last-child,
  .op-scope .operations-report-history-table td:last-child,
  .op-scope .operations-report-library-table td:last-child,
  .op-scope .operations-report-preview-table td:last-child,
  .op-scope .operations-review-workload-table td:last-child,
  .op-scope .operations-vehicle-defect-history-table td:last-child,
  .op-scope .operations-vehicle-document-links-table td:last-child,
  .op-scope .operations-vehicle-fleet-table td:last-child,
  .op-scope .operations-vehicle-linked-documents-table td:last-child,
  .op-scope .operations-vehicle-safety-history-table td:last-child,
  .op-scope .operations-vehicle-service-history-table td:last-child,
  .op-scope .review-queue-table td:last-child {
    border-bottom: 0;
  }

  .op-scope .audit-finding-table td::before,
  .op-scope .audit-register-table td::before,
  .op-scope .audit-results-table td::before,
  .op-scope .assigned-vehicle-compliance-table td::before,
  .op-scope .assigned-vehicle-detail-table td::before,
  .op-scope .assigned-vehicle-record-table td::before,
  .op-scope .op-controlled-records-table td::before,
  .op-scope .operations-activity-log-table td::before,
  .op-scope .operations-asset-register-table td::before,
  .op-scope .operations-calendar-table td::before,
  .op-scope .operations-engineer-selection-table td::before,
  .op-scope .operations-evidence-history-table td::before,
  .op-scope .operations-fleet-history-table td::before,
  .op-scope .operations-report-history-table td::before,
  .op-scope .operations-report-library-table td::before,
  .op-scope .operations-report-preview-table td::before,
  .op-scope .operations-review-workload-table td::before,
  .op-scope .operations-vehicle-defect-history-table td::before,
  .op-scope .operations-vehicle-document-links-table td::before,
  .op-scope .operations-vehicle-fleet-table td::before,
  .op-scope .operations-vehicle-linked-documents-table td::before,
  .op-scope .operations-vehicle-safety-history-table td::before,
  .op-scope .operations-vehicle-service-history-table td::before,
  .op-scope .review-queue-table td::before {
    color: var(--op-slate-500);
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .op-scope .audit-finding-table td > *,
  .op-scope .audit-register-table td > *,
  .op-scope .audit-results-table td > *,
  .op-scope .assigned-vehicle-compliance-table td > *,
  .op-scope .assigned-vehicle-detail-table td > *,
  .op-scope .assigned-vehicle-record-table td > *,
  .op-scope .op-controlled-records-table td > *,
  .op-scope .operations-activity-log-table td > *,
  .op-scope .operations-asset-register-table td > *,
  .op-scope .operations-calendar-table td > *,
  .op-scope .operations-engineer-selection-table td > *,
  .op-scope .operations-evidence-history-table td > *,
  .op-scope .operations-fleet-history-table td > *,
  .op-scope .operations-report-history-table td > *,
  .op-scope .operations-report-library-table td > *,
  .op-scope .operations-report-preview-table td > *,
  .op-scope .operations-review-workload-table td > *,
  .op-scope .operations-vehicle-defect-history-table td > *,
  .op-scope .operations-vehicle-document-links-table td > *,
  .op-scope .operations-vehicle-fleet-table td > *,
  .op-scope .operations-vehicle-linked-documents-table td > *,
  .op-scope .operations-vehicle-safety-history-table td > *,
  .op-scope .operations-vehicle-service-history-table td > *,
  .op-scope .review-queue-table td > * {
    min-width: 0;
  }

  .op-scope .audit-finding-table td:first-child,
  .op-scope .audit-register-table td:first-child,
  .op-scope .audit-results-table td:first-child,
  .op-scope .assigned-vehicle-compliance-table td:first-child,
  .op-scope .assigned-vehicle-detail-table td:first-child,
  .op-scope .assigned-vehicle-record-table td:first-child,
  .op-scope .op-controlled-records-table td:first-child,
  .op-scope .operations-activity-log-table td:first-child,
  .op-scope .operations-asset-register-table td:first-child,
  .op-scope .operations-calendar-table td:first-child,
  .op-scope .operations-engineer-selection-table td:first-child,
  .op-scope .operations-evidence-history-table td:first-child,
  .op-scope .operations-fleet-history-table td:first-child,
  .op-scope .operations-report-history-table td:first-child,
  .op-scope .operations-report-library-table td:first-child,
  .op-scope .operations-report-preview-table td:first-child,
  .op-scope .operations-review-workload-table td:first-child,
  .op-scope .operations-vehicle-defect-history-table td:first-child,
  .op-scope .operations-vehicle-document-links-table td:first-child,
  .op-scope .operations-vehicle-fleet-table td:first-child,
  .op-scope .operations-vehicle-linked-documents-table td:first-child,
  .op-scope .operations-vehicle-safety-history-table td:first-child,
  .op-scope .operations-vehicle-service-history-table td:first-child,
  .op-scope .review-queue-table td:first-child {
    display: block;
  }

  .op-scope .audit-finding-table td:first-child::before,
  .op-scope .audit-register-table td:first-child::before,
  .op-scope .audit-results-table td:first-child::before,
  .op-scope .assigned-vehicle-compliance-table td:first-child::before,
  .op-scope .assigned-vehicle-detail-table td:first-child::before,
  .op-scope .assigned-vehicle-record-table td:first-child::before,
  .op-scope .op-controlled-records-table td:first-child::before,
  .op-scope .operations-activity-log-table td:first-child::before,
  .op-scope .operations-asset-register-table td:first-child::before,
  .op-scope .operations-calendar-table td:first-child::before,
  .op-scope .operations-engineer-selection-table td:first-child::before,
  .op-scope .operations-evidence-history-table td:first-child::before,
  .op-scope .operations-fleet-history-table td:first-child::before,
  .op-scope .operations-report-history-table td:first-child::before,
  .op-scope .operations-report-library-table td:first-child::before,
  .op-scope .operations-report-preview-table td:first-child::before,
  .op-scope .operations-review-workload-table td:first-child::before,
  .op-scope .operations-vehicle-defect-history-table td:first-child::before,
  .op-scope .operations-vehicle-document-links-table td:first-child::before,
  .op-scope .operations-vehicle-fleet-table td:first-child::before,
  .op-scope .operations-vehicle-linked-documents-table td:first-child::before,
  .op-scope .operations-vehicle-safety-history-table td:first-child::before,
  .op-scope .operations-vehicle-service-history-table td:first-child::before,
  .op-scope .review-queue-table td:first-child::before {
    display: block;
    margin-bottom: 6px;
  }

  .op-scope .audit-finding-table td[colspan],
  .op-scope .audit-register-table td[colspan],
  .op-scope .audit-results-table td[colspan],
  .op-scope .assigned-vehicle-compliance-table td[colspan],
  .op-scope .assigned-vehicle-detail-table td[colspan],
  .op-scope .assigned-vehicle-record-table td[colspan],
  .op-scope .op-controlled-records-table td[colspan],
  .op-scope .operations-activity-log-table td[colspan],
  .op-scope .operations-asset-register-table td[colspan],
  .op-scope .operations-calendar-table td[colspan],
  .op-scope .operations-engineer-selection-table td[colspan],
  .op-scope .operations-evidence-history-table td[colspan],
  .op-scope .operations-fleet-history-table td[colspan],
  .op-scope .operations-report-history-table td[colspan],
  .op-scope .operations-report-library-table td[colspan],
  .op-scope .operations-report-preview-table td[colspan],
  .op-scope .operations-review-workload-table td[colspan],
  .op-scope .operations-vehicle-defect-history-table td[colspan],
  .op-scope .operations-vehicle-document-links-table td[colspan],
  .op-scope .operations-vehicle-fleet-table td[colspan],
  .op-scope .operations-vehicle-linked-documents-table td[colspan],
  .op-scope .operations-vehicle-safety-history-table td[colspan],
  .op-scope .operations-vehicle-service-history-table td[colspan],
  .op-scope .review-queue-table td[colspan] {
    display: block;
  }

  .op-scope .audit-finding-table td[colspan]::before,
  .op-scope .audit-register-table td[colspan]::before,
  .op-scope .audit-results-table td[colspan]::before,
  .op-scope .assigned-vehicle-compliance-table td[colspan]::before,
  .op-scope .assigned-vehicle-detail-table td[colspan]::before,
  .op-scope .assigned-vehicle-record-table td[colspan]::before,
  .op-scope .op-controlled-records-table td[colspan]::before,
  .op-scope .operations-activity-log-table td[colspan]::before,
  .op-scope .operations-asset-register-table td[colspan]::before,
  .op-scope .operations-calendar-table td[colspan]::before,
  .op-scope .operations-engineer-selection-table td[colspan]::before,
  .op-scope .operations-evidence-history-table td[colspan]::before,
  .op-scope .operations-fleet-history-table td[colspan]::before,
  .op-scope .operations-report-history-table td[colspan]::before,
  .op-scope .operations-report-library-table td[colspan]::before,
  .op-scope .operations-report-preview-table td[colspan]::before,
  .op-scope .operations-review-workload-table td[colspan]::before,
  .op-scope .operations-vehicle-defect-history-table td[colspan]::before,
  .op-scope .operations-vehicle-document-links-table td[colspan]::before,
  .op-scope .operations-vehicle-fleet-table td[colspan]::before,
  .op-scope .operations-vehicle-linked-documents-table td[colspan]::before,
  .op-scope .operations-vehicle-safety-history-table td[colspan]::before,
  .op-scope .operations-vehicle-service-history-table td[colspan]::before,
  .op-scope .review-queue-table td[colspan]::before {
    content: "";
    display: none;
  }

  .op-scope .audit-register-table .op-button,
  .op-scope .operations-calendar-table select,
  .op-scope .operations-engineer-selection-table .op-button,
  .op-scope .operations-report-library-table .op-button,
  .op-scope .operations-report-history-table .op-button,
  .op-scope .review-queue-table .op-button {
    width: 100%;
  }

  .op-scope .admin-vehicle-assignment-history-table {
    border: 0;
    display: block;
    min-width: 0;
    width: 100%;
  }

  .op-scope .admin-vehicle-assignment-history-table thead {
    display: none;
  }

  .op-scope .admin-vehicle-assignment-history-table tbody {
    display: grid;
    gap: 12px;
  }

  .op-scope .admin-vehicle-assignment-history-table tr {
    background: var(--op-white);
    border: 1px solid var(--op-slate-200);
    border-radius: var(--op-radius);
    display: grid;
    overflow: hidden;
  }

  .op-scope .admin-vehicle-assignment-history-table td {
    align-items: start;
    border: 0;
    border-bottom: 1px solid var(--op-slate-200);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(88px, 0.36fr) minmax(0, 1fr);
    padding: 12px;
  }

  .op-scope .admin-vehicle-assignment-history-table td:last-child {
    border-bottom: 0;
  }

  .op-scope .admin-vehicle-assignment-history-table td::before {
    color: var(--op-slate-500);
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .op-scope .admin-vehicle-assignment-history-table td > * {
    min-width: 0;
  }

  .op-scope .admin-vehicle-assignment-history-table td:first-child {
    display: block;
  }

  .op-scope .admin-vehicle-assignment-history-table td:first-child::before {
    display: block;
    margin-bottom: 6px;
  }

  .op-scope .admin-vehicle-assignment-history-table td[colspan] {
    display: block;
  }

  .op-scope .admin-vehicle-assignment-history-table td[colspan]::before {
    content: "";
    display: none;
  }

  .op-scope .review-evidence-audit-trail-table,
  .op-scope .review-evidence-detail-table,
  .op-scope .review-evidence-impact-table,
  .op-scope .review-evidence-previous-decisions-table {
    border: 0;
    display: block;
    min-width: 0;
    width: 100%;
  }

  .op-scope .review-evidence-audit-trail-table tbody,
  .op-scope .review-evidence-detail-table tbody,
  .op-scope .review-evidence-impact-table tbody,
  .op-scope .review-evidence-previous-decisions-table tbody {
    display: grid;
    gap: 10px;
  }

  .op-scope .review-evidence-audit-trail-table tr,
  .op-scope .review-evidence-detail-table tr,
  .op-scope .review-evidence-impact-table tr,
  .op-scope .review-evidence-previous-decisions-table tr {
    background: var(--op-white);
    border: 1px solid var(--op-slate-200);
    border-radius: var(--op-radius-sm);
    display: grid;
    overflow: hidden;
  }

  .op-scope .review-evidence-audit-trail-table th,
  .op-scope .review-evidence-audit-trail-table td,
  .op-scope .review-evidence-detail-table th,
  .op-scope .review-evidence-detail-table td,
  .op-scope .review-evidence-impact-table th,
  .op-scope .review-evidence-impact-table td,
  .op-scope .review-evidence-previous-decisions-table th,
  .op-scope .review-evidence-previous-decisions-table td {
    border: 0;
    display: block;
    min-width: 0;
    padding: 10px 12px;
  }

  .op-scope .review-evidence-audit-trail-table th,
  .op-scope .review-evidence-detail-table th,
  .op-scope .review-evidence-impact-table th,
  .op-scope .review-evidence-previous-decisions-table th {
    background: var(--op-slate-50);
    color: var(--op-slate-500);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
  }

  .op-scope .vehicle-safety-check-form,
  .op-scope .vehicle-check-section,
  .op-scope .vehicle-check-accordion,
  .op-scope .vehicle-check-list,
  .op-scope .vehicle-check-item {
    max-width: 100%;
  }

  .op-scope .vehicle-check-section--compact,
  .op-scope .vehicle-check-item {
    padding: 12px;
  }

  .op-scope .vehicle-check-accordion summary {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .vehicle-check-accordion summary span:first-child {
    overflow-wrap: anywhere;
  }

  .op-scope .vehicle-check-accordion summary .op-status {
    justify-self: start;
  }

  .op-scope .vehicle-check-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-scope .vehicle-check-status {
    min-height: 46px;
    padding: 9px 8px;
  }

  .op-scope .vehicle-check-submit-bar {
    position: static;
    box-shadow: var(--op-shadow-xs);
  }
}

/* Employee records: keep operational decisions prominent on desktop without
   changing the compact single-column phone treatment. */
.employee-record-panel .admin-detail-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
}

.employee-record-panel .employee-record-card {
  grid-column: span 4;
}

.employee-record-panel .employee-record-card--lifecycle,
.employee-record-panel .employee-record-card--ready-work {
  grid-column: span 6;
}

.employee-record-panel .employee-record-card--work-setup {
  grid-column: 1 / -1;
  background: var(--op-white);
}

.employee-record-panel .employee-record-card--work-setup .op-table-wrap {
  overflow-x: visible;
}

.employee-record-panel .employee-record-card--work-setup .data-table {
  min-width: 0;
  width: 100%;
}

.employee-record-panel .employee-onboarding-recovery {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--op-slate-200);
}

.employee-record-panel .employee-onboarding-recovery .op-alert {
  margin: 0;
}

.employee-record-panel .employee-onboarding-recovery .document-admin-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.employee-record-panel .employee-onboarding-recovery .op-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.employee-record-panel .employee-onboarding-recovery input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.employee-record-panel .employee-onboarding-recovery label:last-child {
  grid-column: 1 / -1;
}

.employee-record-panel .employee-onboarding-recovery textarea {
  min-height: 58px;
}

.employee-record-panel .employee-record-disclosure {
  grid-column: span 6;
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  background: var(--op-white);
}

.employee-record-panel .employee-record-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

.employee-record-panel .employee-record-disclosure__body {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.employee-record-panel .employee-record-disclosure__body > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

@media (max-width: 1100px) {
  .employee-record-panel .employee-record-card,
  .employee-record-panel .employee-record-card--lifecycle,
  .employee-record-panel .employee-record-card--ready-work,
  .employee-record-panel .employee-record-disclosure {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .employee-record-panel .admin-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .asset-type-settings-grid,
  .op-scope .asset-type-setting-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .operations-asset-type-settings-panel {
    max-width: none;
  }

  .employee-record-panel .employee-record-card,
  .employee-record-panel .employee-record-card--lifecycle,
  .employee-record-panel .employee-record-card--work-setup,
  .employee-record-panel .employee-record-card--ready-work,
  .employee-record-panel .employee-record-disclosure {
    grid-column: 1;
  }

  .employee-record-panel .employee-record-card--work-setup .op-table-wrap {
    overflow-x: visible;
  }

  .employee-record-panel .employee-record-card--work-setup .data-table {
    min-width: 0;
  }

  .employee-record-panel .employee-onboarding-recovery .document-admin-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .employee-record-panel .employee-onboarding-recovery label:last-child {
    grid-column: 1;
  }
}

/* Work requirements: keep ownership and downstream actions readable wherever
   the governed read model is presented, including its Operations route. */
.op-scope .work-requirements-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.op-scope .work-requirement-boundary {
  align-items: baseline;
  background: var(--op-blue-50);
  border: 1px solid var(--op-blue-200);
  border-radius: var(--op-radius-sm);
  color: var(--op-slate-700);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
}

.op-scope .work-requirement-summary-list,
.op-scope .work-requirement-domain-section {
  display: grid;
  gap: 12px;
}

.op-scope .work-requirement-summary {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 12px;
  padding: 14px;
}

.op-scope .work-requirement-summary__header,
.op-scope .work-requirement-domain-card__header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.op-scope .work-requirement-summary__header > div,
.op-scope .work-requirement-domain-card__header > div {
  display: grid;
  gap: 3px;
}

.op-scope .work-requirement-summary__facts,
.op-scope .work-requirement-domain-facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.op-scope .work-requirement-summary__facts > div,
.op-scope .work-requirement-domain-facts > div {
  background: var(--op-slate-50);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
}

.op-scope .work-requirement-summary dt,
.op-scope .work-requirement-domain-card dt,
.op-scope .work-requirement-next-action span {
  color: var(--op-slate-500);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.op-scope .work-requirement-summary dd,
.op-scope .work-requirement-domain-card dd {
  color: var(--op-navy-950);
  font-size: 0.84rem;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.op-scope .work-requirement-domain-section > header {
  display: grid;
  gap: 3px;
}

.op-scope .work-requirement-domain-section h4,
.op-scope .work-requirement-domain-section p,
.op-scope .work-requirement-domain-card h5 {
  margin: 0;
}

.op-scope .work-requirement-domain-section > header p {
  color: var(--op-slate-600);
  font-size: 0.84rem;
}

.op-scope .work-requirement-domain-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .workspace-attention-panel {
  gap: 16px;
}

.op-scope .workspace-action-list {
  border: 1px solid var(--op-slate-200);
  border-radius: 12px;
  overflow: hidden;
}

.op-scope .workspace-action-row {
  align-items: center;
  background: var(--op-white);
  border: 0;
  border-bottom: 1px solid var(--op-slate-200);
  color: var(--op-slate-900);
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.4fr) auto;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.op-scope .workspace-action-row[data-fleet-landing-kind="warning"] {
  grid-template-columns: minmax(0, 1fr) fit-content(30%);
}

.op-scope .workspace-action-row[data-fleet-landing-kind="warning"] > span:nth-child(2) {
  justify-self: end;
}

.op-scope .workspace-action-row[data-fleet-landing-kind="warning"] > span {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .op-scope .workspace-action-row[data-fleet-landing-kind="warning"] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.op-scope .workspace-action-row:last-child {
  border-bottom: 0;
}

.op-scope .workspace-action-row:hover,
.op-scope .workspace-action-row:focus-visible {
  background: var(--op-blue-50);
}

.op-scope .workspace-action-row span:not(.op-status) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.op-scope .workspace-action-row small {
  color: var(--op-slate-500);
}

.op-scope .workspace-attention-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.op-scope .workspace-work-queue > .op-stack,
.op-scope .workspace-record-detail > .op-stack {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .op-scope .workspace-action-row {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .workspace-attention-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

.op-scope .work-requirements-handoff-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .work-requirement-domain-card {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.op-scope .work-requirement-domain-card h5 {
  color: var(--op-navy-950);
  font-size: 0.95rem;
}

.op-scope .work-requirement-next-action {
  border-top: 1px solid var(--op-slate-200);
  display: grid;
  gap: 3px;
  padding-top: 10px;
}

.op-scope .work-requirement-next-action strong {
  color: var(--op-navy-950);
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .op-scope .work-requirement-domain-grid,
  .op-scope .work-requirements-handoff-grid,
  .op-scope .work-requirement-summary__facts,
  .op-scope .work-requirement-domain-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope .work-requirements-panel {
    padding: 14px;
  }
}

/* Asset detail: keep current custody, compliance and lifecycle actions prominent;
   retain identity and history behind concise disclosures. */
.op-scope .operations-asset-history-disclosure {
  padding: 0;
}

.op-scope .operations-asset-history-disclosure > summary {
  align-items: center;
  color: var(--op-navy-950);
  cursor: pointer;
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}

.op-scope .operations-asset-history-disclosure[open] > summary {
  border-bottom: 1px solid var(--op-slate-200);
}

.op-scope .operations-asset-history-disclosure__body {
  display: grid;
  gap: 12px;
  padding: 14px 16px 16px;
}

.op-scope .operations-asset-history-disclosure__body > .op-table-wrap,
.op-scope .operations-asset-history-disclosure__body.op-table-wrap {
  margin: 0;
}

.op-scope .operations-asset-history-disclosure--nested {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
}

.op-scope .operations-asset-identity-disclosure {
  border-color: var(--op-slate-200);
  box-shadow: none;
}

@media (max-width: 760px) {
  .op-scope .operations-asset-history-disclosure > summary {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .op-scope .operations-asset-history-disclosure__body {
    padding: 12px 14px 14px;
  }
}

/* Personal asset issue/return focus targets stay usable on narrow screens. */
#screen-training [data-engineer-asset-issue-form],#screen-training [data-engineer-asset-return-form]{min-width:0;scroll-margin-block:24px}
#screen-training [data-engineer-asset-issue-form] button,#screen-training [data-engineer-asset-return-form] button,#screen-training [data-engineer-asset-issue-form] input[type="text"],#screen-training [data-engineer-asset-issue-form] select{min-height:44px}
/* My Assets desktop: keep assignment rows compact and give issue/return details
   a full-width task surface instead of squeezing forms into the Action column. */
#screen-training .engineer-my-assets-section .engineer-asset-row-actions {
  flex-wrap: nowrap;
  gap: 8px;
}

#screen-training .engineer-my-assets-section .engineer-asset-workflow-row > td {
  background: var(--op-slate-50);
  padding: 0;
}

#screen-training .engineer-asset-workflow-panel {
  border-left: 4px solid var(--op-blue-600);
  display: grid;
  gap: 18px;
  padding: 20px 22px 22px;
}

#screen-training .engineer-asset-workflow-panel > header {
  display: grid;
  gap: 4px;
  max-width: 760px;
}

#screen-training .engineer-asset-workflow-panel > header h5,
#screen-training .engineer-asset-workflow-panel > header p {
  margin: 0;
}

#screen-training .engineer-asset-workflow-panel > header h5 {
  color: var(--op-navy-950);
  font-size: 1rem;
}

#screen-training .engineer-asset-workflow-panel > header p:last-child {
  color: var(--op-slate-600);
  font-size: 0.88rem;
  line-height: 1.45;
}

#screen-training .engineer-asset-workflow-form {
  max-width: 900px;
}

#screen-training .engineer-asset-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.45fr);
}

#screen-training .engineer-asset-form-grid--return {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#screen-training .personal-asset-identity {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

#screen-training .engineer-mobile-asset-card .personal-asset-identity > button,
#screen-training :is(.engineer-mobile-asset-card, .personal-asset-history-list) .personal-asset-assignment-details > summary {
  min-block-size: 44px;
  align-content: center;
}

#screen-training .personal-asset-assignment-details {
  overflow-wrap: anywhere;
}

#screen-training .personal-asset-assignment-details > summary {
  color: var(--op-blue-600);
  cursor: pointer;
}

#screen-training .personal-asset-assignment-details > dl {
  display: grid;
  max-inline-size: 26rem;
  gap: 8px;
  margin: 8px 0 0;
}

#screen-training .personal-asset-assignment-details dt {
  color: var(--op-slate-600);
  font-size: .8rem;
}

#screen-training .personal-asset-assignment-details dd {
  margin: 0;
  white-space: pre-wrap;
}

#screen-training .engineer-asset-form-field--wide {
  grid-column: 1 / -1;
}

#screen-training .engineer-asset-workflow-form .op-field {
  align-content: start;
  display: grid;
  gap: 6px;
}

#screen-training .engineer-asset-workflow-form input[type="text"],
#screen-training .engineer-asset-workflow-form select,
#screen-training .engineer-asset-workflow-form textarea {
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  width: 100%;
}

#screen-training .engineer-asset-workflow-form textarea {
  line-height: 1.45;
  min-height: 92px;
  resize: vertical;
}

#screen-training .engineer-asset-safety-control {
  align-items: flex-start;
  background: var(--op-blue-50);
  border: 1px solid var(--op-blue-200);
  border-radius: var(--op-radius-sm);
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

#screen-training .engineer-asset-safety-control input {
  height: 18px;
  margin: 2px 0 0;
  width: 18px;
}

#screen-training .engineer-asset-safety-control span {
  display: grid;
  gap: 2px;
}

#screen-training .engineer-asset-safety-control small {
  color: var(--op-slate-600);
  font-weight: 400;
}

@media (max-width: 760px) {
  #screen-training .engineer-asset-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #screen-training .engineer-asset-form-field--wide {
    grid-column: 1;
  }

  #screen-training .engineer-asset-workflow-panel {
    padding: 16px;
  }
}

/* DEV operational-year simulation clock. The visible operational date is kept
   separate from real audit time in every role and viewport. */
.simulation-clock-indicator {
  appearance: none;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 9px;
  color: #dbeafe;
  cursor: default;
  display: grid;
  gap: 2px;
  margin-top: 10px;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.simulation-clock-indicator--enabled {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(96, 165, 250, 0.58);
}

.simulation-clock-indicator--interactive {
  cursor: pointer;
}

.simulation-clock-indicator--interactive:hover,
.simulation-clock-indicator--interactive:focus-visible {
  background: rgba(37, 99, 235, 0.3);
  outline: 2px solid rgba(147, 197, 253, 0.75);
  outline-offset: 2px;
}

.simulation-clock-indicator__label {
  color: #93c5fd;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navigation-drawer .simulation-clock-indicator__date {
  color: #f8fafc;
  font-size: 0.84rem;
  line-height: 1.25;
}

.simulation-clock-indicator__note {
  color: #cbd5e1;
  font-size: 0.65rem;
  line-height: 1.3;
}

.simulation-clock-mobile-indicator {
  display: none;
}

.simulation-clock-dialog {
  background: transparent;
  border: 0;
  max-height: min(88vh, 860px);
  max-width: min(820px, calc(100vw - 32px));
  padding: 0;
  width: 100%;
}

.simulation-clock-dialog::backdrop {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(3px);
}

.simulation-clock-dialog__surface {
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-lg);
  box-shadow: var(--op-shadow-md);
  display: grid;
  gap: 20px;
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 24px;
}

.simulation-clock-dialog__header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.simulation-clock-dialog__header > div {
  display: grid;
  gap: 5px;
}

.simulation-clock-dialog__header h2,
.simulation-clock-dialog__header p {
  margin: 0;
}

.simulation-clock-dialog__header h2 {
  font-size: 1.45rem;
}

.simulation-clock-dialog__header p:last-child {
  color: var(--op-slate-600);
  line-height: 1.45;
}

.simulation-clock-dialog__summary {
  background: #eff6ff;
  border: 1px solid var(--op-blue-100);
  border-radius: var(--op-radius-md);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
}

.simulation-clock-dialog__summary > div {
  display: grid;
  gap: 3px;
}

.simulation-clock-dialog__summary span {
  color: var(--op-slate-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.simulation-clock-dialog__summary strong {
  color: var(--op-navy-950);
}

.simulation-clock-dialog__summary > p {
  border-top: 1px solid var(--op-blue-100);
  color: var(--op-slate-700);
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 12px;
}

.simulation-clock-dialog__fields {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
}

.simulation-clock-dialog__fields .op-field {
  align-content: start;
  display: grid;
  gap: 7px;
}

.simulation-clock-dialog__fields input,
.simulation-clock-dialog__fields textarea {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  box-sizing: border-box;
  color: var(--op-navy-950);
  font: inherit;
  margin: 0;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.simulation-clock-dialog__fields textarea {
  line-height: 1.45;
  resize: vertical;
}

.simulation-clock-dialog__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.op-scope .op-button--danger {
  background: var(--op-red-50);
  border-color: #fecaca;
  color: var(--op-red-600);
}

.simulation-clock-dialog__status {
  color: var(--op-slate-600);
  margin: 0;
  min-height: 20px;
}

.simulation-clock-dialog__status.success {
  color: var(--op-green-600);
}

.simulation-clock-dialog__status.error {
  color: var(--op-red-600);
}

.simulation-clock-dialog__history {
  border-top: 1px solid var(--op-slate-200);
  padding-top: 16px;
}

.simulation-clock-dialog__history > summary {
  cursor: pointer;
  font-weight: 800;
}

.simulation-clock-dialog__history ol {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.simulation-clock-event {
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 5px;
  padding: 11px 12px;
}

.simulation-clock-event > div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.simulation-clock-event > div span {
  color: var(--op-blue-600);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Usability priorities V2: small working lists and deliberate disclosure. */
.op-scope .usability-filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.op-scope .usability-filter-bar label,
.op-scope .insight-decision-handoff label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 0.875rem;
}
.op-scope .usability-filter-bar :is(input, select),
.op-scope .insight-decision-handoff textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.op-scope .audit-register-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-block: 1px solid var(--op-slate-200);
}
.op-scope .audit-register-summary p { margin: 0; }
.op-scope .audit-register-summary details { max-width: 60ch; }
.op-scope .insight-decision-handoff {
  min-width: 150px;
  max-width: 44ch;
  overflow-wrap: anywhere;
}
.op-scope .business-insight-attention-table td { vertical-align: top; }
/* Q1 history: compact numeric comparison, not stacked attention cards. */
.op-scope .op-table.business-insight-history-table {
  min-width: 0;
  table-layout: fixed;
}
.op-scope .business-insight-history-table caption {
  padding: 10px;
  text-align: left;
  font-size: .8rem;
  line-height: 1.4;
}
.op-scope .op-table.business-insight-history-table th,
.op-scope .op-table.business-insight-history-table td {
  padding: 8px 4px;
  overflow-wrap: anywhere;
  letter-spacing: normal;
}
.op-scope .business-insight-history-table td {
  font-variant-numeric: tabular-nums;
}
.op-scope .business-insight-history-table th {
  text-transform: none;
}
.op-scope .business-insight-history-table th:first-child { width: 25%; }
.op-scope .business-insight-history-table th:nth-child(2) { width: 20%; }
.op-scope .business-insight-history-table th:nth-child(3) { width: 25%; }
.op-scope .business-insight-history-table th:nth-child(4) { width: 30%; }
@media (max-width: 480px) {
  .op-scope .business-insight-history-table,
  .op-scope .business-insight-history-table caption,
  .op-scope .business-insight-history-table tbody { display: block; width: 100%; box-sizing: border-box; }
  .op-scope .business-insight-history-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .op-scope .business-insight-history-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--op-slate-200);
  }
  .op-scope .op-table.business-insight-history-table td { display: block; padding: 0; border: 0; }
  .op-scope .business-insight-history-table td:first-child { grid-column: 1 / -1; font-weight: 700; }
  .op-scope .business-insight-history-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    min-height: 3.9em;
    font-size: .7rem;
    line-height: 1.3;
    color: var(--op-slate-600);
    overflow-wrap: anywhere;
  }
  .op-scope .business-insight-finding-bars .business-insight-bar-row { grid-template-columns: minmax(0, 1fr) auto; }
  .op-scope .business-insight-finding-bars .business-insight-bar-row__label { grid-column: 1 / -1; min-width: 0; }
}
/* End Q1 history. */
.op-scope .insight-decision-handoff textarea {
  padding: 10px;
  border: 1px solid var(--op-slate-200);
  border-radius: 8px;
  font: inherit;
  line-height: 1.4;
  resize: vertical;
}
.op-scope .insight-decision-handoff[open] > * + *,
.op-scope .empty-resource-categories[open] > * + * { margin-top: 12px; }
.op-scope .resources-library-view .resources-library-intro { display: block !important; }
.op-scope .resources-library-view .resources-library-groups { display: grid !important; }
.op-scope .empty-resource-categories .op-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.op-scope .competence-framework-head[hidden] { display: none; }
@media (max-width: 760px) {
  .op-scope .usability-filter-bar,
  .op-scope .empty-resource-categories .op-resource-grid { grid-template-columns: minmax(0, 1fr); }
  .op-scope .work-requirements-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-scope .work-requirements-summary .op-stat-cell { min-width: 0; padding: 10px; }
  .op-scope .work-requirements-summary .op-stat-cell .op-meta { font-size: 0.7rem; }
  .op-scope .team-competence-panel .competence-readiness-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .op-scope .team-competence-panel .competence-readiness-strip .op-stat-cell {
    min-width: 0;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid var(--op-slate-200);
  }
  .op-scope .team-competence-panel .competence-readiness-strip .op-stat-value { font-size: 1.25rem; }
  .op-scope .team-competence-panel .competence-readiness-strip .op-stat-cell__label { font-size: 0.65rem; }
  .op-scope .insight-decision-handoff { min-width: 0; max-width: 100%; }
  .op-scope .business-insight-attention-table,
  .op-scope .business-insight-attention-table tbody,
  .op-scope .business-insight-attention-table tr,
  .op-scope .business-insight-attention-table td { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
  .op-scope .business-insight-attention-table thead { display: none; }
  .op-scope .business-insight-attention-table tr { margin-bottom: 16px; border: 1px solid var(--op-slate-200); border-radius: 8px; }
  .op-scope .business-insight-attention-table td { padding: 10px 12px; border: 0; white-space: normal; }
  .op-scope .business-insight-attention-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--op-slate-600); font-size: 0.7rem; font-weight: 700; }
}

.simulation-clock-event p,
.simulation-clock-event small {
  margin: 0;
}

.simulation-clock-event small {
  color: var(--op-slate-600);
}

@media (max-width: 760px) {
  .simulation-clock-mobile-indicator:not(.hidden) {
    align-items: baseline;
    background: #eff6ff;
    border: 0;
    border-bottom: 1px solid var(--op-blue-100);
    color: var(--op-navy-950);
    display: flex;
    gap: 7px;
    padding: 9px 16px;
    text-align: left;
    width: 100%;
  }

  .simulation-clock-mobile-indicator > span {
    color: var(--op-blue-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .simulation-clock-mobile-indicator > small {
    color: var(--op-slate-500);
    margin-left: auto;
  }

  .simulation-clock-dialog {
    max-width: calc(100vw - 20px);
  }

  .simulation-clock-dialog__surface {
    gap: 16px;
    padding: 18px;
  }

  .simulation-clock-dialog__header,
  .simulation-clock-dialog__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .simulation-clock-dialog__fields,
  .simulation-clock-dialog__summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .simulation-clock-dialog__summary > p {
    grid-column: 1;
  }
}
/* Management decisions: one readable phone column; no metric-card dashboard. */
.md-register .md-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.md-register > .op-page { max-width: 1100px; margin-inline: auto; }
.md-register .md-fields input:not([type="checkbox"]),
.md-register .md-fields select, .md-register .md-fields textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.md-register .md-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.md-register .md-ack { display: flex; align-items: start; gap: 10px; line-height: 1.5; }
.md-register .md-ack input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }
.md-register pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.md-register p, .md-register h2, .md-register h3 { overflow-wrap: anywhere; }
.md-register .md-history { padding-left: 20px; }
.md-register .md-history li { margin: 16px 0; }
.md-register button:focus-visible, .md-register summary:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
@media (max-width: 640px) {
  .md-register .md-actions { flex-direction: column; align-items: stretch; }
  .md-register .md-actions > *, .md-register form button { width: 100%; }
  .md-register .md-context { padding: 12px; }
  .md-register input, .md-register select, .md-register textarea { font-size: 16px; }
}

/* Pre-simulation usability priorities V3: compact summaries and progressive detail. */
.operations-summary-disclosure,
.product-library-filter-disclosure {
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  background: var(--op-slate-50);
}

.operations-summary-disclosure > summary,
.product-library-filter-disclosure > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
}

.operations-summary-disclosure > summary > span:first-child {
  display: grid;
  gap: 2px;
}

.operations-summary-disclosure > summary small,
.product-library-filter-disclosure > summary span {
  color: var(--op-slate-500);
  font-size: 0.76rem;
}

.operations-summary-disclosure .operations-home-metrics,
.product-library-filter-disclosure .product-library-selects {
  margin: 0 12px 12px;
}

.coshh-sds-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coshh-sds-summary-card {
  align-items: center;
  background: var(--op-white);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: grid;
  gap: 3px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 11px 13px;
}

.coshh-sds-summary-card > span {
  color: var(--op-slate-600);
  font-size: 0.8rem;
  font-weight: 750;
}

.coshh-sds-summary-card > strong {
  color: var(--op-navy-950);
  font-size: 1.55rem;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.coshh-sds-summary-card > small {
  color: var(--op-slate-500);
  font-size: 0.72rem;
}

.engineer-my-proof-shortcut--external {
  border-style: dashed;
  background: var(--op-slate-50);
}

.vehicle-no-assignment-panel {
  max-width: 760px;
}

.vehicle-no-assignment-panel__next {
  border-top: 1px solid var(--op-slate-200);
  margin: 0;
  padding-top: 12px;
}

.business-insights-page > .op-page {
  display: flex;
  flex-direction: column;
}

.business-insights-page .business-insights-hero { order: 0; }
.business-insights-page .business-insights-metric-grid { order: 1; }
.business-insights-page .business-insight-attention-panel { order: 2; }
.business-insights-page .business-insights-chart-grid { order: 3; }

/* Overview uses reading order: attention first, then supporting figures/history. */
.business-insights-page--overview .business-insights-metric-grid,
.business-insights-page--overview .business-insight-attention-panel,
.business-insights-page--overview .business-insights-chart-grid { order: 0; }

.business-insights-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-scope .business-insight-metric {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 10px 12px;
}

.op-scope .business-insight-metric > .op-meta,
.op-scope .business-insight-metric > .op-body,
.op-scope .business-insight-metric > .business-insight-metric__meta {
  grid-column: 1;
  margin: 0;
}

.op-scope .business-insight-metric > .op-stat-value {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.product-library-filter-disclosure[open] > summary {
  border-bottom: 1px solid var(--op-slate-200);
  margin-bottom: 12px;
}

.product-detail-page .detail-list > div {
  min-height: 0;
  padding-block: 9px;
}

.document-admin-tabs {
  scrollbar-width: thin;
}

@media (max-width: 760px) {
  body.mobile-navigation-open .navigation-drawer {
    overscroll-behavior: contain;
    padding-bottom: calc(154px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(154px + env(safe-area-inset-bottom));
  }

  body.mobile-navigation-open .navigation-drawer .profile-card {
    flex: 0 0 auto;
    margin-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  body.mobile-navigation-open .navigation-drawer .profile-signout {
    scroll-margin-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  .op-scope .op-stat-strip {
    background: var(--op-slate-200);
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-scope .op-stat-cell,
  .op-scope .op-stat-cell + .op-stat-cell {
    border: 0;
    min-height: 64px;
    padding: 10px 12px;
  }

  .op-scope .op-stat-cell:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .manager-metric {
    gap: 8px;
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 82px;
    padding: 10px;
  }

  .manager-metric .metric-symbol {
    height: 32px;
    width: 32px;
  }

  .evidence-register-head {
    display: none;
  }

  .evidence-register-row {
    align-items: stretch;
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .evidence-register-row__primary {
    border-bottom: 1px solid var(--op-slate-200);
    padding-bottom: 10px;
  }

  .evidence-register-row__field {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: 84px minmax(0, 1fr);
    margin: 0;
  }

  .evidence-register-row__field::before {
    color: var(--op-slate-500);
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .evidence-register-row__status .op-status {
    justify-self: start;
  }

  .coshh-sds-summary {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coshh-sds-summary-card {
    align-content: start;
    gap: 4px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 88px;
    padding: 10px;
  }

  .coshh-sds-summary-card > strong {
    font-size: 1.35rem;
    grid-column: 1;
    grid-row: 1;
  }

  .coshh-sds-summary-card > span { grid-row: 2; }
  .coshh-sds-summary-card > small { grid-row: 3; }

  .business-insights-hero {
    padding: 13px;
  }

  .business-insights-hero .op-title {
    font-size: 1.35rem;
  }

  .business-insights-scope-note {
    align-items: flex-start;
    display: grid;
    justify-content: stretch;
  }

  .business-insights-metric-grid {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-scope .business-insight-metric {
    align-content: start;
    display: grid;
    gap: 3px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100px;
    padding: 9px;
  }

  .op-scope .business-insight-metric > .op-stat-value {
    font-size: 1.55rem;
    grid-column: 1;
    grid-row: 2;
  }

  .op-scope .business-insight-metric > .op-meta,
  .op-scope .business-insight-metric > .op-body,
  .op-scope .business-insight-metric > .business-insight-metric__meta {
    grid-column: 1;
  }

  .op-scope .business-insight-metric > .op-meta,
  .op-scope .business-insight-metric > .op-body {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .op-scope .business-insight-metric > .business-insight-metric__meta {
    display: none;
  }

  .business-insight-audit-card,
  .business-insight-trend-card {
    min-height: 0;
  }

  .product-library-filters {
    padding: 12px;
  }

  .product-library-search {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-library-reset-button {
    width: 100%;
  }

  .product-library-filter-disclosure .product-library-selects {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-hero {
    padding: 12px;
  }

  .product-detail-page .detail-list > div {
    gap: 3px;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 8px;
  }

  .op-scope .document-admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    overflow: visible;
    padding-bottom: 5px;
  }

  .op-scope .document-admin-tabs button {
    flex: 1 1 auto;
    max-width: 100%;
    white-space: normal;
    min-height: 44px;
  }

  .audit-centre-page .op-panel .op-panel,
  .admin-area-page .data-panel .data-panel,
  .document-admin-page .data-panel .data-panel {
    border-radius: var(--op-radius-sm);
    box-shadow: none;
    padding: 11px;
  }

  .audit-centre-page .op-page-header,
  .admin-area-page .training-dashboard-header,
  .document-admin-page .document-control-working-header {
    padding: 13px;
  }

  .audit-centre-page .op-form-grid,
  .admin-area-page .op-form-grid,
  .document-admin-page .op-form-grid,
  .operations-activity-log-panel .usability-filter-bar {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .audit-centre-page input,
  .audit-centre-page select,
  .audit-centre-page textarea,
  .admin-area-page input,
  .admin-area-page select,
  .admin-area-page textarea,
  .document-admin-page input,
  .document-admin-page select,
  .document-admin-page textarea,
  .operations-activity-log-panel input,
  .operations-activity-log-panel select {
    box-sizing: border-box;
    font-size: 16px;
    max-width: 100%;
    width: 100%;
  }

  #screen-training .engineer-my-proof-shortcut--external {
    grid-column: 1 / -1;
    min-height: 96px;
  }

  .my-actions-guidance {
    margin: 0;
  }
}

.business-insights-view-picker {
  display: none;
}

/* Shared Insights follow-up: retain scope/date, disclose explanatory copy. */
.business-insights-about { margin-top: 8px; }
.business-insights-about > summary { cursor: pointer; font-size: .875rem; }
.business-insights-about > summary:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.business-insights-about p { margin-top: 8px; }
@media (max-width: 760px) {
  .op-scope .business-insights-hero { padding: 14px; }
  .business-insights-hero__status { display: flex; flex-wrap: wrap; gap: 6px; }
  .business-insights-scope-note { gap: 6px; padding: 8px; }
  .md-register .md-context { padding: 8px 0; border: 0; box-shadow: none; background: transparent; }
  .md-register .md-context .op-alert { padding: 10px; }
}

@media (max-width: 760px) {
  .business-insights-tabs {
    display: none;
  }

  .business-insights-view-picker {
    display: grid;
    gap: 6px;
  }

  .business-insights-view-picker select {
    min-height: 44px;
    width: 100%;
  }
}

.audit-finding-editor {
  border-left: 4px solid var(--op-blue-500);
  margin-top: 14px;
}

.audit-finding-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audit-finding-form .op-field:first-child,
.audit-finding-form .op-field:last-child {
  grid-column: 1 / -1;
}

.audit-finding-evidence-summary {
  align-items: center;
  background: var(--op-slate-50);
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-sm);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
}

.audit-finding-evidence-summary span {
  color: var(--op-slate-500);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .audit-finding-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .audit-finding-form .op-field:first-child,
  .audit-finding-form .op-field:last-child {
    grid-column: auto;
  }
}

/* Fleet defects: retain every field and action without an eight-column phone table. */
@media (max-width: 760px) {
  .op-scope .operations-fleet-defects-table,
  .op-scope .operations-fleet-defects-table tbody {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .op-scope .operations-fleet-defects-table thead {
    display: none;
  }
  .op-scope .operations-fleet-defects-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    gap: 12px;
  }
  .op-scope .operations-fleet-defects-table tr + tr {
    border-top: 2px solid var(--op-slate-200);
  }
  .op-scope .operations-fleet-defects-table td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
    width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .op-scope .operations-fleet-defects-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--op-slate-500);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  .op-scope .operations-fleet-defects-table td[data-label="Vehicle"],
  .op-scope .operations-fleet-defects-table td[data-label="Defect"],
  .op-scope .operations-fleet-defects-table td[data-label="Details"],
  .op-scope .operations-fleet-defects-table td[colspan] {
    grid-column: 1 / -1;
  }
  .op-scope .operations-fleet-defects-table .op-button {
    min-height: 44px;
    width: 100%;
  }
}

/* Evidence register: one labelled filter at every viewport width. */
.op-scope .evidence-register-filter-control {
  display: grid;
  gap: 6px;
  min-width: 0;
  max-width: 420px;
}
.op-scope .evidence-register-filter-control select {
  min-height: 44px;
  width: 100%;
  min-width: 0;
}
.op-scope .evidence-register-filter-control small {
  color: var(--op-slate-500);
  font-size: 0.75rem;
}

.coshh-sds-controls-disclosure > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  min-height: 44px;
}

.coshh-sds-controls-disclosure > summary::-webkit-details-marker {
  display: none;
}

.coshh-sds-controls-disclosure > summary span:first-child {
  display: grid;
  gap: 3px;
}

.coshh-sds-controls-disclosure > summary small {
  color: var(--op-slate-500);
  font-weight: 400;
}

.coshh-sds-controls-disclosure[open] > summary > span:last-child {
  transform: rotate(45deg);
}

.coshh-sds-controls-disclosure > .structured-list {
  margin-top: 14px;
}

@media (max-width: 760px) {
  /* Keep the governed COSHH/SDS register readable on phones without changing
     its rows, actions or status model. Desktop retains the comparison table. */
  .coshh-sds-register {
    overflow: visible;
  }

  .coshh-sds-table-head {
    display: none;
  }

  .coshh-sds-row {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    padding: 0 14px;
  }

  .coshh-sds-field {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px 0;
  }

  .coshh-sds-field + .coshh-sds-field {
    border-top: 1px solid var(--op-slate-200);
  }

  .coshh-sds-field::before {
    color: var(--op-slate-500);
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .coshh-sds-actions {
    align-items: flex-start;
  }
}
@media (max-width: 720px) {
  .op-scope .fleet-safety-evidence .op-button,
  .op-scope .fleet-safety-evidence input:not([type="checkbox"]),
  .op-scope .fleet-safety-evidence select {
    min-height: 44px;
  }

  .op-scope .fleet-evidence-table-wrap {
    overflow: visible;
  }

  .op-scope .fleet-evidence-table {
    border: 0;
    display: block;
    min-width: 0;
    width: 100%;
  }

  .op-scope .fleet-evidence-table thead {
    display: none;
  }

  .op-scope .fleet-evidence-table tbody {
    display: grid;
    gap: 10px;
  }

  .op-scope .fleet-evidence-table tr {
    background: var(--op-white);
    border: 1px solid var(--op-slate-200);
    border-radius: var(--op-radius);
    display: grid;
    overflow: hidden;
  }

  .op-scope .fleet-evidence-table td {
    align-items: start;
    border: 0;
    border-bottom: 1px solid var(--op-slate-200);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(84px, .34fr) minmax(0, 1fr);
    padding: 12px;
  }

  .op-scope .fleet-evidence-table td:last-child {
    border-bottom: 0;
  }

  .op-scope .fleet-evidence-table td::before {
    color: var(--op-slate-500);
    content: attr(data-label);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}

.op-scope .fse-incident-fields {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: .55rem .75rem .75rem;
  min-width: 0;
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
}
.op-scope .fse-incident-fields legend { padding-inline: .3rem; font-weight: 700; }
.op-scope .fse-incident-fields .op-field__label small { color: var(--op-slate-600); font-weight: 500; }
.op-scope .fse-incident-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.op-scope .fse-incident-fields :is(input, textarea) { width: 100%; min-width: 0; }
.op-scope .fse-incident-fields textarea { resize: vertical; }
.op-scope .fse-incident-fields [aria-invalid="true"] { border-color: #b42318; }
.op-scope .fse-field-error { color: #a1261d; font-size: .875rem; }
.op-scope .fleet-safety-evidence :is([data-fse-incident-message], [data-fse-incident-receipt-slot], .fse-field-error)[hidden] { display: none; }
.fleet-safety-evidence [data-fse-evidence-form] :is([data-fse-generic-field], [data-fse-repair-intake])[hidden] {
  display: none !important;
}

.op-scope .fse-incident-rows { gap: .2rem; }
.op-scope .fse-incident-row { border-block-end: 1px solid var(--op-slate-200); overflow-wrap: anywhere; }
.op-scope .fse-incident-row > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .4rem .85rem;
  min-height: 44px;
  padding: .55rem .25rem;
  cursor: pointer;
}
.op-scope .fse-incident-row > summary > span:first-child,
.op-scope .fse-incident-file > div { display: grid; gap: .15rem; min-width: 0; }
.op-scope .fse-incident-view-label { color: var(--op-blue-600); font-size: .875rem; font-weight: 600; }
.op-scope .fse-incident-row[open] > summary .fse-incident-view-label { text-decoration: underline; }
.op-scope .fse-incident-row > summary:focus-visible { outline: 2px solid var(--op-blue-600); outline-offset: 2px; }
.op-scope .fse-incident-record-body { padding: .4rem .35rem .85rem; }
.op-scope .fse-incident-facts { display: grid; gap: .65rem; margin: 0; }
.op-scope .fse-incident-facts div { display: grid; grid-template-columns: minmax(7rem, .34fr) minmax(0, 1fr); gap: .4rem .7rem; }
.op-scope .fse-incident-facts dt { font-weight: 700; }
.op-scope .fse-incident-facts dd { margin: 0; white-space: pre-wrap; }
.op-scope .fse-incident-facts ul { margin: 0; padding-inline-start: 1.2rem; }
.op-scope .fse-incident-files > ul { margin: 0; padding: 0; list-style: none; }
.op-scope .fse-incident-file { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.op-scope .fse-incident-receipt { overflow-wrap: anywhere; }
.op-scope .fse-incident-receipt button { align-self: start; }

@media (max-width: 640px) {
  .op-scope .fse-incident-grid, .op-scope .fse-incident-facts div { grid-template-columns: minmax(0, 1fr); }
  .op-scope .fse-incident-row > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .op-scope .fse-incident-row > summary > span:first-child { grid-column: 1 / -1; }
  .op-scope .fse-incident-file { align-items: start; flex-direction: column; }
}

.op-scope .fleet-roadside-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-scope .fleet-roadside-action {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

@media (max-width: 720px) {
  .op-scope .fleet-roadside-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Fleet document scope: compact choices, without the global large-input treatment. */
.fleet-document-scopes { overflow-wrap: anywhere; }
.fleet-document-scopes fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fleet-document-scopes label:has(> input[type="checkbox"]) {
  display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0;
}
.fleet-document-scopes input[type="checkbox"] {
  flex: 0 0 20px; width: 20px; height: 20px; min-width: 20px; min-height: 20px;
  padding: 0; margin: 0; appearance: auto;
}
.fleet-document-scopes [data-fds-vehicle-option][hidden] { display: none; }
.vehicle-service-entry .quiz-admin-form { align-items: start; }
.vehicle-service-entry .quiz-admin-form label { min-width: 0; }
.vehicle-service-entry input, .vehicle-service-entry select, .vehicle-service-entry textarea { min-width: 0; max-width: 100%; }
@media (max-width: 600px) {
  .vehicle-service-entry .quiz-admin-form { grid-template-columns: minmax(0, 1fr); }
}
.fleet-document-scopes input, .fleet-document-scopes select, .fleet-document-scopes textarea { min-width: 0; max-width: 100%; }
@media (max-width: 600px) {
  .fleet-document-scopes .op-panel { padding: 12px; }
  .fleet-document-scopes .op-form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Asset phone clarity V1: presentation only; no workflow or permission changes. */
@media (max-width: 720px) {
  .op-scope .operations-asset-mobile-filters > summary {
    cursor: pointer;
    min-height: 44px;
    padding: 10px 0;
    font-weight: 700;
  }
  .op-scope .operations-asset-mobile-filters > summary .op-meta {
    display: block;
    margin-top: 4px;
    font-weight: 400;
  }
  .op-scope .operations-asset-mobile-filters > summary:focus-visible {
    outline: 3px solid var(--op-blue-600, #2563eb);
    outline-offset: 3px;
  }
  .op-scope .operations-asset-mobile-flow .op-table td {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .op-scope .operations-asset-mobile-flow .op-table td::before {
    display: block;
    margin-bottom: 6px;
  }
  .op-scope .operations-asset-mobile-flow .op-table td input,
  .op-scope .operations-asset-mobile-flow .op-table td textarea,
  .op-scope .operations-asset-mobile-flow .op-table td button {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
  }
  .op-scope .operations-asset-mobile-flow .op-table td button {
    margin-top: 8px;
    white-space: normal;
  }
}

/* Asset custody unavailable actions: visual only; native disabled remains authoritative in the UI. */
.op-scope .operations-asset-custody-panel .op-button:disabled {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 1;
}

/* Asset custody, lifecycle and compliance forms: shared desktop/phone fields, no workflow changes. */
.op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) .admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) input,
.op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) select,
.op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) textarea {
  resize: vertical;
}

@media (max-width: 900px) {
  .op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) .admin-form-grid,
  .op-scope .operations-asset-desktop-flow .op-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) .op-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .op-scope :is([data-asset-custody-form], [data-asset-lifecycle-form], [data-asset-compliance-form]) .op-button {
    min-height: 44px;
  }
}

/* Repair entry remains a focused form, not the register's auto-fit columns. */
.op-scope .op-form-grid.vehicle-repair-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
}
.op-scope .vehicle-repair-form .vehicle-repair-form-wide { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .op-scope .op-form-grid.vehicle-repair-form { grid-template-columns: minmax(0, 1fr); }
}

/* Asset compliance phone entry: remove nested panel padding, not workflow content. */
@media (max-width: 600px) {
  .op-scope .operations-asset-detail-panel:has([data-asset-compliance-form]) {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .op-scope .operations-asset-compliance-panel:has([data-asset-compliance-form]) {
    padding: 12px;
  }

  .op-scope .operations-asset-compliance-panel [data-asset-compliance-form] {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
/* Laptop density: one spacing scale for legacy and scoped workspaces.
   Keep the existing tablet/phone layouts and larger touch targets. */
@media (min-width: 1181px) {
  body #app-screen > .content-wrap {
    width: 100%;
    max-width: 100%;
    padding: 20px 24px 40px;
  }

  #app-screen .screen-view .op-page { padding: 0; }
  #app-screen .screen-view .op-stack--lg { gap: 16px; }
  #app-screen .screen-view .op-page-header {
    padding: 16px;
    gap: 14px;
    border-radius: 12px;
  }
  #app-screen .screen-view .op-panel:not(.op-panel--flush):not(details) { padding: 16px; }
  #app-screen .screen-view .operations-asset-desktop-flow { gap: 16px; }
  #app-screen .screen-view .op-title { font-size: 26px; line-height: 1.2; }

  #app-screen .screen-view :is(.op-status, .badge) {
    box-sizing: border-box;
    align-items: center;
    align-self: center;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    white-space: normal;
  }
  #app-screen .screen-view .op-status::before { flex: 0 0 6px; }

  #app-screen .screen-view :is(.op-button, .table-action, .admin-tab-strip button) {
    box-sizing: border-box;
    min-height: 36px;
    height: auto;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 18px;
  }
  #app-screen .screen-view .op-page-header__top > .op-button { flex-shrink: 0; }
  #app-screen .screen-view .people-operations-handoff .op-button { flex-shrink: 0; }
  #app-screen .screen-view .dashboard-home-intro .dashboard-summary-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    margin-bottom: 0;
  }
  #app-screen .screen-view .document-control-table th { padding-inline: 12px; }

  #app-screen .screen-view .operations-asset-register-panel > .op-page-header__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  #app-screen .screen-view .operations-asset-register-panel .operations-asset-register-filters { padding: 12px; }
  #app-screen .screen-view :is(.operations-asset-register-filters, [aria-label="Fleet register filters"]) :is(input, select) {
    min-height: 38px;
    border-radius: 8px;
    font-size: 14px;
  }
  #app-screen .screen-view [aria-label="Fleet register filters"] > .admin-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 12px;
  }
  #app-screen .screen-view [aria-label="Fleet register filters"] label { min-width: 0; }
  #app-screen .screen-view [data-asset-register-form] > .admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  #app-screen .screen-view [data-asset-register-form] label {
    display: grid;
    gap: 4px;
    min-width: 0;
    font-size: 14px;
  }

  /* Leave captions readable; remove space around metrics, not the numbers. */
  #app-screen .screen-view .operations-home-hero .op-card {
    min-height: 0;
    padding: 12px;
    gap: 8px;
  }
  #app-screen .screen-view .operations-control-row > div:first-child { justify-items: start; }
}

@media (min-width: 1181px) and (pointer: coarse) {
  #app-screen .screen-view :is(.op-button, .table-action, .admin-tab-strip button),
  #app-screen .screen-view :is(.operations-asset-register-filters, [aria-label="Fleet register filters"]) :is(input, select) {
    min-height: 44px;
  }
}

/* Insights navigation groups: preserve existing buttons and the <=760px picker. */
@media (min-width: 761px) {
  .business-insights-page .business-insights-tabs { align-items: flex-start; gap: 16px 24px; }
}
.business-insights-page .business-insights-tabs .business-insights-nav-group { flex: 1 1 210px; min-width: 0; }
.business-insights-page .business-insights-tabs .business-insights-nav-group:first-child { flex: 2 1 400px; }
.business-insights-page .business-insights-tabs .business-insights-nav-group__label { display: block; font-size: .82rem; color: var(--op-navy-950); }
.business-insights-page .business-insights-tabs .business-insights-nav-group__purpose { margin: 4px 0 8px; font-size: .75rem; line-height: 1.4; color: var(--op-slate-600); }
.business-insights-page .business-insights-tabs .business-insights-nav-group__buttons { display: flex; flex-wrap: wrap; gap: 8px; }

/* Keep document-specific review controls readable inside the existing register. */
.op-scope .document-builder-workflow-panel > table { width: 100%; min-width: 0; table-layout: fixed; }
.document-builder-workflow-panel > table th:nth-child(1) { width: 18%; }
.document-builder-workflow-panel > table th:nth-child(2) { width: 10%; }
.document-builder-workflow-panel > table th:nth-child(3), .document-builder-workflow-panel > table th:nth-child(4) { width: 10%; }
.document-builder-workflow-panel > table th:nth-child(5) { width: 18%; }
.document-builder-workflow-panel > table th:nth-child(6) { width: 34%; }
.document-builder-workflow-panel [data-completed-document-row] td { overflow-wrap: anywhere; }
.document-builder-workflow-panel [data-completed-document-row] td[data-label="Actions"] { min-width: 270px; white-space: normal; }
.document-builder-workflow-panel [data-completed-document-row] td[data-label="Actions"] > .table-actions { display: block; white-space: normal; }
.document-builder-workflow-panel [data-completed-document-review-task] { margin-top: 8px; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.document-builder-workflow-panel [data-completed-document-review-task] summary { white-space: normal; cursor: pointer; }
.document-builder-workflow-panel [data-completed-document-review-task] label { display: block; margin-top: 12px; white-space: normal; }
.document-builder-workflow-panel [data-completed-document-review-task] textarea { display: block; width: 100%; max-width: 100%; min-height: 88px; margin-top: 6px; box-sizing: border-box; resize: vertical; }
.document-builder-workflow-panel [data-completed-document-review-task] [role="status"] { white-space: normal; }
.document-builder-workflow-panel .completed-review-note-help { margin: 6px 0; font-size: .78rem; white-space: normal; }
@media (max-width: 760px) { .document-builder-workflow-panel [data-completed-document-row] td[data-label="Actions"] { min-width: 0; } }

/* Team Board exact evidence task only. */
.people-board-evidence-task { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:0 8px 14px; }
.people-board-evidence-task p { margin:0; min-width:0; overflow-wrap:anywhere; }
.people-board-evidence-task button { white-space:normal; text-align:left; }
@media(max-width:640px) { .people-board-evidence-task { align-items:flex-start; flex-direction:column; gap:8px; } }

/* R3: small affordance within the existing person/support button. */
.people-team-person .people-team-support-cue { color:#1d4ed8; font-weight:600; text-decoration:underline; text-underline-offset:3px; }

/* Today-only journey. Existing My Actions / My Proof / resource pages are untouched. */
#screen-training .dashboard-desktop-order.today-journey { display: block; }
.today-journey .today-actions-panel { gap: 22px; }
.today-journey .today-attention-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.today-journey .today-attention-header h3 { margin: 0; }
.today-journey .today-vehicle-list, .today-journey .today-resources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.today-journey .today-vehicle-status { border-bottom: 1px solid #d8e0e9; padding-bottom: 16px; }
.today-journey .today-vehicle-status-row { padding: 10px 12px; border-left: 4px solid #8395a7; background: #f5f7fa; border-radius: 4px; }
.today-journey .today-vehicle-status-row.op-tone--red { border-left-color: #b42318; background: #fff2f0; }
.today-journey .today-vehicle-status-row.op-tone--amber { border-left-color: #b75e00; background: #fff8eb; }
.today-journey .today-vehicle-status-row p { margin: 4px 0 0; }
.today-journey .today-source-coverage { padding-top: 10px; color: #594116; }
.today-journey .today-source-coverage > p { margin: 0 0 6px; }
.today-journey .today-source-coverage summary { cursor: pointer; width: fit-content; }
.today-journey .today-source-details { padding: 12px 0; gap: 12px; }
.today-journey .today-resources { border-top: 1px solid #d8e0e9; padding-top: 16px; }
.today-journey .today-resources li { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.today-journey .priority-action-row { min-width: 0; width: 100%; }
.today-journey .priority-action-main, .today-journey .priority-action-meta { min-width: 0; }
.today-journey .priority-action-main small, .today-journey .priority-action-titleline strong, .today-journey .priority-action-due-line { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .today-journey .today-actions-panel { padding: 14px; gap: 18px; }
  .today-journey .priority-action-row { display: grid; grid-template-columns: 5px minmax(0, 1fr); gap: 8px 12px; padding: 12px; }
  .today-journey .priority-action-meta { grid-column: 2; text-align: left; }
  .today-journey .today-attention-header { gap: 4px; }
  .today-journey .today-resources li { gap: 2px 8px; }
}
/* C review: emphasise the task, retain category as secondary context. */
.today-journey .priority-action-kicker { font-size: 12px; font-weight: 500; color: #526477; }
.today-journey .priority-action-titleline .op-card-title { font-size: 16px; font-weight: 700; color: #172b4d; }
.today-journey .today-vehicle-status { padding-bottom: 12px; }

/* Saved onboarding: preserve long identities and usable phone controls. */
.op-saved-onboarding { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.op-saved-onboarding :is(section, ul, li, details, p, label, input, button) { min-width: 0; max-width: 100%; box-sizing: border-box; }
.op-saved-onboarding ul { padding-left: 1.1rem; }
.op-saved-onboarding li + li { margin-top: 1rem; }
.op-saved-onboarding .op-button { min-height: 44px; white-space: normal; }
.op-saved-onboarding .op-button:disabled { opacity: .55; cursor: default; }
.op-saved-onboarding summary { min-height: 44px; padding: 12px 0; box-sizing: border-box; cursor: pointer; }
.op-saved-onboarding :focus-visible { outline: 3px solid var(--op-primary, #2589ec); outline-offset: 2px; }

/* Keep the unified Team Board filters comfortable to tap on phones. */
@media (max-width: 640px) {
  #app-screen [data-merged-team-board-c] .op-pill-row { gap: 8px; }
  #app-screen [data-merged-team-board-c] .op-pill { min-height: 44px; padding: 8px 10px; }
}

/* Today-only compact status and exact document task; action targets stay unchanged. */
.today-journey .today-vehicle-explanation summary{font-size:.8rem;cursor:pointer;min-height:32px;padding:.4rem 0;box-sizing:border-box}.today-journey .today-document-task .priority-action-main{display:grid;gap:.35rem}.today-journey .today-document-task .op-card-title{font-size:1rem;overflow-wrap:anywhere}.today-document-task__action{font-weight:600;color:var(--op-primary,#1d4ed8);white-space:normal;overflow-wrap:anywhere}@media(max-width:640px){.today-journey .today-document-task__action{grid-column:2;text-align:left}}

.op-scope .vehicle-checklist-phone-page:has([data-vehicle-check-type="weekly"]) > .op-page-header { display: none; }
.op-scope .vehicle-checklist-phone-page:has([data-vehicle-check-type="weekly"]),
.op-scope .vehicle-safety-check-form[data-vehicle-check-type="weekly"] { gap: .65rem; }
.op-scope .vehicle-checklist-task-panel:has([data-vehicle-check-type="weekly"]) { padding-block: .65rem; }
.op-scope .vehicle-safety-check-form[data-vehicle-check-type="weekly"] .vehicle-check-progress-panel {
  background: transparent;
  border: 0;
  gap: .35rem;
  padding: 0;
}
.op-scope .vehicle-safety-check-form [data-vehicle-check-action-status] { margin: 0; overflow-wrap: anywhere; }
.op-scope .vehicle-check-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, .7fr) minmax(0, 1.75fr);
  gap: .5rem .9rem;
  align-items: center;
  padding: .55rem .75rem;
  border: 1px solid var(--op-slate-200);
  border-radius: var(--op-radius-md);
}
.op-scope .vehicle-check-opening-confirmations { display: grid; gap: .2rem; }
.op-scope .vehicle-check-opening .vehicle-check-confirmation--inline { padding: .3rem 0; }
.op-scope .vehicle-check-unanswered { display: inline; margin-inline-start: .45rem; }
.op-scope .vehicle-check-unanswered[hidden] { display: none; }
.op-scope .vehicle-check-clear-answer { display: block; min-height: 44px; margin-block-start: .15rem; }
.op-scope .vehicle-check-clear-answer:disabled { opacity: .65; cursor: default; }
.op-scope .vehicle-check-clear-answer[hidden],
.op-scope .vehicle-safety-check-form [data-vehicle-unsafe-report][hidden],
.op-scope .vehicle-safety-check-form [data-vehicle-check-photo-recovery][hidden],
.op-scope .vehicle-safety-check-form [data-vehicle-check-upload-question][hidden],
.op-scope .vehicle-safety-check-form [data-vehicle-check-recover-photo][hidden],
.op-scope .vehicle-safety-check-form .vehicle-check-photo-unavailable[hidden],
.op-scope .vehicle-defect-report-form [hidden] { display: none; }
.op-scope .vehicle-check-critical-warning,
.op-scope .vehicle-safety-check-form [data-vehicle-unsafe-report] { grid-column: 1 / -1; }
.op-scope .vehicle-check-item__evidence > button,
.op-scope .vehicle-check-photo-unavailable > label { margin-block: .4rem; }
.op-scope :is(.vehicle-check-help, .vehicle-check-photo-unavailable, .personal-vehicle-defect-detail) > summary { cursor: pointer; padding-block: .4rem; }
.op-scope .vehicle-check-status:focus-visible,
.op-scope .vehicle-check-clear-answer:focus-visible { outline: 2px solid var(--op-blue-600); outline-offset: 2px; }
.op-scope .vehicle-defect-page { max-width: 56rem; }
.op-scope .vehicle-defect-report-form { gap: .75rem; }
.op-scope .vehicle-defect-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .65rem; }
.op-scope .vehicle-defect-fields > :is(.vehicle-defect-details, .vehicle-defect-safety-warning) { grid-column: 1 / -1; }
.op-scope .vehicle-defect-receipt,
.op-scope .personal-vehicle-defect-detail { overflow-wrap: anywhere; }

@media (min-width: 801px) {
  .op-scope .vehicle-safety-check-form[data-vehicle-check-type="weekly"] .vehicle-check-item {
    grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 22rem);
    align-items: center;
    padding: .4rem .7rem;
    min-height: 0;
  }
  .op-scope .vehicle-safety-check-form[data-vehicle-check-type="weekly"] .vehicle-check-status {
    min-height: 44px;
    overflow-wrap: anywhere;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .op-scope .vehicle-check-opening { grid-template-columns: minmax(0, 1fr) minmax(6rem, .75fr); }
  .op-scope .vehicle-check-opening-confirmations { grid-column: 1 / -1; }
  .op-scope .vehicle-defect-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Fleet ownership summary and editor. */
.op-scope .fse-ownership-panel {
  min-width: 0;
}

.op-scope .fse-ownership-facts,
.op-scope .fse-ownership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
}

.op-scope .fse-ownership-facts {
  margin: 0;
}

.op-scope .fse-ownership-facts dt {
  font-weight: 600;
}

.op-scope .fse-ownership-facts dd {
  margin: .125rem 0 0;
  overflow-wrap: anywhere;
}

.op-scope .fse-ownership-external {
  min-width: 0;
  margin: 0;
  padding: .75rem;
  border: 1px solid var(--op-slate-200);
  border-radius: .5rem;
}

.op-scope .fse-ownership-external[hidden] {
  display: none;
}

.op-scope .fse-ownership-external legend {
  padding-inline: .25rem;
  font-weight: 600;
}

.op-scope .fse-ownership-external .op-meta {
  margin-block-start: .75rem;
}

.op-scope .fse-ownership-grid :is(input, select) {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

@media (max-width: 640px) {
  .op-scope .fse-ownership-facts,
  .op-scope .fse-ownership-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Focused Fleet creation; existing management forms are unchanged. */
.vehicle-create-task{max-width:1100px}.vehicle-create-task fieldset{min-width:0;border:1px solid var(--op-border,#ced6e0);padding:16px;border-radius:10px}.vehicle-create-task legend{font-weight:700;padding:0 6px}.vehicle-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.vehicle-create-task .op-field{min-width:0}.vehicle-create-task input,.vehicle-create-task select,.vehicle-create-task textarea{width:100%;box-sizing:border-box}.vehicle-create-task textarea{min-height:96px}.vehicle-create-task button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:700px){.vehicle-create-grid{grid-template-columns:1fr}}

/* Checked startup tasks use the existing compact Today document renderer. */
[data-normal-workspace-startup] .today-document-task { display:grid; grid-template-columns:5px minmax(0,1fr) minmax(7rem,auto); gap:10px 14px; width:100%; min-width:0; text-align:left; }
[data-normal-workspace-startup] .today-document-task .priority-action-main { display:grid; gap:.35rem; min-width:0; }
[data-normal-workspace-startup] .today-document-task .op-card-title { font-size:1rem; overflow-wrap:anywhere; }
@media(max-width:640px) { [data-normal-workspace-startup] .today-document-task { grid-template-columns:5px minmax(0,1fr); } [data-normal-workspace-startup] .today-document-task__action { grid-column:2; text-align:left; } }

/* Fleet note controls remain hidden until paging or stale recovery requires them. */
.op-scope [data-fleet-defect-notes] [hidden] { display: none !important; }


/* Workflow audit */
.today-defects-dialog {
  width: min(42rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 1.25rem;
  color: var(--op-slate-900, #172438);
  background: var(--op-white, #fff);
  border: 1px solid var(--op-slate-200, #dde4ed);
  border-radius: .75rem;
  overflow: auto;
}
.today-defects-dialog::backdrop { background: rgb(16 28 43 / 62%); }
.today-defects-dialog:not([open]), [data-calibration-export-group][hidden] { display: none; }
.today-vehicle-status-row > [data-today-defects] { margin-top: .5rem; }
.documents-phone-title { display: none; }
.tq-row-states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.tq-row-states dt { font-size: .8rem; color: var(--op-slate-600, #465871); }
.tq-row-states dd { margin: .15rem 0 0; }
.people-board-evidence-task > summary, [data-calibration-export-group] > summary { cursor: pointer; }
@media (max-width: 900px) {
  .documents-desktop-title { display: none; }
  .documents-phone-title { display: inline; }
}

/* Documents landing. Uses the same surfaces, borders and accent as Riverside Work. */
.op-scope .documents-home {
  --document-border: #d6e0ee;
  --document-blue: #2858ac;
  --document-ink: #172940;
  --document-muted: #455b73;
  width: min(100%, 74rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(.85rem, 2vw, 1.35rem);
  color: var(--document-ink);
}
.documents-home-heading { border-bottom: 1px solid var(--document-border); padding: .2rem 0 .65rem; }
.documents-home .documents-home-heading h1 { margin: 0; letter-spacing: -.025em; font-size: clamp(1.65rem, 3vw, 2.15rem); }
.documents-home-top { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: .8rem; }
.documents-home .documents-search-panel, .documents-home .documents-reading-panel {
  display: grid;
  align-content: start;
  gap: .6rem;
  min-width: 0;
  border: 1px solid var(--document-border);
  border-radius: 10px;
  padding: clamp(.8rem, 2vw, 1.25rem);
}
.documents-home .documents-search-panel { background: #fff; }
.documents-home .documents-reading-panel { background: #eef4ff; border-color: #cbd9ee; grid-template-rows: 1fr auto; }
.documents-home .documents-reading-panel h2, .documents-home .documents-search-panel h2,
.documents-home .documents-collections h2 { margin: 0; font-size: 1.12rem; letter-spacing: -.015em; }
.documents-home .documents-reading-panel p { color: var(--document-muted); margin: .35rem 0 .25rem; line-height: 1.45; font-size: .9rem; }
.documents-home .documents-reading-panel button { justify-self: start; gap: .6rem; }
.documents-home .published-document-search form {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  gap: .42rem .55rem; margin: 0;
}
.documents-home .published-document-search .op-field { min-width: 0; margin: 0; }
.documents-home .published-document-search input[type="search"] {
  min-width: 0; width: 100%; min-height: 2.55rem; background: #fff; border: 1px solid #aebed4; border-radius: 6px;
}
.documents-home .published-document-search button[type="submit"] { min-height: 2.55rem; }
.documents-home .published-document-search [data-published-document-browse] {
  justify-self: start; grid-column: 1/-1; border-color: transparent; background: transparent;
  color: #23498f; margin-left: -.45rem; padding-inline: .45rem;
}
.documents-home .published-document-search [data-published-document-search-status] { grid-column: 1/-1; margin: 0; }
.documents-home .published-document-search [data-published-document-search-status]:empty { display: none; }
.documents-home .documents-collections { display: grid; gap: .6rem; }
.documents-home .documents-collections .op-resource-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem;
}
.documents-home .documents-collections .op-resource-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: row;
  grid-template-rows: auto 1fr; gap: .25rem .85rem; align-content: start; align-items: start;
  width: 100%; min-height: 5.1rem; padding: .8rem .9rem; text-align: left;
  background: #f8faff; border: 1px solid var(--document-border); border-radius: 9px;
  color: var(--document-ink); box-shadow: none;
}
.documents-home .op-resource-card :is(.op-card-title,.op-body,.op-resource-card__meta) { grid-column: 1; padding: 0; margin: 0; }
.documents-home .op-resource-card .op-body { color: var(--document-muted); font-size: .88rem; line-height: 1.4; }
.documents-home .op-resource-card:not(:disabled)::after { grid-area: 1/2/3/3; align-self: center; content: "→"; color: #23498f; font-weight: 700; }
.documents-home .op-resource-card:hover:not(:disabled) { border-color: var(--document-blue); background: #eef4ff; transform: none; }
.documents-home .op-resource-card:focus-visible { outline: 2px solid var(--document-blue); outline-offset: 2px; }
.documents-home .documents-management { border: 1px solid var(--document-border); border-radius: 9px; background: #fff; }
.documents-home .documents-management summary { padding: .7rem .9rem; font-weight: 650; cursor: pointer; }
.documents-home .documents-management-body { padding: 0 .9rem .85rem; }
@media (max-width: 680px) {
  .documents-home-top, .documents-home .documents-collections .op-resource-grid { grid-template-columns: minmax(0,1fr); }
  .documents-home .documents-collections .op-resource-card { min-height: 4.3rem; }
  .documents-home .published-document-search input[type="search"] { font-size: 1rem; }
  .documents-home .documents-management summary { padding-block: .85rem; }
}
