/* FieldCraftPro demo hub extends the existing Archivo / mill-paper / charcoal system. */
.workbench {
  max-width: 1480px;
  padding-top: 38px;
}
.workbench p {
  color: var(--ink-2);
  line-height: 1.65;
}
.workbench h1,
.workbench h2,
.workbench h3 {
  font-variation-settings: 'wdth' 108;
  letter-spacing: -0.02em;
}
.workbench h1 {
  font-size: 44px;
  line-height: 1.08;
  font-weight: 780;
  margin: 0 0 22px;
}
.workbench h2 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.workbench h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.workbench a {
  text-underline-offset: 3px;
}
.workbench .btn {
  min-height: 44px;
  height: auto;
  padding: 10px 14px;
  white-space: normal;
  line-height: 1.35;
}
.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 1fr);
  gap: 64px;
  padding: 0 0 38px;
}
.work-intro > div > p {
  font-size: 17px;
  max-width: 58ch;
  margin: 0 0 26px;
}
.work-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.work-state {
  border: 1px solid var(--line-strong);
  padding: 28px;
  background: var(--surface);
  align-self: start;
}
.work-state > p {
  max-width: 45ch;
  margin: 14px 0;
}
.work-state h2 {
  font-size: 17px;
}
.work-state dl {
  margin: 18px 0 22px;
}
.work-state dl > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.work-state dt {
  color: var(--ink-2);
}
.work-state dd {
  font-weight: 650;
  text-align: right;
  margin: 0;
}
.work-section {
  border-top: 1px solid var(--line-strong);
  padding-top: 26px;
}
.work-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}
.work-section-head > span {
  font-size: 12.5px;
  color: var(--ink-2);
}
.work-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.work-route {
  display: flex;
  gap: 18px;
  padding: 28px 24px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.work-route + .work-route {
  border-left: 1px solid var(--line);
}
.work-route:hover {
  background: var(--hover);
}
.work-route-icon {
  color: var(--ink-2);
  padding-top: 4px;
}
.work-route h3 {
  font-size: 20px;
  margin: 8px 0 12px;
}
.work-route p {
  font-size: 14px;
  margin: 0 0 20px;
}
.work-audience {
  font-size: 12.5px;
  color: var(--ink-2);
}
.work-route .link,
.workbench .link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 36px;
}
.work-quick {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
}
.work-quick h2 {
  font-size: 17px;
  margin: 0 0 6px;
}
.work-quick p {
  margin: 0;
  max-width: 65ch;
  font-size: 12.5px;
}
.work-quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.work-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin: 36px 0;
}
.work-bottom p {
  max-width: 65ch;
  margin: 0 0 12px;
}
.work-bottom h2 {
  font-size: 17px;
}
.work-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 32px;
}
.work-page-head {
  max-width: 75ch;
  margin-bottom: 28px;
}
.work-page-head h1 {
  font-size: 32px;
  margin-bottom: 12px;
}
.work-page-head p {
  font-size: 15px;
  margin: 0;
}
.work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.work-tabs a {
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--r-sm);
}
.work-tabs a[aria-current] {
  background: var(--red-tint);
  color: var(--red-ink);
  border-color: var(--red);
  font-weight: 650;
}
.work-detail {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 32px;
}
.work-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.work-detail-head > div {
  min-width: 0;
  max-width: 75ch;
}
.work-detail-head h2 {
  font-size: 25px;
  margin: 18px 0 12px;
}
.work-detail-head p {
  margin: 0;
}
.work-detail-head > .btn {
  flex-shrink: 0;
  max-width: 240px;
}
.work-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 28px 0 28px 25px;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.work-steps li {
  padding-left: 6px;
}
.work-steps li::marker {
  color: var(--ink-2);
  font-weight: 650;
}
.work-steps p {
  margin: 0;
  font-size: 14px;
}
.work-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.work-review p {
  margin: 0;
  font-size: 14px;
}
.work-proof {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12.5px;
}
.work-proof summary {
  cursor: pointer;
  min-height: 36px;
  line-height: 1.6;
  font-weight: 650;
  color: var(--ink);
}
.work-proof p {
  max-width: 75ch;
}
.work-proof dl > div {
  padding: 8px 0;
}
.work-proof dt {
  font-weight: 650;
  margin-bottom: 4px;
}
.work-proof dd {
  margin: 0;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.work-evidence {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 12.5px;
  line-height: 1.6;
}
.work-source-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
}
.work-source-summary > div {
  min-width: 220px;
}
.work-source-summary strong {
  display: block;
  font-size: 25px;
  font-weight: 750;
}
.work-source-summary > div > span {
  font-size: 12.5px;
  color: var(--ink-2);
}
.work-source-summary p {
  max-width: 70ch;
  font-size: 14px;
}
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
}
.work-filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
}
.work-filters label:first-child {
  flex: 1;
  min-width: 160px;
}
.work-filters input,
.work-filters select {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  min-height: 44px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}
.work-results {
  font-size: 12.5px;
}
.work-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.work-source {
  padding: 28px;
  background: var(--surface);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  min-width: 0;
}
.work-source-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.work-source-title > span {
  padding-top: 2px;
  color: var(--ink-2);
}
.work-source-title h2 {
  font-size: 17px;
  margin: 0 0 8px;
}
.work-source-title p {
  font-size: 12.5px;
  margin: 0;
}
.work-source-status {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.work-source > p {
  font-size: 12.5px;
}
.work-empty {
  padding: 28px;
  grid-column: 1/-1;
}
.workbench :focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.workbench input {
  caret-color: var(--red);
}
.mode-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  padding: 10px 24px;
  font-size: 12.5px;
  line-height: 1.5;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
}
.mode-banner a {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}
.hub-chrome .hdr-search {
  width: auto;
  height: auto;
  min-height: 36px;
  padding: 7px 12px;
  text-decoration: none;
  color: var(--shell-ink);
  flex-shrink: 0;
}
.hub-chrome .hdr-brand {
  margin-right: 12px;
}
.hub-partner {
  color: var(--shell-ink-2);
  font-size: 12px;
  white-space: nowrap;
}
.hub-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hub-mode-seg {
  display: inline-flex;
  align-items: center;
  background: var(--shell-2, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--shell-line, rgba(255, 255, 255, 0.14));
  border-radius: var(--r-sm);
  padding: 2px;
  gap: 2px;
}
.hub-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shell-ink-2);
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
}
.hub-mode-btn:hover {
  color: var(--shell-ink);
  background: rgba(255, 255, 255, 0.08);
}
.hub-mode-btn.is-active {
  background: var(--red);
  color: #fff;
}
@media (max-width: 1180px) {
  .hub-mode-seg {
    display: none;
  }
}
.hub-chrome .rail-label {
  margin-top: 18px;
}
.hub-chrome .rail-link {
  min-height: 44px;
}
.demo-label {
  font-size: 12px;
  color: var(--shell-ink-2);
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .work-intro {
    gap: 32px;
  }
  .work-routes {
    grid-template-columns: 1fr;
  }
  .work-route + .work-route {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .work-route h3 {
    font-size: 17px;
  }
  .work-route p {
    margin-bottom: 8px;
  }
  .work-quick {
    align-items: flex-start;
    flex-direction: column;
  }
  .work-quick-links {
    justify-content: flex-start;
  }
  .work-detail-head {
    flex-direction: column;
  }
  .work-steps {
    gap: 24px;
  }
  .hub-partner {
    display: none;
  }
}
@media (max-width: 760px) {
  .workbench {
    padding: 24px 18px 32px;
  }
  .workbench h1 {
    font-size: 32px;
  }
  .work-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .work-intro > div > p {
    font-size: 15px;
  }
  .work-state {
    padding: 22px;
  }
  .work-section-head {
    display: block;
  }
  .work-routes {
    display: block;
  }
  .work-route {
    padding: 24px 20px;
  }
  .work-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }
  .work-section-head > span {
    display: block;
    margin-bottom: 16px;
  }
  .work-detail {
    padding: 22px;
  }
  .work-steps,
  .work-review {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .work-sources {
    grid-template-columns: 1fr;
  }
  .work-source {
    padding: 22px;
  }
  .work-source-summary {
    display: block;
  }
  .work-source-summary > div {
    min-width: 0;
  }
  .work-tabs a {
    flex: 1;
    min-width: 130px;
  }
  .work-filters label {
    width: 100%;
  }
  .work-filters .btn {
    width: 100%;
  }
  .work-page-head h1 {
    font-size: 25px;
  }
  .mode-banner {
    padding: 10px 16px;
    align-items: flex-start;
  }
  .mode-banner > span {
    max-width: 70ch;
  }
  .hub-chrome .hdr {
    gap: 8px;
    padding: 0 12px;
  }
  .hub-chrome .hdr-brand {
    margin-right: 0;
  }
  .hub-nav .btn {
    padding: 8px;
  }
  .hub-chrome .rail {
    display: flex;
  }
  .hub-chrome .rail .rail-link {
    display: flex;
    flex: 1;
  }
  .hub-chrome .rail .rail-label {
    display: none;
  }
  .hub-chrome .rail-more {
    display: none;
  }
  .demo-label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workbench * {
    scroll-behavior: auto;
    transition: none;
  }
}

.report-view .tbl td,
.report-view .tbl th {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  vertical-align: top;
  line-height: 1.6;
  min-width: 140px;
  max-width: 380px;
}
.report-view .tbl {
  min-width: 720px;
}
.report-view .tbl caption {
  text-align: left;
  padding: 12px 0;
  font-weight: 650;
  color: var(--ink-2);
}
.report-view .tbl-wrap:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .report-view .readiness-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .readiness-table caption {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  .readiness-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .readiness-table tbody {
    display: block;
  }
  .readiness-table tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .report-view .readiness-table th,
  .report-view .readiness-table td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 0;
    border: 0;
    padding: 8px 12px;
    overflow-wrap: anywhere;
  }
  .readiness-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 650;
    font-size: 11.5px;
    color: var(--ink-2);
    margin-bottom: 4px;
  }
  .readiness-table th[scope='row'] {
    font-size: 17px;
  }
}

.work-detail-head .pill {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.trial-routes { margin-bottom: 24px; }
.trial-routes h2, .trial-status h2, .trial-checklist h2 { margin-bottom: 16px; }
.trial-routes p + p, .trial-routes .work-links + p, .trial-status p { margin-bottom: 16px; }
.trial-status { margin-bottom: 24px; }
.trial-checklist { margin-bottom: 24px; }

/* FieldCraftPro dual-demo launcher */
.demo-hero {
  margin-bottom: 28px;
}
.demo-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.demo-hero p {
  font-size: 16.5px;
  max-width: 68ch;
  margin: 0;
}
.demo-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--red);
  border-radius: var(--r-md, 6px);
}
.demo-card-civil {
  border-top-color: #8a4b2a;
}
.demo-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.demo-card h2 {
  font-size: 24px;
  margin: 0 0 4px;
}
.demo-card-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.demo-card-top > p:last-child {
  margin: 0;
  font-size: 14.5px;
}
.demo-highlights {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.demo-highlights strong {
  color: var(--ink);
}
.demo-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.demo-btn-civil {
  background: #8a4b2a;
  border-color: #8a4b2a;
  color: #fff;
}
.demo-btn-civil:hover {
  background: #733d21;
  border-color: #733d21;
  color: #fff;
}
.demo-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.demo-info-grid .work-detail {
  padding: 20px;
}
.demo-info-grid p {
  font-size: 13.5px;
  margin: 0 0 12px;
}
.demo-info-grid p:last-child {
  margin-bottom: 0;
}
@media (max-width: 980px) {
  .demo-cards,
  .demo-info-grid {
    grid-template-columns: 1fr;
  }
}

