/* Print-to-PDF Full-Page Executive Opportunity Sheets (Loaded via media="print") */
@page {
  size: letter;
  margin: 0;
}

body {
  margin: 0;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 10pt;
  line-height: 1.5;
}

.topbar,
.main-shell,
.modal-backdrop,
.mobile-drawer,
.mobile-drawer-backdrop,
.console-drawer,
.toast-stack {
  display: none !important;
}

.print-brief {
  --pb-accent: #0b6e4f;
  --pb-accent-tint: #f2fbf7;
  display: block !important;
}

.print-brief[data-brand-accent="#1E3A8A"] { --pb-accent: #1e3a8a; --pb-accent-tint: #eff6ff; }
.print-brief[data-brand-accent="#0F766E"] { --pb-accent: #0f766e; --pb-accent-tint: #f0fdfa; }
.print-brief[data-brand-accent="#7C2D12"] { --pb-accent: #7c2d12; --pb-accent-tint: #fff7ed; }
.print-brief[data-brand-accent="#1D4ED8"] { --pb-accent: #1d4ed8; --pb-accent-tint: #eff6ff; }
.print-brief[data-brand-accent="#4338CA"] { --pb-accent: #4338ca; --pb-accent-tint: #eef2ff; }
.print-brief[data-brand-accent="#991B1B"] { --pb-accent: #991b1b; --pb-accent-tint: #fef2f2; }
.print-brief[data-brand-accent="#1F2937"] { --pb-accent: #1f2937; --pb-accent-tint: #f8fafc; }

/* One Dedicated Full PDF Page Per Bid */
.pb-sheet {
  padding: 0.6in 0.65in;
  background: #ffffff;
  break-after: page;
  page-break-after: always;
}

.pb-sheet:last-child {
  break-after: auto;
  page-break-after: auto;
}

.pb-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12pt;
  padding-bottom: 10pt;
  margin-bottom: 14pt;
  border-bottom: 2px solid var(--pb-accent);
}

.pb-brand-logo {
  max-height: 30pt;
  max-width: 165pt;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.pb-kicker {
  font-family: var(--mono);
  font-size: 8.5pt;
  font-weight: 700;
  color: var(--pb-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pb-sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12pt;
  margin-bottom: 12pt;
  padding-top: 8pt;
  border-top: 3px solid var(--pb-accent);
}

.pb-brand-bar + .pb-sheet-top {
  border-top: none;
  padding-top: 0;
}

.pb-sheet-kicker {
  font-family: var(--mono);
  font-size: 7.5pt;
  font-weight: 700;
  color: var(--pb-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4pt;
}

.pb-sheet-title {
  margin: 0;
  font-size: 14pt;
  line-height: 1.25;
  color: #0b1220;
}

.pb-sheet-agency {
  margin: 4pt 0 0;
  font-size: 9pt;
  color: #475569;
}

.pb-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8pt 12pt;
  flex-shrink: 0;
}

.pb-badge-row .status-item {
  font-size: 8pt;
}

.pb-badge-row .inline-status-ico {
  width: 11pt;
  height: 11pt;
}

.pb-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  padding: 9pt 0;
  margin-bottom: 14pt;
}

.pb-stat-col {
  padding: 0 10pt;
  border-right: 1px solid #e2e8f0;
}

.pb-stat-col:first-child {
  padding-left: 0;
}

.pb-stat-col:last-child {
  border-right: none;
  padding-right: 0;
}

.pb-stat-label {
  display: block;
  font-size: 7pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.pb-stat-val {
  font-family: var(--mono);
  font-size: 8.6pt;
  font-weight: 700;
  color: #0f172a;
}

.pb-body-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 18pt;
  align-items: start;
}

.pb-sec-label {
  font-family: var(--mono);
  font-size: 7.2pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 5pt;
}

.pb-summary {
  margin: 0 0 12pt;
  font-size: 9.2pt;
  color: #1e293b;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pb-cite-box {
  background: var(--pb-accent-tint);
  border-left: 3px solid var(--pb-accent);
  padding: 7pt 10pt;
  margin-bottom: 8pt;
  break-inside: avoid;
}

.pb-cite-head {
  font-family: var(--mono);
  font-size: 7.2pt;
  font-weight: 700;
  color: var(--pb-accent);
  margin-bottom: 2pt;
}

.pb-cite-text {
  margin: 0;
  font-size: 8.4pt;
  color: #0f172a;
}

.pb-signals-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 10pt 12pt;
  break-inside: avoid;
}

.pb-signals-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5pt;
  font-size: 8.4pt;
  color: #1e293b;
}

.pb-card-url {
  font-family: var(--mono);
  font-size: 7.6pt;
  color: var(--pb-accent);
  word-break: break-all;
  margin-top: 5pt;
}

.pb-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16pt;
  padding-top: 8pt;
  border-top: 1px solid #cbd5e1;
  font-family: var(--mono);
  font-size: 7.6pt;
  color: #64748b;
}

/* ---------- Phase 25B: Page 2 Deterministic Opportunity Analysis Print Layout ---------- */
.pb-analysis-section {
  margin-bottom: 13pt;
  break-inside: avoid;
}

.pb-matrix-table {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
}

.pb-matrix-row {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 2fr;
  gap: 6pt 10pt;
  align-items: center;
  padding: 5.5pt 8pt;
  border-bottom: 1px solid #e2e8f0;
  font-size: 7.9pt;
}

.pb-matrix-row:nth-child(even) {
  background: #f8fafc;
}

.pb-matrix-row:last-child {
  border-bottom: none;
}

.pb-matrix-factor {
  font-weight: 700;
  color: #0f172a;
}

.pb-matrix-status .status-item {
  font-size: 7.6pt;
}

.pb-matrix-status .inline-status-ico {
  width: 10pt;
  height: 10pt;
}

.pb-matrix-note {
  color: #334155;
  line-height: 1.35;
}

.pb-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8pt;
}

.pb-timeline-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 2.5px solid var(--pb-accent);
  border-radius: 4px;
  padding: 7pt 8pt;
  break-inside: avoid;
}

.pb-timeline-date {
  display: block;
  font-family: var(--mono);
  font-size: 7pt;
  font-weight: 700;
  color: var(--pb-accent);
  margin-bottom: 2pt;
}

.pb-timeline-phase {
  display: block;
  font-size: 7.8pt;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 3pt;
}

.pb-timeline-detail {
  margin: 0;
  font-size: 7.2pt;
  color: #475569;
  line-height: 1.35;
}

.pb-analysis-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14pt;
  align-items: start;
  break-inside: avoid;
}

.pb-strategy-box {
  display: flex;
  flex-direction: column;
  gap: 7pt;
}

.pb-strategy-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6pt;
}

.pb-strategy-metric {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 6pt 8pt;
}

.pb-strategy-list {
  margin: 0;
  padding-left: 14pt;
  display: flex;
  flex-direction: column;
  gap: 4pt;
  font-size: 8.1pt;
  color: #1e293b;
  line-height: 1.42;
}

.pb-checklist-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--pb-accent);
  border-radius: 0 4px 4px 0;
  padding: 9pt 10pt;
}

.pb-checklist-portal {
  font-family: var(--mono);
  font-size: 7.4pt;
  font-weight: 700;
  color: var(--pb-accent);
  margin-bottom: 6pt;
}

.pb-check-list {
  display: flex;
  flex-direction: column;
  gap: 5pt;
}

.pb-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6pt;
  padding-bottom: 5pt;
  border-bottom: 1px solid #e2e8f0;
  font-size: 7.6pt;
}

.pb-check-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pb-check-key {
  color: #334155;
  line-height: 1.3;
}

.pb-check-row .status-item {
  font-size: 7.2pt;
}

.pb-check-row .inline-status-ico {
  width: 9.5pt;
  height: 9.5pt;
}

/* ---------- Phase 29C: 3-Page Print-to-PDF Win Assessment & Buyer Intelligence ---------- */
.pb-win-hero,
.pb-fit-bar,
.pb-why-item,
.pb-score-tile,
.pb-buyer-kpi,
.pb-bottom-line-card {
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.pb-win-hero {
  display: flex;
  flex-direction: column;
  gap: 6pt;
  padding: 9pt 11pt;
  margin-bottom: 10pt;
  border-radius: 4px;
  background: var(--pb-accent-tint);
  border: 1px solid #cbd5e1;
  border-left: 3.5px solid var(--pb-accent);
  break-inside: avoid;
}

.pb-win-hero.is-moderate { border-left-color: #c26d18; background: #fff7ed; }
.pb-win-hero.is-blocker { border-left-color: #b91c1c; background: #fef2f2; }

.pb-win-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8pt;
}

.pb-win-pct {
  font-family: var(--mono);
  font-size: 13pt;
  font-weight: 800;
  color: var(--pb-accent);
}

.pb-win-pct.is-moderate { color: #b45309; }
.pb-win-pct.is-blocker { color: #b91c1c; }

.pb-fit-bar {
  width: 100%;
  height: 7pt;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  background: #e2e8f0;
}

.pb-fit-bar::-webkit-progress-bar { background: #e2e8f0; border-radius: 999px; }
.pb-fit-bar.is-strong::-webkit-progress-value { background: #0b6e4f; border-radius: 999px; }
.pb-fit-bar.is-moderate::-webkit-progress-value { background: #c26d18; border-radius: 999px; }
.pb-fit-bar.is-blocker::-webkit-progress-value { background: #b91c1c; border-radius: 999px; }

.pb-why-list {
  display: flex;
  flex-direction: column;
  gap: 4pt;
}

.pb-why-item {
  padding: 4.5pt 8pt;
  border-radius: 3px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 7.9pt;
}

.pb-why-item.is-good { background: var(--pb-accent-tint); border-color: #c5e6d9; }
.pb-why-item.is-warn { background: #fff7ed; border-color: #fed7aa; }
.pb-why-item.is-danger { background: #fef2f2; border-color: #fecaca; }

.pb-scorecard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6pt;
  margin-bottom: 10pt;
  break-inside: avoid;
}

.pb-score-tile {
  padding: 6pt 8pt;
  border-radius: 3px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 2px solid #94a3b8;
}

.pb-score-tile.is-good { border-top-color: #0b6e4f; }
.pb-score-tile.is-warn { border-top-color: #c26d18; }
.pb-score-tile.is-danger { border-top-color: #b91c1c; }

.pb-profile-row {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1fr 0.85fr;
  gap: 6pt 8pt;
  align-items: center;
  padding: 5pt 8pt;
  border-bottom: 1px solid #e2e8f0;
  font-size: 7.7pt;
}

.pb-profile-row:nth-child(even) { background: #f8fafc; }
.pb-profile-row:last-child { border-bottom: none; }

.pb-timeline-compact .pb-timeline-card {
  padding: 5.5pt 7pt;
}

.pb-buyer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7pt;
}

.pb-buyer-kpi {
  padding: 7pt 8pt;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 2.5px solid #94a3b8;
}

.pb-buyer-kpi.is-accent {
  background: var(--pb-accent-tint);
  border-top-color: var(--pb-accent);
}

.pb-vendor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8pt;
  padding: 5.5pt 8pt;
  border-bottom: 1px solid #e2e8f0;
  font-size: 7.8pt;
}

.pb-vendor-row:nth-child(even) { background: #f8fafc; }
.pb-vendor-row:last-child { border-bottom: none; }

.pb-bottom-line-card {
  margin-top: 12pt;
  padding: 11pt 13pt;
  border-radius: 4px;
  background: var(--pb-accent-tint);
  border: 1px solid #cbd5e1;
  border-left: 3.5px solid var(--pb-accent);
  break-inside: avoid;
}

.pb-bottom-line-card.is-blocker {
  background: #fef2f2;
  border-left-color: #b91c1c;
}

.pb-bottom-line-head {
  display: block;
  font-size: 10.5pt;
  line-height: 1.3;
  color: #0b1220;
  margin-bottom: 4pt;
}

.pb-bottom-line-body {
  margin: 0 0 8pt;
  font-size: 8.6pt;
  line-height: 1.48;
  color: #1e293b;
}

.pb-bl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8pt;
  margin-bottom: 3pt;
}

.pb-verdict-tag {
  font-family: var(--mono);
  font-size: 6.8pt;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2pt 6pt;
  border-radius: 3px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0b6e4f;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.pb-verdict-tag.is-warn { color: #b45309; background: #fff7ed; border-color: #fed7aa; }
.pb-verdict-tag.is-danger { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }

.pb-buyer-insight {
  padding: 5pt 8pt;
  margin-bottom: 5pt;
  border-radius: 3px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 2.5px solid var(--pb-accent);
  font-size: 8pt;
  line-height: 1.38;
  color: #0f172a;
}

.pb-buyer-insight.is-warn {
  background: #fff7ed;
  border-color: #fed7aa;
  border-left-color: #c26d18;
}

.pb-watchout-box {
  padding: 5pt 8pt;
  margin-bottom: 5pt;
  border-radius: 3px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 2.5px solid #c26d18;
  font-size: 8pt;
  line-height: 1.38;
  color: #0f172a;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.pb-bottom-line-action {
  padding: 6pt 9pt;
  border-radius: 3px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 2.5px solid var(--pb-accent);
  font-size: 8.2pt;
  line-height: 1.4;
  color: #0f172a;
}