@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap");

body.product-workspace {
  --workspace-bg: #ffffff;
  --workspace-bg-alt: #f8fafc;
  --workspace-card: #ffffff;
  --workspace-surface-soft: #f8fafc;
  --workspace-surface-muted: #f3f4f6;
  --workspace-ink: #111827;
  --workspace-muted: #4b5563;
  --workspace-muted-soft: #6b7280;
  --workspace-border: rgba(17, 24, 39, 0.14);
  --workspace-border-strong: #d1d5db;
  --workspace-accent: #1d4f91;
  --workspace-accent-warm: #9a6f1d;
  --workspace-accent-gold: #9a6f1d;
  --semantic-red: #b91c1c;
  --semantic-red-soft: rgba(185, 28, 28, 0.08);
  --semantic-red-row: rgba(185, 28, 28, 0.05);
  --semantic-amber: #b45309;
  --semantic-amber-soft: rgba(180, 83, 9, 0.09);
  --semantic-amber-row: rgba(180, 83, 9, 0.05);
  --semantic-teal: #0f766e;
  --semantic-teal-soft: rgba(15, 118, 110, 0.08);
  --semantic-teal-row: rgba(15, 118, 110, 0.05);
  --semantic-navy: #1d4f91;
  --semantic-navy-soft: rgba(29, 79, 145, 0.08);
  --semantic-navy-row: rgba(29, 79, 145, 0.05);
  --semantic-gray: #6b7280;
  --semantic-gray-soft: rgba(107, 114, 128, 0.08);
  --semantic-gray-row: rgba(107, 114, 128, 0.05);
  --workspace-shadow: none;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--workspace-bg);
  color: var(--workspace-ink);
  line-height: 1.55;
}

body.product-workspace h1,
body.product-workspace h2,
body.product-workspace h3,
body.product-workspace h4 {
  font-family: "DM Sans", sans-serif;
  color: var(--workspace-ink);
  letter-spacing: -0.02em;
}

body.product-workspace .mono,
body.product-workspace code,
body.product-workspace pre,
body.product-workspace .metric-number,
body.product-workspace .brief-metric-value,
body.product-workspace .workspace-table td:nth-child(n + 2),
body.product-workspace .portfolio-summary-value,
body.product-workspace .chart-metrics strong,
body.product-workspace .snapshot-id,
body.product-workspace .snapshot-line,
body.product-workspace .data-quality-item strong {
  font-family: "DM Mono", monospace;
}

body.product-workspace a {
  color: var(--workspace-accent);
}

body.product-workspace [data-reveal] {
  opacity: 1;
  transform: none;
}

body.product-workspace .tone-red,
body.product-workspace .tone-red strong,
body.product-workspace .tone-red .brief-metric-value {
  color: var(--semantic-red);
}

body.product-workspace .tone-amber,
body.product-workspace .tone-amber strong,
body.product-workspace .tone-amber .brief-metric-value {
  color: var(--semantic-amber);
}

body.product-workspace .tone-teal,
body.product-workspace .tone-teal strong,
body.product-workspace .tone-teal .brief-metric-value {
  color: var(--semantic-teal);
}

body.product-workspace .tone-navy,
body.product-workspace .tone-navy strong,
body.product-workspace .tone-navy .brief-metric-value {
  color: var(--semantic-navy);
}

body.product-workspace .tone-gray,
body.product-workspace .tone-gray strong,
body.product-workspace .tone-gray .brief-metric-value {
  color: var(--semantic-gray);
}

body.product-workspace .ghost,
body.product-workspace .secondary,
body.product-workspace .link-button,
body.product-workspace .pill-button {
  font-family: "DM Sans", sans-serif;
}

.workspace-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--workspace-border);
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.workspace-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 2rem;
  max-width: 1480px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  margin-top: 1rem;
}

.workspace-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.workspace-brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}

.workspace-brand-mark,
.workspace-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--workspace-ink);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: none;
}

.workspace-brand-text {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--workspace-ink);
}

.workspace-brand-preview {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--workspace-muted);
  text-transform: none;
  white-space: nowrap;
}

.workspace-footer {
  max-width: 1480px;
  margin: 0 auto 2rem;
  padding: 1.15rem 2rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--workspace-muted);
}

.workspace-footer-copy {
  display: grid;
  gap: 0.35rem;
  max-width: 48rem;
}

.workspace-footer-copy strong {
  color: var(--workspace-ink);
  font-size: 0.95rem;
}

.workspace-footer-copy p {
  margin: 0;
  font-size: 0.9rem;
}

.workspace-footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.workspace-footer-links a {
  color: var(--workspace-ink);
}

.workspace-footer-links a:hover {
  color: var(--workspace-muted);
}

.workspace-info-meta {
  gap: 1rem;
}

.public-info-page .workspace-topline {
  padding-bottom: 1.5rem;
}

.public-info-card {
  max-width: 760px;
}

.public-info-copy {
  display: grid;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--workspace-ink);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
  gap: 1rem;
  align-items: start;
}

.waitlist-intro-card,
.waitlist-form-card {
  padding: 1.35rem;
}

.waitlist-intro-card h2,
.waitlist-form-card h2 {
  margin-top: 0;
}

.waitlist-intro-card .workspace-page-summary {
  margin-bottom: 1rem;
}

.waitlist-bullets {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--workspace-muted);
}

.waitlist-form {
  display: grid;
  gap: 0.85rem;
}

.waitlist-form label {
  display: grid;
  gap: 0.32rem;
  color: var(--workspace-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.waitlist-form input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.68rem 0.78rem;
  color: var(--workspace-ink);
  background: #ffffff;
  font: inherit;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--workspace-accent);
  box-shadow: 0 0 0 2px rgba(29, 79, 145, 0.14);
}

.waitlist-form button {
  width: 100%;
  margin-top: 0.2rem;
}

.waitlist-form-note,
.waitlist-form-status {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: var(--workspace-muted);
}

.waitlist-form-status.is-success {
  color: var(--semantic-teal);
}

.waitlist-form-status.is-error {
  color: var(--semantic-red);
}

.public-info-copy p {
  margin: 0;
}

.workspace-nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  justify-content: center;
}

.workspace-nav-link {
  position: relative;
  padding: 0.2rem 0;
  font-size: 0.95rem;
  color: var(--workspace-muted);
}

.workspace-nav-link:hover,
.workspace-nav-link.is-active {
  color: var(--workspace-ink);
}

.workspace-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.65rem;
  height: 2px;
  background: var(--workspace-accent);
}

.workspace-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--workspace-muted);
  font-size: 0.86rem;
}

.workspace-waitlist-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.workspace-timestamp {
  white-space: nowrap;
}

.workspace-logout {
  border-color: var(--workspace-border-strong);
  color: var(--workspace-ink);
}

.workspace-topline {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem 1.6rem;
}

.workspace-page-kicker,
.section-kicker,
.eyebrow,
.signal-brief-kicker,
.evidence-kicker,
.panel-title,
.data-quality-label,
.portfolio-summary-label,
.decision-kicker,
.chart-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--workspace-muted-soft);
  margin: 0 0 0.45rem;
}

.workspace-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.35rem;
}

.workspace-page-summary,
.section-summary,
.section-sub,
.panel-sub,
.muted,
.snapshot-line,
.mini-trend,
.heatmap-howto,
.heatmap-interpretation-note,
.context-note,
.priority-note,
.priority-context,
.decision-confidence,
.decision-invalidation,
.signal-brief-confidence,
.signal-brief-data,
.occupation-map-howto,
.occupation-detail-note,
.workspace-table td,
.workspace-table th,
.portfolio-unmatched-note,
.divergence-meta {
  color: var(--workspace-muted);
}

.weekly-hero-subheader {
  max-width: 820px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--workspace-ink);
  margin: 0 0 0.35rem;
}

.weekly-hero-context {
  max-width: 900px;
}

.sources-freshness-card {
  display: grid;
  gap: 1rem;
}

.sources-freshness-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.sources-freshness-header h3 {
  margin: 0;
  font-size: 1.28rem;
}

.sources-freshness-header p {
  margin: 0.35rem 0 0;
  color: var(--workspace-muted);
  max-width: 900px;
}

.source-freshness-overall,
.source-freshness-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.source-freshness-overall {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.source-freshness-badge {
  padding: 0.28rem 0.6rem;
  font-size: 0.82rem;
}

.source-freshness-overall.is-fresh,
.source-freshness-badge.is-fresh {
  background: rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.2);
  color: #0f766e;
}

.source-freshness-overall.is-monitor,
.source-freshness-badge.is-monitor {
  background: rgba(202, 138, 4, 0.12);
  border-color: rgba(202, 138, 4, 0.22);
  color: #a16207;
}

.source-freshness-overall.is-stale,
.source-freshness-badge.is-stale {
  background: rgba(185, 28, 28, 0.1);
  border-color: rgba(185, 28, 28, 0.18);
  color: #b91c1c;
}

.source-freshness-overall.is-reference,
.source-freshness-badge.is-reference {
  background: rgba(29, 78, 145, 0.08);
  border-color: rgba(29, 78, 145, 0.18);
  color: #1d4f91;
}

.source-freshness-overall.is-pending,
.source-freshness-badge.is-pending,
.source-freshness-overall.is-unavailable,
.source-freshness-badge.is-unavailable {
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.16);
  color: #475569;
}

.source-freshness-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--workspace-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.source-freshness-table td,
.source-freshness-table th {
  vertical-align: top;
}

.source-freshness-table td:last-child {
  white-space: nowrap;
}

.source-freshness-loaded {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.workspace-ticker-strip,
.kpi-tape {
  max-width: 1480px;
  margin: 0 auto 1rem;
  padding: 0.85rem 2rem 1.1rem;
  background: #ffffff;
  color: var(--workspace-muted);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  backdrop-filter: none;
}

.workspace-main {
  max-width: 1480px;
  margin: 0 auto;
  padding: 2rem;
}

body.product-workspace .section {
  padding: 0;
  margin: 0 0 1.6rem;
}

body.product-workspace .section.alt {
  background: transparent;
}

.section-compact {
  margin-top: 0.5rem;
}

.decision-surface-card {
  display: grid;
  gap: 1rem;
}

.decision-surface-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.decision-primary-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.decision-primary-list li {
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--workspace-ink);
}

.decision-primary-list li strong {
  color: var(--workspace-ink);
  font-weight: 700;
}

.decision-rationale {
  margin: 0;
  color: var(--workspace-muted);
}

.decision-footer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  padding-top: 0.2rem;
  border-top: 1px solid #e5e7eb;
}

.decision-footer-strip p {
  margin: 0;
  color: var(--workspace-muted);
}

.focus-table-card {
  display: grid;
  gap: 1rem;
}

.weekly-focus-table td strong {
  color: var(--workspace-ink);
}

.weekly-focus-table tbody tr.is-top-focus td {
  font-weight: 600;
}

.weekly-focus-table tbody tr.is-top-focus td:first-child {
  color: var(--workspace-accent);
}

.weekly-snapshot-card {
  display: grid;
  gap: 1rem;
}

.weekly-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.weekly-snapshot-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid transparent;
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

.weekly-snapshot-label {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--workspace-muted-soft);
}

.weekly-snapshot-value {
  display: block;
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--workspace-ink);
}

.weekly-snapshot-note {
  margin: 0.45rem 0 0;
  color: var(--workspace-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.capture-translation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.capture-translation-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--semantic-navy);
  border-radius: 12px;
  padding: 1rem;
}

.capture-translation-kicker {
  margin: 0 0 0.4rem;
  color: var(--workspace-muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.capture-translation-card h3 {
  margin: 0 0 0.6rem;
  color: var(--workspace-ink);
  font-size: 1rem;
}

.capture-translation-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--workspace-ink);
  line-height: 1.55;
}

.capture-translation-list li strong {
  color: var(--workspace-ink);
}

.weekly-why-line {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--semantic-navy);
  border-radius: 12px;
  background: var(--semantic-navy-soft);
  color: var(--workspace-ink);
}

.labor-frame-banner {
  margin: 0;
  padding: 0.95rem 1rem;
  border-left: 4px solid var(--semantic-navy);
  border-radius: 12px;
  background: rgba(29, 79, 145, 0.08);
  color: var(--workspace-ink);
  line-height: 1.6;
}

.compact-head {
  margin-bottom: 1rem;
}

body.product-workspace .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.product-workspace .section-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

body.product-workspace .card,
body.product-workspace .ticker-panel,
body.product-workspace .chart-card,
body.product-workspace .occupation-map-card,
body.product-workspace .transition-card,
body.product-workspace .decision-brief-card,
body.product-workspace .heatmap-card,
body.product-workspace .signal-brief,
body.product-workspace .hero-panel,
body.product-workspace .snapshot-banner,
body.product-workspace .engine-card {
  background: var(--workspace-card);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: var(--workspace-shadow);
}

body.product-workspace .card,
body.product-workspace .ticker-panel,
body.product-workspace .chart-card,
body.product-workspace .occupation-map-card,
body.product-workspace .decision-brief-card,
body.product-workspace .heatmap-card,
body.product-workspace .signal-brief,
body.product-workspace .hero-panel,
body.product-workspace .snapshot-banner,
body.product-workspace .engine-card {
  padding: 1.2rem 1.25rem;
}

.inset-card {
  padding: 1rem;
  background: var(--workspace-surface-soft) !important;
}

.brief-metric-grid,
.workspace-inline-grid,
.mini-grid,
.portfolio-summary-grid,
.data-quality-grid,
.decision-action-grid,
.heatmap-lists {
  display: grid;
  gap: 1rem;
}

.brief-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workspace-inline-grid-3,
.portfolio-summary-grid,
.heatmap-lists {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-grid.two-col,
.decision-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-metric-card,
.portfolio-summary-card,
.mini-card,
.data-quality-item,
.heatmap-list-card,
.rule-card,
.decision-action-block,
.evidence-card,
.validation-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  border-left: 4px solid transparent;
}

.brief-metric-card {
  min-height: 140px;
}

.brief-metric-label,
.chart-title,
.transition-head h3,
.occupation-group-head h3,
.cluster-detail-card h3,
.portfolio-holding-card h3 {
  margin: 0 0 0.35rem;
}

.brief-metric-value {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--workspace-ink);
  margin-bottom: 0.35rem;
}

.brief-sparkline,
.sparkline {
  margin-top: 0.8rem;
  min-height: 38px;
}

.watch-alerts,
.cluster-cards-grid,
.portfolio-holding-grid,
.settings-stack,
.industry-bars,
.trend-delta-list {
  display: grid;
  gap: 1rem;
}

.watch-alert {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--workspace-accent);
  border-radius: 12px;
  padding: 1rem;
}

.watch-alert[data-level="Critical"],
.watch-alert.is-critical {
  border-left-color: #b91c1c;
}

.watch-alert[data-level="Escalating"],
.watch-alert.is-escalating {
  border-left-color: var(--workspace-accent-warm);
}

.watch-alert[data-level="Watch"],
.watch-alert.is-watch {
  border-left-color: #d97706;
}

.watch-alert h3,
.watch-alert .watch-alert-title {
  color: var(--workspace-ink);
}

.watch-alert-score,
.watch-alert-msg,
.watch-alert-action,
.watch-alert-coverage,
.watch-alert-proxies {
  color: var(--workspace-muted);
}

.priority-entry,
.weekly-change-card,
.watch-next-card,
.industry-bar-card,
.table-card {
  padding: 1.2rem 1.25rem;
}

.workspace-table,
.portfolio-table,
.heatmap-table,
.transition-table,
.leadlag-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--workspace-ink);
}

.workspace-table th,
.workspace-table td,
.portfolio-table th,
.portfolio-table td,
.heatmap-table th,
.heatmap-table td,
.transition-table th,
.transition-table td,
.leadlag-table th,
.leadlag-table td {
  border-bottom: 1px solid var(--workspace-border);
  padding: 0.8rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.workspace-table th,
.portfolio-table th,
.heatmap-table th,
.transition-table th,
.leadlag-table th {
  color: var(--workspace-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-table th .label-with-info {
  color: inherit;
  gap: 0.4rem;
}

.portfolio-table th {
  overflow: visible;
}

.portfolio-table th .info-tip {
  flex-shrink: 0;
}

.portfolio-table th .tooltip-text {
  left: 0;
  right: auto;
  top: calc(100% + 8px);
  bottom: auto;
  transform: translateX(0) translateY(-4px);
  min-width: 220px;
  max-width: 260px;
  display: block;
  white-space: normal;
  text-transform: none;
  letter-spacing: normal;
  font-family: "DM Sans", sans-serif;
  font-size: 0.74rem;
  line-height: 1.35;
}

.portfolio-table th .tooltip-text::after {
  top: auto;
  bottom: 100%;
  left: 14px;
  transform: none;
  border-color: transparent transparent #1f1d1a transparent;
}

.portfolio-table th .info-tip:hover .tooltip-text,
.portfolio-table th .info-tip:focus-visible .tooltip-text {
  transform: translateX(0) translateY(0);
}

.portfolio-table th:nth-last-child(-n + 3) .tooltip-text {
  left: auto;
  right: 0;
}

.portfolio-table th:nth-last-child(-n + 3) .tooltip-text::after {
  left: auto;
  right: 14px;
}

.workspace-table td,
.portfolio-table td,
.heatmap-table td,
.transition-table td,
.leadlag-table td {
  color: var(--workspace-ink);
}

.security-cell {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.security-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.security-ticker {
  color: var(--workspace-ink);
  font-weight: 700;
}

.security-name,
.watch-alert-company {
  color: var(--workspace-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.security-note {
  color: var(--workspace-muted-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.security-note.is-impact {
  font-weight: 700;
}

.portfolio-cell-stack {
  display: grid;
  gap: 0.2rem;
}

.portfolio-cell-note {
  color: var(--workspace-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.portfolio-source-label {
  color: var(--workspace-ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.portfolio-contributors {
  display: grid;
  gap: 0.26rem;
}

.portfolio-contributors.is-adjacent {
  gap: 0.15rem;
}

.portfolio-contributor {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--workspace-ink);
  font-size: 0.82rem;
  line-height: 1.35;
}

.portfolio-contributor strong {
  color: var(--workspace-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.portfolio-contributor-note {
  color: var(--workspace-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.workspace-table tbody tr.tone-red td,
.portfolio-table tbody tr.tone-red td {
  background: var(--semantic-red-row);
}

.workspace-table tbody tr.tone-amber td,
.portfolio-table tbody tr.tone-amber td {
  background: var(--semantic-amber-row);
}

.workspace-table tbody tr.tone-teal td,
.portfolio-table tbody tr.tone-teal td {
  background: var(--semantic-teal-row);
}

.workspace-table tbody tr.tone-navy td,
.portfolio-table tbody tr.tone-navy td {
  background: var(--semantic-navy-row);
}

.workspace-table tbody tr.tone-red td:first-child,
.portfolio-table tbody tr.tone-red td:first-child {
  box-shadow: inset 4px 0 0 var(--semantic-red);
}

.workspace-table tbody tr.tone-amber td:first-child,
.portfolio-table tbody tr.tone-amber td:first-child {
  box-shadow: inset 4px 0 0 var(--semantic-amber);
}

.workspace-table tbody tr.tone-teal td:first-child,
.portfolio-table tbody tr.tone-teal td:first-child {
  box-shadow: inset 4px 0 0 var(--semantic-teal);
}

.workspace-table tbody tr.tone-navy td:first-child,
.portfolio-table tbody tr.tone-navy td:first-child {
  box-shadow: inset 4px 0 0 var(--semantic-navy);
}

.table-wrap,
.heatmap-scroll,
.leadlag-scroll,
.portfolio-table-wrap,
.transition-table-wrap {
  overflow-x: auto;
}

.portfolio-table.is-disclosure-collapsed th:nth-child(7),
.portfolio-table.is-disclosure-collapsed td:nth-child(7) {
  display: none;
}

.delta-cell,
.direction-cell,
.priority-status,
.priority-action {
  font-weight: 700;
}

.direction-cell.tone-red,
.delta-cell.tone-red,
.priority-status.tone-red,
.priority-action.tone-red {
  color: var(--semantic-red);
}

.direction-cell.tone-amber,
.delta-cell.tone-amber,
.priority-status.tone-amber,
.priority-action.tone-amber {
  color: var(--semantic-amber);
}

.direction-cell.tone-teal,
.delta-cell.tone-teal,
.priority-status.tone-teal,
.priority-action.tone-teal {
  color: var(--semantic-teal);
}

.direction-cell.tone-navy,
.delta-cell.tone-navy,
.priority-status.tone-navy,
.priority-action.tone-navy {
  color: var(--semantic-navy);
}

.decision-action-block {
  border-left: 4px solid var(--workspace-accent);
}

body.product-workspace .card.tone-red,
body.product-workspace .brief-metric-card.tone-red,
body.product-workspace .portfolio-summary-card.tone-red,
body.product-workspace .data-quality-item.tone-red,
body.product-workspace .watch-alert.tone-red,
body.product-workspace .weekly-snapshot-item.tone-red,
body.product-workspace .portfolio-holding-card.tone-red,
body.product-workspace .cluster-detail-card.tone-red,
body.product-workspace .rule-card.tone-red,
body.product-workspace .evidence-card.tone-red,
body.product-workspace .weight-grid label.tone-red {
  border-left-color: var(--semantic-red);
  background: var(--semantic-red-soft);
}

body.product-workspace .card.tone-amber,
body.product-workspace .brief-metric-card.tone-amber,
body.product-workspace .portfolio-summary-card.tone-amber,
body.product-workspace .data-quality-item.tone-amber,
body.product-workspace .watch-alert.tone-amber,
body.product-workspace .weekly-snapshot-item.tone-amber,
body.product-workspace .portfolio-holding-card.tone-amber,
body.product-workspace .cluster-detail-card.tone-amber,
body.product-workspace .rule-card.tone-amber,
body.product-workspace .evidence-card.tone-amber,
body.product-workspace .weight-grid label.tone-amber {
  border-left-color: var(--semantic-amber);
  background: var(--semantic-amber-soft);
}

body.product-workspace .card.tone-teal,
body.product-workspace .brief-metric-card.tone-teal,
body.product-workspace .portfolio-summary-card.tone-teal,
body.product-workspace .data-quality-item.tone-teal,
body.product-workspace .watch-alert.tone-teal,
body.product-workspace .weekly-snapshot-item.tone-teal,
body.product-workspace .portfolio-holding-card.tone-teal,
body.product-workspace .cluster-detail-card.tone-teal,
body.product-workspace .rule-card.tone-teal,
body.product-workspace .evidence-card.tone-teal,
body.product-workspace .weight-grid label.tone-teal {
  border-left-color: var(--semantic-teal);
  background: var(--semantic-teal-soft);
}

body.product-workspace .card.tone-navy,
body.product-workspace .brief-metric-card.tone-navy,
body.product-workspace .portfolio-summary-card.tone-navy,
body.product-workspace .data-quality-item.tone-navy,
body.product-workspace .watch-alert.tone-navy,
body.product-workspace .weekly-snapshot-item.tone-navy,
body.product-workspace .portfolio-holding-card.tone-navy,
body.product-workspace .cluster-detail-card.tone-navy,
body.product-workspace .rule-card.tone-navy,
body.product-workspace .evidence-card.tone-navy,
body.product-workspace .weight-grid label.tone-navy {
  border-left-color: var(--semantic-navy);
  background: var(--semantic-navy-soft);
}

body.product-workspace .card.tone-gray,
body.product-workspace .brief-metric-card.tone-gray,
body.product-workspace .portfolio-summary-card.tone-gray,
body.product-workspace .data-quality-item.tone-gray,
body.product-workspace .watch-alert.tone-gray,
body.product-workspace .weekly-snapshot-item.tone-gray,
body.product-workspace .portfolio-holding-card.tone-gray,
body.product-workspace .cluster-detail-card.tone-gray,
body.product-workspace .rule-card.tone-gray,
body.product-workspace .evidence-card.tone-gray,
body.product-workspace .weight-grid label.tone-gray {
  border-left-color: var(--semantic-gray);
  background: var(--semantic-gray-soft);
}

.decision-action-block.urgency-high {
  border-left-color: #b91c1c;
  background: rgba(185, 28, 28, 0.08);
}

.decision-action-block.urgency-medium {
  border-left-color: var(--workspace-accent-warm);
  background: rgba(180, 83, 9, 0.08);
}

.decision-action-block.urgency-watch {
  border-left-color: var(--workspace-accent);
  background: rgba(15, 118, 110, 0.08);
}

.regime-action-callout {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--workspace-accent-warm);
  background: linear-gradient(120deg, rgba(180, 83, 9, 0.09), rgba(15, 118, 110, 0.05));
  border-radius: 12px;
  color: var(--workspace-ink);
}

.evidence-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.evidence-card {
  border-left: 4px solid var(--workspace-accent);
}

.evidence-card:nth-child(1) {
  border-left-color: var(--semantic-red);
}

.evidence-card:nth-child(2) {
  border-left-color: var(--semantic-amber);
}

.evidence-card:nth-child(3) {
  border-left-color: var(--semantic-gray);
}

.evidence-card:nth-child(4) {
  border-left-color: var(--semantic-navy);
}

.collapse-card {
  background: var(--workspace-card);
  border: 1px solid var(--workspace-border);
  border-radius: 18px;
  box-shadow: var(--workspace-shadow);
}

.collapse-toggle {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--workspace-ink);
}

.collapse-toggle::-webkit-details-marker {
  display: none;
}

.collapse-panel {
  padding: 0 1.2rem 1.2rem;
}

.subnav-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body.product-workspace .pill-button,
body.product-workspace .secondary,
body.product-workspace .ghost,
body.product-workspace .link-button {
  background: #ffffff;
  border: 1px solid var(--workspace-border-strong);
  color: var(--workspace-ink);
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
}

body.product-workspace .secondary {
  background: #ffffff;
  border-color: var(--workspace-border-strong);
  color: var(--workspace-ink);
}

body.product-workspace .pill-button.is-active {
  background: rgba(29, 79, 145, 0.08);
  border-color: rgba(29, 79, 145, 0.24);
  color: var(--workspace-accent);
}

.heatmap-legend,
.chart-footer,
.transition-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legend-chip,
.pill,
.direction-badge,
.portfolio-mapping,
.portfolio-corroboration,
.portfolio-coverage {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.25rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.watch-alert-action-tag.tone-red {
  background: var(--semantic-red-soft);
  border-color: rgba(185, 28, 28, 0.28);
  color: var(--semantic-red);
}

.watch-alert-action-tag.tone-amber {
  background: var(--semantic-amber-soft);
  border-color: rgba(180, 83, 9, 0.28);
  color: var(--semantic-amber);
}

.watch-alert-action-tag.tone-teal {
  background: var(--semantic-teal-soft);
  border-color: rgba(15, 118, 110, 0.28);
  color: var(--semantic-teal);
}

.watch-alert-action-tag.tone-navy {
  background: var(--semantic-navy-soft);
  border-color: rgba(29, 79, 145, 0.24);
  color: var(--semantic-navy);
}

.risk-high,
.is-alarm {
  background: rgba(185, 28, 28, 0.12);
  color: #991b1b;
  border-color: rgba(185, 28, 28, 0.3);
}

.risk-elevated {
  background: rgba(185, 28, 28, 0.08);
  color: #a11d1d;
  border-color: rgba(185, 28, 28, 0.24);
}

.risk-watch,
.is-warning,
.is-watch,
.portfolio-corroboration.is-mixed {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.24);
}

.risk-low,
.is-stable,
.portfolio-corroboration.is-confirmed {
  background: rgba(15, 118, 110, 0.11);
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.24);
}

.portfolio-mapping.is-disclosed {
  background: rgba(15, 118, 110, 0.11);
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.24);
}

.portfolio-mapping.is-modeled {
  background: rgba(29, 79, 145, 0.08);
  color: var(--semantic-navy);
  border-color: rgba(29, 79, 145, 0.24);
}

.portfolio-mapping.is-inferred {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.24);
}

.direction-badge.is-flat,
.portfolio-corroboration.is-none {
  background: rgba(107, 114, 128, 0.1);
  color: #4b5563;
  border-color: rgba(107, 114, 128, 0.24);
}

.legend-low-coverage,
.portfolio-coverage.is-low {
  background: rgba(180, 83, 9, 0.11);
  color: #9a3412;
  border-color: rgba(180, 83, 9, 0.26);
}

.heatmap-band-high,
.legend-outline-high {
  background: rgba(212, 86, 78, 0.12);
}

.heatmap-band-elevated,
.legend-outline-rising {
  background: rgba(212, 148, 78, 0.12);
}

.heatmap-band-watch {
  background: rgba(212, 196, 78, 0.12);
}

.heatmap-band-low,
.legend-outline-resilient {
  background: rgba(90, 173, 110, 0.12);
}

.heatmap-scale-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.heatmap-band {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  color: var(--workspace-ink);
  font-size: 0.82rem;
}

.occupation-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
  gap: 1rem;
}

.occupation-map-scale {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  gap: 0.75rem;
  align-items: center;
  margin: 0.25rem 0 0.85rem;
}

.occupation-scale-bar {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}

.occupation-scale-label {
  font-size: 0.74rem;
  color: var(--workspace-muted);
}

.occupation-map-groups,
.occupation-group,
.occupation-tile-grid,
.occupation-mode-group {
  display: grid;
  gap: 0.8rem;
}

.occupation-group {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

.occupation-group-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.occupation-tile-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 28px;
}

.occupation-tile {
  border: 0;
  border-radius: 12px;
  padding: 0.55rem;
  color: var(--workspace-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
  text-align: left;
  cursor: pointer;
  min-height: 56px;
}

.occupation-tile.is-selected {
  outline: 2px solid var(--workspace-accent);
}

.occupation-tile-title.is-large {
  font-size: 0.85rem;
  font-weight: 700;
}

.occupation-tile-title.is-medium,
.occupation-tile-title.is-small,
.occupation-tile-meta {
  font-size: 0.72rem;
}

.occupation-detail-card,
.portfolio-holding-card,
.cluster-detail-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--workspace-accent-warm);
  border-radius: 12px;
  padding: 1rem;
}

.occupation-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.occupation-detail-grid dt {
  color: var(--workspace-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.occupation-detail-grid dd {
  margin: 0.2rem 0 0;
}

.portfolio-holding-grid,
.cluster-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-holding-card {
  border-left-color: var(--workspace-accent);
}

.portfolio-holding-card .holding-action {
  margin-top: 0.6rem;
}

.watch-alert-company {
  margin: 0.2rem 0 0;
}

.portfolio-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.2rem;
}

.portfolio-attribute-chip {
  border-radius: 999px;
  border: 1px solid rgba(29, 79, 145, 0.18);
  background: rgba(29, 79, 145, 0.07);
  color: var(--semantic-navy);
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.2;
}

.portfolio-attribute-chip.is-intensity {
  border-color: rgba(180, 83, 9, 0.22);
  background: rgba(180, 83, 9, 0.08);
  color: var(--semantic-amber);
}

.portfolio-attribute-chip.is-relevance-direct {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.09);
  color: var(--semantic-teal);
}

.portfolio-attribute-chip.is-relevance-support {
  border-color: rgba(180, 83, 9, 0.22);
  background: rgba(180, 83, 9, 0.08);
  color: var(--semantic-amber);
}

.portfolio-attribute-chip.is-relevance-adjacent {
  border-color: rgba(107, 114, 128, 0.22);
  background: rgba(107, 114, 128, 0.08);
  color: var(--workspace-muted);
}

.portfolio-attribute-chip.is-capture-tailwind {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.09);
  color: var(--semantic-teal);
}

.portfolio-attribute-chip.is-capture-headwind {
  border-color: rgba(185, 28, 28, 0.24);
  background: rgba(185, 28, 28, 0.09);
  color: var(--semantic-red);
}

.portfolio-attribute-chip.is-capture-contested {
  border-color: rgba(180, 83, 9, 0.22);
  background: rgba(180, 83, 9, 0.08);
  color: var(--semantic-amber);
}

.portfolio-attribute-chip.is-capture-mixed {
  border-color: rgba(180, 83, 9, 0.22);
  background: rgba(180, 83, 9, 0.08);
  color: var(--semantic-amber);
}

.portfolio-attribute-chip.is-capture-unclear {
  border-color: rgba(107, 114, 128, 0.22);
  background: rgba(107, 114, 128, 0.08);
  color: var(--workspace-muted);
}

.holding-capture,
.holding-efficiency {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.cluster-capture-box {
  margin-top: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(29, 79, 145, 0.05);
  border: 1px solid rgba(29, 79, 145, 0.12);
}

.cluster-capture-kicker {
  margin: 0 0 0.45rem;
  color: var(--workspace-muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.cluster-capture-list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.38rem;
  color: var(--workspace-ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cluster-capture-list strong {
  color: var(--workspace-ink);
}

.industry-bars {
  gap: 0.9rem;
}

.industry-bar-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 90px;
  gap: 0.9rem;
  align-items: center;
}

.industry-bar-row.is-top-industry .industry-bar-label {
  font-weight: 700;
  color: var(--workspace-ink);
}

.industry-bar-track {
  height: 12px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
  border: 1px solid #d8e0ea;
}

.industry-bar-fill {
  height: 100%;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.industry-bar-value {
  display: grid;
  justify-items: end;
  gap: 0.18rem;
}

.industry-bar-score {
  color: var(--workspace-ink);
}

.industry-bar-delta {
  font-size: 0.88rem;
  font-weight: 700;
}

.labor-pressure-view {
  display: none;
}

.labor-pressure-view.is-active,
.settings-tab-panel.is-active {
  display: block;
}

.settings-tab-panel {
  display: none;
}

.settings-stack {
  gap: 0.85rem;
}

.weight-grid label {
  border: 1px solid #e5e7eb;
  border-left: 4px solid transparent;
  border-radius: 12px;
  padding: 0.75rem;
  background: #ffffff;
}

.weight-grid label.tone-red {
  background: rgba(185, 28, 28, var(--weight-tone-opacity, 0.12));
}

.weight-grid label.tone-amber {
  background: rgba(180, 83, 9, var(--weight-tone-opacity, 0.12));
}

.weight-grid label.tone-teal {
  background: rgba(15, 118, 110, var(--weight-tone-opacity, 0.12));
}

.weight-grid input[type="range"] {
  width: 100%;
}

.rule-grid .rule-card:nth-child(1) {
  border-left-color: var(--semantic-teal);
  background: var(--semantic-teal-soft);
}

.rule-grid .rule-card:nth-child(2) {
  border-left-color: var(--semantic-amber);
  background: var(--semantic-amber-soft);
}

.rule-grid .rule-card:nth-child(3) {
  border-left-color: var(--semantic-red);
  background: var(--semantic-red-soft);
}

.watchlist-chip {
  border-color: rgba(107, 114, 128, 0.22);
  background: rgba(107, 114, 128, 0.08);
  color: var(--workspace-ink);
}

.watchlist-chip-remove {
  border-color: rgba(107, 114, 128, 0.22);
  color: var(--workspace-muted);
}

.formula-block {
  background: var(--workspace-surface-soft);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  overflow-x: auto;
  color: var(--workspace-ink);
}

.success-list ul,
.danger-list ul,
.validation-card ul,
.validation-card ol,
.clean-list,
.decision-list,
.signal-brief-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.success-list {
  border-left: 4px solid #5aad6e;
}

.danger-list,
.validation-gap {
  border-left: 4px solid #d4944e;
}

.validation-good {
  border-left: 4px solid #5aad6e;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.context-note {
  font-style: italic;
  padding-left: 0.1rem;
}

.workspace-table tbody tr:hover,
.portfolio-table tbody tr:hover,
.leadlag-table tbody tr:hover {
  background: #f8fafc;
}

@media (max-width: 1180px) {
  .workspace-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .workspace-nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.35rem;
  }

  .brief-metric-grid,
  .evidence-cards,
  .workspace-inline-grid-3,
  .portfolio-summary-grid,
  .portfolio-holding-grid,
  .heatmap-lists,
  .mini-grid.two-col,
  .decision-action-grid,
  .cluster-cards-grid,
  .occupation-map-layout,
  .capture-translation-grid {
    grid-template-columns: 1fr;
  }

  .industry-bar-row {
    grid-template-columns: 1fr;
  }

  .weekly-snapshot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .workspace-brand-preview {
    white-space: normal;
    line-height: 1.2;
  }

  .workspace-nav,
  .workspace-topline,
  .workspace-main,
  .workspace-ticker-strip,
  .workspace-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .workspace-page-title {
    font-size: 1.7rem;
  }

  .workspace-meta {
    width: 100%;
    justify-content: flex-end;
  }

  .waitlist-grid {
    grid-template-columns: 1fr;
  }

  .decision-surface-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .occupation-tile-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .occupation-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio design system refresh: adapted from the Cluefarm editorial system */

body.product-workspace {
  --workspace-bg: #faf8f5;
  --workspace-bg-alt: #f6f1eb;
  --workspace-card: #ffffff;
  --workspace-surface-soft: #f4efe9;
  --workspace-surface-muted: #efe9e2;
  --workspace-ink: #1a2332;
  --workspace-muted: #6b6560;
  --workspace-muted-soft: #8a837c;
  --workspace-border: rgba(212, 207, 200, 0.82);
  --workspace-border-strong: #d4cfc8;
  --workspace-accent: #1a2332;
  --workspace-accent-warm: #c45d3e;
  --workspace-accent-gold: #c45d3e;
  --semantic-red: #9f4330;
  --semantic-red-soft: rgba(196, 93, 62, 0.08);
  --semantic-red-row: rgba(196, 93, 62, 0.05);
  --semantic-amber: #c45d3e;
  --semantic-amber-soft: rgba(196, 93, 62, 0.08);
  --semantic-amber-row: rgba(196, 93, 62, 0.05);
  --semantic-teal: #7a9a8a;
  --semantic-teal-soft: rgba(122, 154, 138, 0.11);
  --semantic-teal-row: rgba(122, 154, 138, 0.07);
  --semantic-navy: #1a2332;
  --semantic-navy-soft: rgba(26, 35, 50, 0.06);
  --semantic-navy-row: rgba(26, 35, 50, 0.035);
  --semantic-gray: #8a837c;
  --semantic-gray-soft: rgba(138, 131, 124, 0.08);
  --semantic-gray-row: rgba(138, 131, 124, 0.05);
  background: linear-gradient(180deg, #faf8f5 0%, #f7f3ee 100%);
  color: var(--workspace-ink);
}

body.product-workspace h1,
body.product-workspace h2,
body.product-workspace h3,
body.product-workspace h4 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.workspace-header {
  background: rgba(250, 248, 245, 0.94);
  border-bottom: 1px solid var(--workspace-border);
  backdrop-filter: blur(10px);
}

.workspace-nav,
.workspace-topline,
.workspace-main,
.workspace-ticker-strip,
.kpi-tape,
.workspace-footer {
  max-width: 1240px;
}

.workspace-nav {
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--workspace-border-strong);
  border-radius: 0;
  background: rgba(250, 248, 245, 0.92);
  box-shadow: 0 10px 28px rgba(26, 35, 50, 0.05);
}

.workspace-brand-mark,
.workspace-avatar {
  background: var(--workspace-accent);
  border-color: rgba(26, 35, 50, 0.08);
}

.workspace-brand-text {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.workspace-brand-preview {
  color: var(--workspace-muted);
  font-size: 0.72rem;
}

.workspace-nav-link {
  font-size: 0.92rem;
  color: var(--workspace-muted);
}

.workspace-nav-link:hover,
.workspace-nav-link.is-active {
  color: var(--workspace-ink);
}

.workspace-nav-link.is-active::after {
  bottom: -0.78rem;
  height: 2px;
  background: var(--workspace-accent-warm);
}

.workspace-topline {
  padding-bottom: 2rem;
}

.workspace-main {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

body.product-workspace .section {
  margin-bottom: 2.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--workspace-border);
}

.workspace-main > .section:first-child {
  border-top: none;
  padding-top: 0;
}

.workspace-page-kicker,
.section-kicker,
.eyebrow,
.signal-brief-kicker,
.evidence-kicker,
.panel-title,
.data-quality-label,
.portfolio-summary-label,
.decision-kicker,
.chart-label {
  color: var(--workspace-accent-warm);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.workspace-page-title {
  max-width: 1020px;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 0.55rem;
}

.weekly-hero-subheader,
.workspace-page-summary,
.section-summary,
.section-sub {
  color: var(--workspace-muted);
}

.weekly-hero-subheader {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.65;
}

body.product-workspace .section-head h2 {
  font-size: 1.65rem;
}

body.product-workspace .card,
body.product-workspace .ticker-panel,
body.product-workspace .chart-card,
body.product-workspace .occupation-map-card,
body.product-workspace .transition-card,
body.product-workspace .decision-brief-card,
body.product-workspace .heatmap-card,
body.product-workspace .signal-brief,
body.product-workspace .hero-panel,
body.product-workspace .snapshot-banner,
body.product-workspace .engine-card,
.weekly-snapshot-item,
.capture-translation-card,
.brief-metric-card,
.portfolio-summary-card,
.mini-card,
.data-quality-item,
.heatmap-list-card,
.rule-card,
.decision-action-block,
.evidence-card,
.validation-card,
.watch-alert,
.collapse-card,
.waitlist-intro-card,
.waitlist-form-card,
.public-info-card {
  border-color: var(--workspace-border-strong);
  border-radius: 0;
  box-shadow: none;
}

.capture-translation-card,
.weekly-snapshot-item,
.decision-action-block,
.evidence-card,
.watch-alert,
.brief-metric-card,
.portfolio-summary-card,
.mini-card,
.data-quality-item,
.rule-card,
.validation-card {
  border-left-width: 3px;
}

.weekly-why-line,
.labor-frame-banner,
.regime-action-callout {
  border-left-width: 3px;
  border-radius: 0;
}

body.product-workspace .pill-button,
body.product-workspace .secondary,
body.product-workspace .ghost,
body.product-workspace .link-button,
.workspace-waitlist-link,
.waitlist-form button {
  border-radius: 0;
  border-color: var(--workspace-border-strong);
  background: #ffffff;
  color: var(--workspace-ink);
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

body.product-workspace .pill-button:hover,
body.product-workspace .secondary:hover,
body.product-workspace .ghost:hover,
body.product-workspace .link-button:hover,
.workspace-waitlist-link:hover,
.waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--workspace-accent);
}

body.product-workspace .pill-button.is-active {
  background: var(--workspace-accent);
  border-color: var(--workspace-accent);
  color: var(--workspace-bg);
}

.waitlist-form input {
  border-color: var(--workspace-border-strong);
  border-radius: 0;
  background: #ffffff;
}

.waitlist-form input:focus {
  border-color: var(--workspace-accent);
  box-shadow: none;
}

.workspace-table th,
.portfolio-table th,
.heatmap-table th,
.transition-table th,
.leadlag-table th {
  color: var(--workspace-muted-soft);
  letter-spacing: 0.14em;
}

.workspace-table td,
.portfolio-table td,
.heatmap-table td,
.transition-table td,
.leadlag-table td {
  line-height: 1.62;
}

.workspace-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--workspace-border);
}

.workspace-footer-links a {
  color: var(--workspace-ink);
}

.workspace-footer-links a:hover {
  color: var(--workspace-accent-warm);
}

.start-here-main {
  gap: 2.25rem;
}

.start-hero-card,
.start-lens-card,
.start-step-card,
.start-route-card,
.start-archetype-card,
.start-next-card {
  min-height: 100%;
}

.start-hero-grid,
.start-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.start-callout {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--workspace-border);
  background: rgba(255, 255, 255, 0.65);
}

.start-bullet-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.start-body-copy,
.start-card-lead,
.start-footnote,
.start-lens-note,
.start-step-card p,
.start-route-card p,
.start-archetype-card p,
.start-next-grid p {
  color: var(--workspace-muted);
}

.start-body-copy,
.start-next-grid p {
  font-size: 1rem;
}

.start-card-lead {
  margin-bottom: 0.6rem;
}

.start-footnote {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.start-lens-grid,
.start-step-grid,
.start-route-grid,
.start-archetype-grid {
  display: grid;
  gap: 1rem;
}

.start-lens-grid,
.start-archetype-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.start-route-grid,
.start-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.start-lens-card,
.start-step-card,
.start-route-card,
.start-archetype-card {
  display: grid;
  gap: 0.7rem;
}

.start-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--workspace-border-strong);
  background: #ffffff;
  color: var(--workspace-ink);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.start-link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--workspace-accent);
}

.start-route-card .start-link-button,
.start-archetype-card .start-link-button {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .start-lens-grid,
  .start-archetype-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .start-hero-grid,
  .start-next-grid,
  .start-lens-grid,
  .start-step-grid,
  .start-route-grid,
  .start-archetype-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .workspace-page-title {
    font-size: 2.4rem;
    line-height: 1.02;
  }
}
