/* Fieldwork → Test workspace, with Testing-step density matching the concept. */

.is-fieldwork-test-page {
  --fw-test-page: #0d0e10;
  --fw-test-nav: #101112;
  --fw-test-shell: #101112;
  --fw-test-card: #171819;
  --fw-test-input: #111214;
  --fw-test-inset: #111214;
  --fw-test-elevated: #1d1f20;
  --fw-test-hover: #1d1f20;
  --fw-test-border: #30302d;
  --fw-test-text: #f1f0eb;
  --fw-test-secondary: #b5b2aa;
  --fw-test-muted: #95978f;
  --fw-test-meta: #95978f;
  --fw-test-gold: #c6a66a;
  --fw-test-gold-hover: #d1b57d;
  --fw-test-gold-ink: #171511;
  --fw-test-on-gold: #171511;
  --fw-test-warn: #d5b371;
  --fw-test-ok: #8eb89b;
  --fw-test-error: #e28c85;
  --fw-test-amber: #d5b371;
  --fw-test-sage: #8eb89b;
  --fw-test-gold-wash: rgba(198, 166, 106, 0.12);
  --fw-test-gold-line: rgba(198, 166, 106, 0.32);
  --fw-test-goldwash: linear-gradient(180deg, rgba(198, 166, 106, 0.08) 0%, rgba(23, 24, 25, 0.96) 74%), #171819;
  --fw-test-prism:
    radial-gradient(ellipse at right top, rgba(198, 166, 106, 0.08) 0%, rgba(198, 166, 106, 0.02) 42%, transparent 72%),
    #171819;
  --fw-test-radius: 10px;
  --fw-test-radius-sm: 8px;
  font-family: Inter, "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--fw-test-text);
}

.is-fieldwork-test-page,
.is-fieldwork-test-page .oa-command-main,
.is-fieldwork-test-page .oa-fieldwork,
.is-fieldwork-test-page h1,
.is-fieldwork-test-page h2,
.is-fieldwork-test-page h3,
.is-fieldwork-test-page h4 {
  font-family: Inter, "IBM Plex Sans", "Segoe UI", sans-serif;
}

.oa-page.is-fieldwork-test-page {
  background: var(--fw-test-page);
}

.is-fieldwork-test-page .oa-command-shell.is-fieldwork-compact-shell,
.is-fieldwork-test-page .oa-command-shell.is-fieldwork-test-shell {
  padding: 24px;
}

.is-fieldwork-test-page .oa-command {
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 24px;
  align-items: start;
}

.is-fieldwork-test-page .oa-command.is-sidebar-collapsed {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.is-fieldwork-test-page .oa-command.is-sidebar-collapsed .oa-command-rail-slot {
  position: absolute;
  right: 24px;
  top: 24px;
  width: auto;
  z-index: 6;
}

.is-fieldwork-test-page .oa-command-main {
  min-width: 0;
}

.is-fieldwork-test-page .oa-engagement-sidebar {
  width: 100%;
  max-width: none;
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  border: 1px solid var(--fw-test-border);
  background: var(--fw-test-nav);
  border-radius: var(--fw-test-radius);
}

.is-fieldwork-test-page .oa-sidebar-collapse-btn,
.is-fieldwork-test-page .oa-sidebar-expand-btn,
.is-fieldwork-test-page .oa-fw-test-sidebar-toggle {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 7px;
  border: 1px solid rgba(198, 166, 106, 0.32);
  background: var(--fw-test-card);
  color: var(--fw-test-gold);
  box-shadow: none;
}

.is-fieldwork-test-page .oa-sidebar-tabs {
  min-height: 44px;
}

.is-fieldwork-test-page .oa-sidebar-tab {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fw-test-muted);
}

.is-fieldwork-test-page .oa-sidebar-tab.is-active {
  color: var(--fw-test-gold);
  box-shadow: inset 0 -2px 0 var(--fw-test-gold);
}

.is-fieldwork-test-page .oa-fw-agent-head-bar,
.is-fieldwork-test-page .oa-fw-risk-chrome {
  margin: 0 0 16px;
}

.is-fieldwork-test-page .oa-fw-agent-engagement-title,
.is-fieldwork-test-page .oa-fw-test-page-title {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.is-fieldwork-test-page .oa-fw-testing-subline {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--fw-test-secondary);
}

.is-fieldwork-test-page .oa-stage-accordion--fieldwork-compact .oa-stage-accordion-trigger.is-selected {
  border-color: rgba(198, 166, 106, 0.32);
  background: var(--fw-test-goldwash);
}

.is-fieldwork-test-page .oa-fieldwork.is-fw-test-tab .oa-stage-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.is-fieldwork-test-page .oa-fieldwork.is-fw-test-tab .oa-fw-heading-copy,
.is-fieldwork-test-page .oa-fieldwork.is-fw-test-tab .oa-fw-heading-actions {
  display: none;
}

.is-fieldwork-test-page .oa-plan-tabs {
  display: flex;
  flex-wrap: wrap;
  min-height: 40px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--fw-test-border);
}

.is-fieldwork-test-page .oa-plan-tab {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--fw-test-muted);
}

.is-fieldwork-test-page .oa-plan-tab.is-active {
  color: var(--fw-test-gold);
  box-shadow: inset 0 -2px 0 var(--fw-test-gold);
}

.oa-fw-test-workspace,
.oa-fw-testing-workspace {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.oa-fw-test-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.oa-fw-test-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fw-test-muted);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.oa-fw-test-step.is-active {
  color: var(--fw-test-gold);
  background: rgba(198, 166, 106, 0.12);
}

.oa-fw-test-step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 11px;
}

.oa-fw-test-control-card,
.oa-fw-test-card,
.oa-fw-testing-card {
  background: var(--fw-test-goldwash);
  border: 1px solid var(--fw-test-border);
  border-radius: var(--fw-test-radius);
  padding: 20px;
}

.oa-fw-test-card-head,
.oa-fw-testing-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 16px;
}

.oa-fw-test-card-head h4,
.oa-fw-testing-card-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 25px;
  font-weight: 600;
}

.oa-fw-testing-card-icon,
.oa-fw-test-card-icon {
  color: var(--fw-test-gold);
}

.oa-fw-testing-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(213, 179, 113, 0.35);
  background: rgba(213, 179, 113, 0.1);
  color: var(--fw-test-text);
}

.oa-fw-testing-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
}

.oa-fw-testing-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.oa-fw-testing-summary-card {
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid var(--fw-test-border);
  border-radius: var(--fw-test-radius);
  background: var(--fw-test-card);
}

.oa-fw-testing-summary-label {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fw-test-muted);
}

.oa-fw-testing-summary-value {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
}

.oa-fw-testing-summary-meta {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 17px;
  color: var(--fw-test-secondary);
}

.oa-fw-testing-summary-card.is-done .oa-fw-testing-summary-value {
  color: var(--fw-test-sage);
}

.oa-fw-testing-summary-card.is-attention .oa-fw-testing-summary-value {
  color: var(--fw-test-amber);
}

.oa-fw-testing-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.oa-fw-testing-grid {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.oa-fw-testing-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oa-fw-testing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.oa-fw-testing-label,
.oa-fw-test-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--fw-test-secondary);
}

.oa-fw-testing-workspace fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.oa-fw-testing-label {
  min-width: 0;
}

.oa-fw-testing-label legend {
  padding: 0;
  color: var(--fw-test-secondary);
}

.oa-fw-testing-label input,
.oa-fw-testing-label select,
.oa-fw-testing-label textarea,
.oa-fw-test-label input,
.oa-fw-test-label select,
.oa-fw-test-label textarea,
.oa-fw-testing-table input,
.oa-fw-testing-table select,
.oa-fw-testing-table textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: var(--fw-test-input);
  color: var(--fw-test-text);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color-scheme: dark;
}

.oa-fw-testing-label textarea,
.oa-fw-testing-table textarea {
  min-height: 80px;
  resize: vertical;
}

.oa-fw-testing-help,
.oa-fw-test-help {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
  color: var(--fw-test-muted);
}

.oa-fw-testing-readonly,
.oa-fw-test-readonly {
  margin: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--fw-test-text);
  font-size: 14px;
  line-height: 21px;
}

.oa-fw-testing-link,
.oa-fw-test-link {
  border: 0;
  background: none;
  color: var(--fw-test-gold);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oa-fw-testing-btn,
.oa-fw-test-empty-actions .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: var(--fw-test-elevated);
  color: var(--fw-test-text);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.oa-fw-testing-btn--primary,
.oa-fw-testing-actionbar .oa-fw-testing-btn--primary {
  background: var(--fw-test-gold);
  border-color: var(--fw-test-gold);
  color: var(--fw-test-gold-ink);
}

.oa-fw-testing-btn:disabled,
.oa-fw-testing-btn--primary:disabled {
  opacity: 0.45;
  color: var(--fw-test-muted);
  background: var(--fw-test-elevated);
  border-color: var(--fw-test-border);
}

.oa-fw-testing-card-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}

.oa-fw-testing-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: var(--fw-test-elevated);
}

.oa-fw-testing-menu button {
  border: 0;
  background: none;
  color: var(--fw-test-text);
  text-align: left;
  padding: 8px;
  border-radius: 6px;
}

.oa-fw-testing-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.oa-fw-testing-table-wrap {
  overflow-x: auto;
  min-width: 0;
}

.oa-fw-testing-table {
  width: 100%;
  border-collapse: collapse;
}

.oa-fw-testing-table th,
.oa-fw-testing-table td {
  padding: 8px;
  border-bottom: 1px solid var(--fw-test-border);
  vertical-align: top;
  text-align: left;
  font-size: 13px;
}

.oa-fw-testing-table th {
  height: 44px;
  color: var(--fw-test-muted);
  font-weight: 500;
}

.oa-fw-testing-table td {
  min-height: 48px;
}

.oa-fw-testing-drop {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 16px;
  border: 1px dashed rgba(198, 166, 106, 0.32);
  border-radius: 8px;
  background: var(--fw-test-input);
  color: var(--fw-test-secondary);
}

.oa-fw-testing-drop strong {
  display: block;
  color: var(--fw-test-text);
  font-size: 14px;
}

.oa-fw-testing-files {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oa-fw-testing-files li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fw-test-border);
}

.oa-fw-testing-conclusion {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
}

.oa-fw-testing-check {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  width: max-content;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--fw-test-text);
  white-space: nowrap;
}

.oa-fw-testing-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  max-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 16px;
}

.oa-fw-testing-check span {
  color: var(--fw-test-text);
  white-space: nowrap;
}

.oa-fw-testing-pill {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(198, 166, 106, 0.32);
  color: var(--fw-test-gold);
  font-size: 12px;
}

.oa-fw-testing-actionbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 16px 20px;
  border-top: 1px solid var(--fw-test-border);
  background: var(--fw-test-card);
  border-radius: var(--fw-test-radius);
}

.oa-fw-testing-actionbar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fw-test-muted);
  font-size: 13px;
}

.oa-fw-testing-actionbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oa-fw-testing-empty-block,
.oa-fw-testing-recs {
  padding: 12px 0;
  color: var(--fw-test-secondary);
}

.oa-fw-test-ready-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oa-fw-test-ready-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font-size: 13px;
}

.oa-fw-test-ready-list .is-done { color: var(--fw-test-sage); }
.oa-fw-test-ready-list .is-open,
.oa-fw-test-ready-list .is-advisory { color: var(--fw-test-muted); }
.oa-fw-test-ready-list .is-error,
.oa-fw-test-ready-list .is-attention { color: var(--fw-test-amber); }

.oa-fw-testing-prism,
.oa-fw-test-prism {
  margin-top: 4px;
}

.is-fieldwork-test-page .oa-fw-agent-crumb,
.is-fieldwork-test-page .oa-fw-risk-meta-line,
.is-fieldwork-test-page .oa-fw-agent-metric {
  font-size: 12px;
  line-height: 17px;
}

.is-fieldwork-test-page button:focus-visible,
.is-fieldwork-test-page input:focus-visible,
.is-fieldwork-test-page select:focus-visible,
.is-fieldwork-test-page textarea:focus-visible {
  outline: 2px solid var(--fw-test-gold);
  outline-offset: 2px;
}

@media (max-width: 1599px) {
  .is-fieldwork-test-page .oa-command {
    grid-template-columns: minmax(0, 1fr) 296px;
  }
}

@media (max-width: 1279px) {
  .is-fieldwork-test-page .oa-command {
    grid-template-columns: minmax(0, 1fr);
  }

  .is-fieldwork-test-page .oa-fw-test-rail-trigger {
    display: inline-flex;
    align-items: center;
  }

  .is-fieldwork-test-page .oa-command:not(.is-sidebar-collapsed) .oa-command-rail-slot {
    position: fixed;
    top: 72px;
    right: 16px;
    bottom: 16px;
    width: min(312px, calc(100vw - 32px));
    z-index: 20;
  }

  .is-fieldwork-test-page .oa-command:not(.is-sidebar-collapsed) .oa-engagement-sidebar {
    max-height: 100%;
  }
}

@media (max-width: 1100px) {
  .oa-fw-testing-summary,
  .oa-fw-testing-grid-3,
  .oa-fw-testing-conclusion {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .oa-fw-testing-summary,
  .oa-fw-testing-grid-2,
  .oa-fw-testing-grid-3,
  .oa-fw-testing-conclusion,
  .oa-fw-testing-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Test scope workspace — composition, type, and controls from the fieldwork testing concept. */

.app-shell .is-fieldwork-test-page h1.oa-fw-test-page-title,
.is-fieldwork-test-page .oa-fw-test-page-title {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: 0;
}

.is-fieldwork-test-page .oa-fw-test-lede {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: var(--fw-test-muted);
}

.is-fieldwork-test-page .oa-fw-test-head-top,
.is-fieldwork-test-page .oa-fw-test-title-row,
.is-fieldwork-test-page .oa-fw-test-title-badges,
.is-fieldwork-test-page .oa-fw-test-head-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.is-fieldwork-test-page .oa-fw-test-head-top,
.is-fieldwork-test-page .oa-fw-test-title-row {
  justify-content: space-between;
}

.is-fieldwork-test-page .oa-fw-show-context {
  display: none;
}

.is-fieldwork-test-page .oa-fw-test-head-tools .oa-wp-chrome,
.is-fieldwork-test-page .oa-fw-test-chrome .oa-wp-chrome {
  display: flex;
  align-items: center;
}

.is-fieldwork-test-page .oa-fw-test-head-tools .oa-wp-chrome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.is-fieldwork-test-page .oa-fw-test-head-tools .oa-wp-action-btn,
.is-fieldwork-test-page .oa-fw-test-head-tools .oa-fw-test-rail-trigger {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: var(--fw-test-elevated);
  color: var(--fw-test-text);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.oa-fw-test-rail-trigger {
  display: none;
}

.is-fieldwork-test-page .oa-fw-test-agent-link {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: transparent;
  color: var(--fw-test-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.is-fieldwork-test-page .oa-fw-test-chip,
.oa-fw-test-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--fw-test-border);
  border-radius: 999px;
  background: var(--fw-test-inset);
  color: var(--fw-test-muted);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.oa-fw-test-chip--source {
  border-color: var(--fw-test-gold-line);
  color: var(--fw-test-gold);
}

.is-fieldwork-test-page .oa-stage-accordion--fieldwork-compact .oa-stage-accordion-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  border-bottom: 1px solid var(--fw-test-border);
  background: transparent;
}

.is-fieldwork-test-page .oa-stage-accordion--fieldwork-compact .oa-stage-accordion-trigger {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fw-test-muted);
  box-shadow: none;
}

.is-fieldwork-test-page .oa-stage-accordion--fieldwork-compact .oa-stage-accordion-trigger.is-selected {
  color: var(--fw-test-text);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--fw-test-gold);
}

.is-fieldwork-test-page .oa-stage-accordion--fieldwork-compact .oa-stage-accordion-label small {
  display: none;
}

.is-fieldwork-test-page .oa-fieldwork.is-fw-test-tab .oa-plan-tab,
.is-fieldwork-test-page .oa-plan-tab {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 20px;
  min-height: 44px;
}

.oa-fw-test-workspace {
  container-type: inline-size;
  container-name: fw-test;
}

.oa-fw-test-notice,
.oa-fw-test-guard {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--fw-test-gold-line);
  border-radius: var(--fw-test-radius);
  background: var(--fw-test-gold-wash);
  color: var(--fw-test-text);
  font-size: 14px;
  line-height: 20px;
}

.oa-fw-test-guard p,
.oa-fw-test-notice p {
  margin: 0;
}

.oa-fw-test-control-main,
.oa-fw-test-control-meta,
.oa-fw-test-control-actions,
.oa-fw-test-chips,
.oa-fw-test-section-head,
.oa-fw-test-empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.oa-fw-test-control-main {
  justify-content: space-between;
  margin-bottom: 12px;
}

.oa-fw-test-control-title {
  flex: 1 1 220px;
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.oa-fw-test-control-select {
  position: relative;
  flex: 0 0 auto;
  min-width: 120px;
  max-width: 200px;
}

.oa-fw-test-control-select select {
  width: auto;
  min-width: 132px;
  max-width: 200px;
  min-height: 40px;
  padding-right: 32px;
  appearance: none;
  background: var(--fw-test-inset);
  color: var(--fw-test-text);
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
}

.oa-fw-test-control-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--fw-test-gold);
}

.oa-fw-test-attention {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(224, 184, 106, 0.12);
  color: var(--fw-test-warn);
  font-size: 13px;
  line-height: 18px;
}

.oa-fw-test-step.is-active {
  color: var(--fw-test-text);
  background: var(--fw-test-gold-wash);
  box-shadow: inset 0 -2px 0 var(--fw-test-gold);
}

.oa-fw-test-step.is-active .oa-fw-test-step-num {
  border-color: transparent;
  background: var(--fw-test-gold);
  color: var(--fw-test-on-gold);
}

.oa-fw-test-section-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

.oa-fw-test-section-head h3 {
  margin: 0;
  font-size: 19px;
  line-height: 28px;
  font-weight: 600;
}

.oa-fw-test-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 18px;
}

.oa-fw-test-badge.is-ok {
  color: var(--fw-test-ok);
  background: rgba(142, 184, 155, 0.12);
}

.oa-fw-test-badge.is-warn {
  color: var(--fw-test-warn);
  background: rgba(224, 184, 106, 0.12);
}

.oa-fw-test-form,
.oa-fw-test-scope {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.oa-fw-test-def-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.oa-fw-test-pair-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.oa-fw-test-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.oa-fw-test-label {
  font-size: 14px;
  line-height: 20px;
}

.is-fieldwork-test-page .oa-fw-test-label textarea,
.oa-fw-test-label textarea {
  min-height: 92px;
  font-size: 15px;
  line-height: 22px;
  resize: vertical;
}

.oa-fw-test-req { color: var(--fw-test-gold); }
.oa-fw-test-error { color: var(--fw-test-error); font-size: 13px; line-height: 18px; }

.oa-fw-test-date-field { position: relative; display: block; }
.oa-fw-test-date-ph {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--fw-test-meta);
  font-size: 15px;
  line-height: 22px;
}
.oa-fw-test-date-field.has-value .oa-fw-test-date-ph,
.oa-fw-test-date-field:focus-within .oa-fw-test-date-ph { display: none; }

.oa-fw-test-date-pair {
  margin: 16px 0;
  padding: 0;
  border: 0;
}

.oa-fw-test-setup-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--fw-test-border);
}

.oa-fw-test-reg-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--fw-test-muted);
}

.oa-fw-test-reg-list,
.oa-fw-test-trace {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.oa-fw-test-facts {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.oa-fw-test-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px;
}

.oa-fw-test-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.oa-fw-test-actions-left,
.oa-fw-test-actions-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.oa-fw-test-actions-right {
  flex-direction: column;
  align-items: flex-end;
}

.is-fieldwork-test-page .oa-fw-test-actions .primary-btn,
.is-fieldwork-test-page .primary-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--fw-test-gold);
  color: var(--fw-test-on-gold);
  border: 0;
  font-weight: 600;
}

.is-fieldwork-test-page .oa-fw-test-actions .primary-btn:hover,
.is-fieldwork-test-page .primary-btn:hover {
  background: var(--fw-test-gold-hover);
}

.is-fieldwork-test-page .oa-fw-test-actions .secondary-btn,
.is-fieldwork-test-page .secondary-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
}

.oa-fw-test-prism,
.is-fieldwork-test-page .oa-fw-test-prism {
  background: var(--fw-test-prism);
  border: 1px solid var(--fw-test-border);
  border-radius: var(--fw-test-radius);
}

.oa-fw-test-agreed {
  padding: 12px 16px;
  border: 1px solid var(--fw-test-border);
  border-radius: var(--fw-test-radius);
  background: var(--fw-test-card);
  font-size: 14px;
  line-height: 20px;
}

.oa-fw-side-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--fw-test-gold);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
}

@container fw-test (max-width: 619px) {
  .oa-fw-test-def-grid { grid-template-columns: minmax(0, 1fr); }
}

@container fw-test (max-width: 699px) {
  .oa-fw-test-pair-cards,
  .oa-fw-test-pair { grid-template-columns: minmax(0, 1fr); }
}

.theme-light .is-fieldwork-test-page {
  --fw-test-page: var(--page-bg, #ebe8e2);
  --fw-test-shell: var(--surface, #f6f3ec);
  --fw-test-nav: var(--surface, #f6f3ec);
  --fw-test-card: var(--surface, #fffdf8);
  --fw-test-inset: var(--page-bg, #f3efe6);
  --fw-test-input: var(--page-bg, #f3efe6);
  --fw-test-elevated: #f3efe4;
  --fw-test-hover: #f3efe4;
  --fw-test-border: var(--border, #d8d2c4);
  --fw-test-text: var(--text, #1c1b18);
  --fw-test-muted: var(--muted, #6f6a60);
  --fw-test-secondary: var(--muted, #6f6a60);
  --fw-test-meta: var(--muted, #7a756b);
  --fw-test-goldwash: var(--surface, #fffdf8);
  --fw-test-prism: var(--surface, #fffdf8);
}

/* Test scope — compact header, goldwash PRISM, integrated sidebar toggle. */
.is-fieldwork-test-scope-page {
  --fw-test-page: #0c0d0c;
  --fw-test-nav: #101110;
  --fw-test-shell: #101110;
  --fw-test-card: #151615;
  --fw-test-input: #101110;
  --fw-test-inset: #101110;
  --fw-test-elevated: #1b1c19;
  --fw-test-hover: #1b1c19;
  --fw-test-border: #34332d;
  --fw-test-text: #f1efe8;
  --fw-test-secondary: #b1ada3;
  --fw-test-muted: #96958d;
  --fw-test-meta: #96958d;
  --fw-test-gold: #c7a766;
  --fw-test-gold-hover: #d6b875;
  --fw-test-gold-ink: #17150f;
  --fw-test-on-gold: #17150f;
  --fw-test-warn: #e0b86a;
  --fw-test-ok: #8eb89b;
  --fw-test-error: #e28c85;
  --fw-test-amber: #e0b86a;
  --fw-test-sage: #8eb89b;
  --fw-test-gold-wash: rgba(199, 167, 102, 0.10);
  --fw-test-gold-line: rgba(199, 167, 102, 0.44);
  --fw-test-goldwash: linear-gradient(180deg, rgba(199, 167, 102, 0.08) 0%, rgba(21, 22, 21, 0.96) 74%), #151615;
  --fw-test-prism:
    radial-gradient(ellipse at right top, rgba(199, 167, 102, 0.10) 0%, rgba(199, 167, 102, 0.03) 42%, transparent 72%),
    #151615;
}

.is-fieldwork-test-scope-page .oa-fw-test-lede {
  font-size: 15px;
  line-height: 22px;
  color: var(--fw-test-secondary);
}

.is-fieldwork-test-scope-page .oa-fw-test-head-tools .oa-wp-chrome,
.is-fieldwork-test-scope-page .oa-fw-test-chrome .oa-wp-chrome,
.is-fieldwork-test-scope-page .oa-fw-show-context,
.is-fieldwork-test-scope-page .oa-fw-ctrl-sidebar-toggle {
  display: none;
}

.is-fieldwork-test-scope-page .oa-command.is-sidebar-collapsed .oa-command-rail-slot {
  display: none;
}

.is-fieldwork-test-scope-page .oa-fw-test-sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border: 1px solid var(--fw-test-gold-line);
  border-radius: 8px;
  background: var(--fw-test-card);
  color: var(--fw-test-gold);
  box-shadow: none;
}

.is-fieldwork-test-scope-page .oa-sidebar-collapse-btn,
.is-fieldwork-test-scope-page .oa-sidebar-expand-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  border: 1px solid var(--fw-test-gold-line);
  background: var(--fw-test-card);
  color: var(--fw-test-gold);
  box-shadow: none;
}

.is-fieldwork-test-scope-page .oa-fw-test-readonly {
  min-height: 44px;
  margin: 6px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: var(--fw-test-input);
  font-size: 15px;
  line-height: 22px;
  color: var(--fw-test-text);
}

.is-fieldwork-test-scope-page .oa-fw-test-readonly.is-empty {
  color: var(--fw-test-meta);
}

.is-fieldwork-test-scope-page .oa-wp-body[data-oa-wp-mode="view"] .oa-fw-test-workspace input:not([disabled]):not([type="hidden"]),
.is-fieldwork-test-scope-page .oa-wp-body[data-oa-wp-mode="view"] .oa-fw-test-workspace textarea:not([disabled]),
.is-fieldwork-test-scope-page .oa-wp-body[data-oa-wp-mode="view"] .oa-fw-test-workspace select:not([disabled]),
.is-fieldwork-test-scope-page .oa-wp-body[data-oa-wp-mode="view"] .oa-fw-test-workspace button:not([disabled]) {
  pointer-events: auto;
  opacity: 1;
}

.is-fieldwork-test-scope-page .oa-fw-test-label textarea,
.is-fieldwork-test-scope-page .oa-fw-test-label input,
.is-fieldwork-test-scope-page .oa-fw-test-label select {
  background: var(--fw-test-input);
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  color: var(--fw-test-text);
}

.is-fieldwork-test-scope-page .oa-fw-test-label textarea::placeholder,
.is-fieldwork-test-scope-page .oa-fw-test-label input::placeholder {
  color: var(--fw-test-meta);
}

.is-fieldwork-test-scope-page .oa-fw-test-prism.au-lifecycle-prism-bar.companion-chat,
.is-fieldwork-test-scope-page .oa-fw-test-prism {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px;
  background: var(--fw-test-prism);
  border: 1px solid var(--fw-test-border);
  border-radius: var(--fw-test-radius);
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .companion-chat-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0 112px 0 0;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .companion-chat-title {
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .au-lifecycle-prism-prompt {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--fw-test-secondary);
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .companion-chat-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
  max-width: none;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .ai-prompt-mode {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid var(--fw-test-border);
  border-radius: 999px;
  background: var(--fw-test-inset);
  color: var(--fw-test-muted);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .au-lifecycle-prism-quick-actions {
  justify-content: flex-start;
  gap: 8px;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .au-lifecycle-prism-quick {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--fw-test-border);
  background: var(--fw-test-inset);
  color: var(--fw-test-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .core-agent-chat {
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid var(--fw-test-border);
}

.is-fieldwork-test-scope-page .oa-fw-test-prism.au-lifecycle-prism-bar .core-agent-chat:not(.is-open) .core-agent-thread,
.is-fieldwork-test-scope-page .oa-fw-test-prism.au-lifecycle-prism-bar .core-agent-thread:empty {
  max-height: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .core-agent-empty-state,
.is-fieldwork-test-scope-page .oa-fw-test-prism.au-lifecycle-prism-bar .core-agent-empty-state {
  display: block;
  margin: 0 0 16px;
  text-align: center;
  color: var(--fw-test-muted);
  font-size: 14px;
  line-height: 20px;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .prism-ask-bar {
  height: 48px;
  min-height: 48px;
  padding-left: 12px;
  background: var(--fw-test-input);
  border-color: var(--fw-test-border);
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .au-lifecycle-prism-input {
  font-size: 15px;
  line-height: 22px;
}

.is-fieldwork-test-scope-page .oa-fw-test-prism .au-lifecycle-prism-send {
  width: 48px;
  height: 48px;
  min-height: 48px;
  flex-basis: 48px;
}

@media (max-width: 720px) {
  .is-fieldwork-test-scope-page .oa-fw-test-prism .companion-chat-head {
    padding-right: 0;
  }

  .is-fieldwork-test-scope-page .oa-fw-test-prism .ai-prompt-mode {
    position: static;
    align-self: flex-start;
  }
}

/* Testing gap-fix — G01–G17. Scoped to the Testing step only. */
.is-fieldwork-testing-page .oa-command-shell,
.is-fieldwork-testing-page .oa-command,
.is-fieldwork-testing-page .oa-command-main {
  overflow: visible;
}

.is-fieldwork-testing-page .oa-command-shell.is-fieldwork-compact-shell,
.is-fieldwork-testing-page .oa-command-shell.is-fieldwork-test-shell {
  padding: 20px 24px 28px;
}

.is-fieldwork-testing-page .oa-command {
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 24px;
  align-items: start;
}

.is-fieldwork-testing-page .oa-command.is-sidebar-collapsed {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.is-fieldwork-testing-page .oa-command-rail-slot,
.is-fieldwork-testing-page .oa-engagement-sidebar {
  align-self: start;
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 88px);
}

.is-fieldwork-testing-page .oa-engagement-sidebar {
  overflow: auto;
  padding-bottom: 72px;
  background: var(--fw-test-nav);
}

.is-fieldwork-testing-page .oa-sidebar-chrome {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 8px 0 4px;
}

.is-fieldwork-testing-page .oa-sidebar-collapse-btn {
  margin: 0;
  align-self: center;
}

.is-fieldwork-testing-page .oa-fw-agent-head-bar,
.is-fieldwork-testing-page .oa-fw-risk-chrome,
.is-fieldwork-testing-page .oa-fw-testing-chrome {
  margin: 0 0 10px;
}

.is-fieldwork-testing-page .oa-fw-testing-chrome .oa-fw-test-head-top,
.is-fieldwork-testing-page .oa-fw-testing-chrome .oa-fw-test-title-row {
  gap: 8px;
  margin: 0;
}

.is-fieldwork-testing-page .oa-fw-testing-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 8px 0 0;
}

.is-fieldwork-testing-page .oa-fw-testing-context-title {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--fw-test-secondary);
}

.is-fieldwork-testing-page .oa-fw-testing-context-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid var(--fw-test-border);
  border-radius: 999px;
  background: var(--fw-test-inset);
  color: var(--fw-test-muted);
  font-size: 12px;
  line-height: 18px;
}

.is-fieldwork-testing-page .oa-fw-testing-panel-switch {
  display: inline-flex;
  gap: 4px;
}

.is-fieldwork-testing-page .oa-fw-testing-panel-switch .oa-fw-risk-switch {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: transparent;
  color: var(--fw-test-muted);
  font-size: 13px;
}

.is-fieldwork-testing-page .oa-fw-testing-panel-switch .oa-fw-risk-switch.is-active {
  color: var(--fw-test-text);
  border-color: var(--fw-test-gold-line);
  background: var(--fw-test-gold-wash);
}

.is-fieldwork-testing-page .oa-fieldwork.is-fw-test-tab .oa-planning-head + .oa-wp-body,
.is-fieldwork-testing-page .oa-fieldwork > .oa-planning-head + .oa-wp-body {
  margin-top: 8px;
}

.is-fieldwork-testing-page .oa-fieldwork.is-fw-test-tab .oa-stage-card {
  padding: 0;
}

.is-fieldwork-testing-page .oa-stage-accordion--fieldwork-compact .oa-stage-accordion-nav {
  margin: 0 0 8px;
}

.is-fieldwork-testing-page .oa-stage-accordion--fieldwork-compact .oa-stage-accordion-trigger {
  min-height: 38px;
  padding: 6px 10px;
}

.is-fieldwork-testing-page .oa-fieldwork.is-fw-test-tab .oa-plan-tabs.au-tabs,
.is-fieldwork-testing-page .oa-plan-tabs.au-tabs {
  display: flex;
  flex-wrap: wrap;
  min-height: 40px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--fw-test-border);
  background: transparent;
  gap: 4px;
}

.is-fieldwork-testing-page .oa-fieldwork.is-fw-test-tab .oa-plan-tab.au-tab,
.is-fieldwork-testing-page .oa-plan-tab.au-tab {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--fw-test-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.is-fieldwork-testing-page .oa-fieldwork.is-fw-test-tab .oa-plan-tab.au-tab.is-active,
.is-fieldwork-testing-page .oa-plan-tab.au-tab.is-active {
  color: var(--fw-test-gold);
  background: transparent;
  border-bottom-color: var(--fw-test-gold);
  box-shadow: inset 0 -2px 0 transparent;
}

.is-fieldwork-testing-page .oa-fw-test-steps {
  gap: 6px;
  margin: 0 0 8px;
}

.is-fieldwork-testing-page .oa-fw-test-step {
  min-height: 40px;
  padding: 6px 10px;
}

.is-fieldwork-testing-page .oa-fw-test-step-icon {
  display: none;
}

.is-fieldwork-testing-page .oa-fw-test-step.is-complete .oa-fw-test-step-num {
  background: rgba(142, 184, 155, 0.18);
  border-color: var(--fw-test-sage);
  color: var(--fw-test-sage);
}

.is-fieldwork-testing-page .oa-fw-testing-banner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
}

.is-fieldwork-testing-page .oa-fw-testing-banner p {
  flex: 1 1 auto;
}

.is-fieldwork-testing-page .oa-fw-testing-banner .oa-fw-testing-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.is-fieldwork-testing-page .oa-fw-testing-card {
  background:
    linear-gradient(180deg, rgba(198, 166, 106, 0.045) 0%, transparent 42%),
    #171819;
}

.is-fieldwork-testing-page .oa-fw-testing-card-head {
  align-items: center;
}

.is-fieldwork-testing-page .oa-fw-testing-card-action,
.is-fieldwork-testing-page .oa-fw-testing-card-actions {
  margin-left: auto;
}

.is-fieldwork-testing-page .oa-fw-testing-card-head--stack {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
}

.is-fieldwork-testing-page .oa-fw-testing-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.is-fieldwork-testing-page .oa-fw-testing-card-copy .oa-fw-testing-help {
  margin: 0;
}

.is-fieldwork-testing-page .oa-fw-testing-summary-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 76px;
}

.is-fieldwork-testing-page .oa-fw-testing-summary-icon {
  flex: 0 0 auto;
  color: var(--fw-test-gold);
  margin-top: 2px;
}

.is-fieldwork-testing-page .oa-fw-testing-readonly {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--fw-test-border);
  border-radius: 8px;
  background: var(--fw-test-input);
}

.is-fieldwork-testing-page .oa-fw-testing-table th {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.is-fieldwork-testing-page .oa-fw-testing-empty-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  text-align: center;
}

.is-fieldwork-testing-page .oa-fw-testing-empty-icon {
  color: var(--fw-test-gold);
}

.is-fieldwork-testing-page .oa-fw-testing-helper-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 12px;
}

.is-fieldwork-testing-page .oa-fw-testing-helper-row .oa-fw-testing-help {
  margin: 0;
}

.is-fieldwork-testing-page .oa-fw-testing-help--alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.is-fieldwork-testing-page .oa-fw-testing-source-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.is-fieldwork-testing-page .oa-fw-testing-actionbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  margin-top: 4px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--fw-test-border);
}

.is-fieldwork-testing-page .oa-fw-side-card,
.is-fieldwork-testing-page .oa-sidebar-panel--fw-test > .oa-fw-side-block.oa-fw-side-card,
.is-fieldwork-testing-page details.oa-fw-side-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--fw-test-border);
  border-radius: var(--fw-test-radius);
  background: var(--fw-test-card);
}

.is-fieldwork-testing-page .oa-fw-side-card h4,
.is-fieldwork-testing-page .oa-fw-side-card summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--fw-test-text);
  text-transform: none;
  letter-spacing: 0;
}

.is-fieldwork-testing-page .oa-fw-test-ready-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.is-fieldwork-testing-page .oa-fw-test-ready-head h4 {
  flex: 1 1 auto;
}

.is-fieldwork-testing-page .oa-fw-test-ready-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) minmax(72px, max-content);
  column-gap: 10px;
  align-items: start;
  width: 100%;
}

.is-fieldwork-testing-page .oa-fw-test-ready-label {
  min-width: 0;
}

.is-fieldwork-testing-page .oa-fw-test-ready-status {
  justify-self: end;
  text-align: right;
  max-width: 9.5rem;
}

.is-fieldwork-testing-page .oa-fw-test-ready-mark {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
}

.is-fieldwork-testing-page .is-done .oa-fw-test-ready-mark {
  background: var(--fw-test-sage);
  border-color: var(--fw-test-sage);
}

.is-fieldwork-testing-page .oa-fw-side-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.is-fieldwork-testing-page .oa-fw-side-facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.is-fieldwork-testing-page .oa-fw-side-facts dt {
  margin: 0;
  font-size: 12px;
  line-height: 17px;
  font-weight: 500;
  color: var(--fw-test-muted);
  text-transform: none;
  letter-spacing: 0;
}

.is-fieldwork-testing-page .oa-fw-side-facts dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  line-height: 18px;
  color: var(--fw-test-text);
}

.is-fieldwork-testing-page aside.companion-chat.oa-fw-testing-prism.au-lifecycle-prism-bar.ai-prompt-bar,
.is-fieldwork-testing-page .oa-fw-testing-prism {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--fw-test-gold-line);
  border-radius: var(--fw-test-radius);
  background: var(--fw-test-prism);
}

.is-fieldwork-testing-page .oa-fw-testing-prism .companion-chat-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title status"
    "purpose purpose"
    "chips chips";
  gap: 10px 16px;
  align-items: start;
  margin: 0;
}

.is-fieldwork-testing-page .oa-fw-testing-prism .companion-chat-head-main,
.is-fieldwork-testing-page .oa-fw-testing-prism .companion-chat-actions {
  display: contents;
}

.is-fieldwork-testing-page .oa-fw-testing-prism .companion-chat-title {
  grid-area: title;
  margin: 0;
  color: var(--fw-test-gold);
}

.is-fieldwork-testing-page .oa-fw-testing-prism .au-lifecycle-prism-prompt,
.is-fieldwork-testing-page .oa-fw-testing-prism .companion-chat-purpose {
  grid-area: purpose;
  max-width: none;
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--fw-test-secondary);
}

.is-fieldwork-testing-page .oa-fw-testing-prism .ai-prompt-mode {
  grid-area: status;
  align-self: start;
  justify-self: end;
  min-height: 24px;
  padding: 3px 10px;
  border: 1px solid var(--fw-test-border);
  border-radius: 999px;
  background: var(--fw-test-inset);
  color: var(--fw-test-muted);
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.is-fieldwork-testing-page .oa-fw-testing-prism .au-lifecycle-prism-quick-actions {
  grid-area: chips;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.is-fieldwork-testing-page .oa-fw-testing-prism .au-lifecycle-prism-quick {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--fw-test-gold-line);
  background: rgba(17, 18, 20, 0.72);
  color: var(--fw-test-text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.is-fieldwork-testing-page .oa-fw-testing-prism .companion-chat-body,
.is-fieldwork-testing-page .oa-fw-testing-prism .core-agent-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.is-fieldwork-testing-page .oa-fw-testing-prism .core-agent-chat-mode {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--fw-test-border);
  text-align: center;
  color: var(--fw-test-muted);
  font-size: 13px;
  line-height: 18px;
}

.is-fieldwork-testing-page .oa-fw-testing-prism .core-agent-chat-mode::before,
.is-fieldwork-testing-page .oa-fw-testing-prism .core-agent-chat-mode::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: rgba(198, 166, 106, 0.28);
}

.is-fieldwork-testing-page .oa-fw-testing-prism .prism-ask-bar,
.is-fieldwork-testing-page .oa-fw-testing-prism form.prism-ask-bar {
  width: 100%;
  min-height: 44px;
}

.app-shell:has(.is-fieldwork-testing-page) .sidebar-nav-scroll {
  min-height: 0;
  overflow-y: auto;
}

.app-shell:has(.is-fieldwork-testing-page) .agpt-assistant:not(.is-open) {
  bottom: 24px;
  right: 24px;
}

.app-shell:has(.is-fieldwork-testing-page) .oa-command:not(.is-sidebar-collapsed) .agpt-assistant:not(.is-open) {
  right: 24px;
}

.is-fieldwork-testing-page .oa-engagement-sidebar {
  padding-bottom: 88px;
}

@media (max-width: 1279px) {
  .is-fieldwork-testing-page .oa-fw-testing-banner {
    flex-wrap: wrap;
  }

  .is-fieldwork-testing-page .oa-fw-testing-prism .au-lifecycle-prism-quick-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  .is-fieldwork-testing-page .oa-fw-testing-card-head--stack {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .is-fieldwork-testing-page .oa-fw-testing-card-head--stack .oa-fw-testing-card-actions {
    grid-column: 1 / -1;
    margin-left: 0;
  }
}
