/* Warm-Paper Browser Sample Window & Full-Page Executive PDF Mockup (#sample-data) */

.browser-shell {
  background: #e7e4dc;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(18, 20, 23, 0.09);
}

.browser-tabbar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 10px 14px 0;
  background: #e7e4dc;
  border-bottom: 1px solid var(--border-strong);
}

.browser-tabbar .terminal-dots {
  padding-bottom: 11px;
}

.browser-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}

.browser-tab {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  bottom: -1px;
  transition: background 0.14s ease, color 0.14s ease;
}

.browser-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.browser-tab.is-active {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--text);
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.browser-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #8c877c;
  user-select: none;
  flex-shrink: 0;
}

.browser-url-bar {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.url-lock-icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

.browser-url-text {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.view-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.view-mode-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}

.view-mode-btn:hover {
  color: var(--text);
}

.view-mode-btn.is-active {
  background: var(--accent);
  color: #ffffff;
}

/* PDF Viewer Desk & Code Stages */
.browser-pdf-desk {
  padding: 28px 32px;
  background: #e9e6de;
}

.sample-code-stage {
  padding: 20px 24px;
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sample-pane-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.sample-json-scroll {
  flex: 1;
  max-height: 410px;
  overflow: auto;
}

/* Full-Page Executive PDF Document Sheet */
.pdf-sheet-preview {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d7d2c8;
  border-top: 5px solid var(--accent);
  border-radius: 3px;
  padding: 36px 42px 26px;
  box-shadow: 0 12px 32px rgba(18, 20, 23, 0.1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pdf-sheet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.pdf-sheet-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.pdf-sheet-title {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #0b1220;
}

.pdf-sheet-agency {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: #475569;
}

.pdf-id-meta {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #64748b;
}

.pdf-status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-top: 2px;
}

/* Hairline 4-Column Executive Stat Strip */
.pdf-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  padding: 13px 0;
}

.pdf-stat-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 16px;
  border-right: 1px solid #e2e8f0;
}

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

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

.pdf-stat-label {
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.pdf-stat-val {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

/* 2-Column Editorial Body (62% Scope / 38% Screening & Archetype Log) */
.pdf-editorial-body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

.pdf-scope-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdf-section-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.pdf-summary-text {
  margin: -6px 0 0;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.6;
}

.pdf-deliverables {
  margin: -6px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.89rem;
  color: #1e293b;
  line-height: 1.5;
}

.pdf-citation-box {
  background: #f2fbf7;
  border-left: 3px solid var(--accent);
  padding: 11px 14px;
  border-radius: 0 6px 6px 0;
}

.pdf-citation-head {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.pdf-citation-body {
  margin: 0;
  font-size: 0.88rem;
  color: #0f172a;
}

.pdf-side-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdf-signals-col {
  background: #f9f8f5;
  border: 1px solid #e4e1da;
  border-radius: 4px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdf-screen-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdf-screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #ece9e2;
  font-size: 0.82rem;
}

.pdf-screen-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pdf-screen-key {
  color: #5c6470;
  font-weight: 500;
}

.pdf-screen-val {
  font-size: 0.78rem;
}

.pdf-arch-box {
  background: #ffffff;
  border: 1px solid #e4e1da;
  border-left: 3px solid var(--amber);
  border-radius: 0 4px 4px 0;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdf-arch-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdf-arch-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pdf-arch-key {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.pdf-arch-val {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #121417;
}

/* Section II: Attachments & Page Footer */
.pdf-att-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdf-att-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e1da;
  border-radius: 4px;
  overflow: hidden;
}

.pdf-att-row {
  display: grid;
  grid-template-columns: 1.6fr 0.65fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  font-size: 0.82rem;
  border-bottom: 1px solid #ece9e2;
  background: #ffffff;
}

.pdf-att-row:nth-child(even) {
  background: #faf9f6;
}

.pdf-att-row:last-child {
  border-bottom: none;
}

.pdf-att-name {
  font-family: var(--mono);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--accent);
  word-break: break-word;
}

.pdf-att-fmt {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: #475569;
}

.pdf-att-note {
  color: #5c6470;
  font-size: 0.8rem;
}

.pdf-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #64748b;
}

.pdf-footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdf-page-jump-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}

.pdf-page-jump-btn:hover {
  text-decoration: underline;
}

/* ---------- Phase 25A: Multi-Page PDF Pager & Page 2 Opportunity Analysis ---------- */
.pdf-pager-bar {
  max-width: 920px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d7d2c8;
  border-radius: 6px;
}

.pdf-pager-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.pdf-pager-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 5px 11px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.pdf-pager-tab:hover {
  color: var(--text);
  background: var(--surface-alt);
}

.pdf-pager-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.pdf-pager-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pdf-pager-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.pdf-pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease;
}

.pdf-pager-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.pdf-pager-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pdf-pages-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pdf-analysis-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 6-Factor Compliance Matrix */
.pdf-matrix-table {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e1da;
  border-radius: 4px;
  overflow: hidden;
}

.pdf-matrix-row {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 2fr;
  gap: 10px 14px;
  align-items: center;
  padding: 9px 13px;
  border-bottom: 1px solid #ece9e2;
  background: #ffffff;
  font-size: 0.82rem;
}

.pdf-matrix-row:nth-child(even) {
  background: #faf9f6;
}

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

.pdf-matrix-factor {
  font-weight: 600;
  color: #121417;
}

.pdf-matrix-status {
  display: flex;
  align-items: center;
}

.pdf-matrix-note {
  color: #475569;
  font-size: 0.79rem;
  line-height: 1.4;
}

/* 4-Step Capture Backward-Schedule */
.pdf-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pdf-timeline-card {
  background: #f9f8f5;
  border: 1px solid #e4e1da;
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdf-timeline-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.pdf-timeline-phase {
  font-size: 0.81rem;
  line-height: 1.3;
  color: #0f172a;
}

.pdf-timeline-detail {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #475569;
}

/* Strategy Brief + Submission Readiness Split */
.pdf-analysis-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;
}

.pdf-strategy-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-strategy-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pdf-strategy-metric {
  background: #f9f8f5;
  border: 1px solid #e4e1da;
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdf-checklist-box {
  background: #f9f8f5;
  border: 1px solid #e4e1da;
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdf-checklist-portal {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Phase 29C: 3-Page Storefront Sample Browser (Win Assessment + Buyer Wallet) ---------- */
.pdf-win-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 5px;
  background: #f2fbf7;
  border: 1px solid #b5dfd0;
  border-left: 4px solid var(--accent);
}

.pdf-win-hero.is-moderate {
  background: #fef7ec;
  border-color: #ebd0a7;
  border-left-color: #c26d18;
}

.pdf-win-hero.is-blocker {
  background: #fef2f2;
  border-color: #f3c1c1;
  border-left-color: #b91c1c;
}

.pdf-win-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.pdf-win-pct {
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

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

.pdf-fit-bar {
  width: 100%;
  height: 9px;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  background: #e2dfd7;
}

.pdf-fit-bar::-webkit-progress-bar { background: #e2dfd7; border-radius: 999px; }
.pdf-fit-bar.is-strong::-webkit-progress-value { background: linear-gradient(90deg, #0b6e4f, #10b981); border-radius: 999px; }
.pdf-fit-bar.is-strong::-moz-progress-bar { background: linear-gradient(90deg, #0b6e4f, #10b981); border-radius: 999px; }
.pdf-fit-bar.is-moderate::-webkit-progress-value { background: #c26d18; border-radius: 999px; }
.pdf-fit-bar.is-moderate::-moz-progress-bar { background: #c26d18; border-radius: 999px; }
.pdf-fit-bar.is-blocker::-webkit-progress-value { background: #b91c1c; border-radius: 999px; }
.pdf-fit-bar.is-blocker::-moz-progress-bar { background: #b91c1c; border-radius: 999px; }

.pdf-why-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdf-why-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdf-why-item {
  padding: 7px 11px;
  border-radius: 4px;
  background: #f9f8f5;
  border: 1px solid #e4e1da;
  font-size: 0.83rem;
}

.pdf-why-item.is-good {
  background: #f2fbf7;
  border-color: #c5e6d9;
}

.pdf-why-item.is-warn {
  background: #fef7ec;
  border-color: #ebd0a7;
}

.pdf-scorecard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pdf-score-tile {
  padding: 9px 11px;
  border-radius: 4px;
  background: #f9f8f5;
  border: 1px solid #e4e1da;
  border-top: 2.5px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.pdf-profile-matrix-row {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1fr 0.85fr;
  gap: 8px 12px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #ece9e2;
  font-size: 0.8rem;
}

.pdf-profile-matrix-row:nth-child(even) { background: #faf9f6; }
.pdf-profile-matrix-row:last-child { border-bottom: none; }

.pdf-timeline-compact .pdf-timeline-card {
  padding: 8px 10px;
}

.pdf-buyer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pdf-buyer-kpi {
  padding: 11px 12px;
  border-radius: 4px;
  background: #f9f8f5;
  border: 1px solid #e4e1da;
  border-top: 3px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pdf-buyer-kpi.is-accent {
  background: #f2fbf7;
  border-color: #b5dfd0;
  border-top-color: var(--accent);
}

.pdf-buyer-kpi.is-accent .pdf-stat-val {
  color: var(--accent);
}

.pdf-vendor-row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid #ece9e2;
  font-size: 0.81rem;
}

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

.pdf-bottom-line-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 18px;
  border-radius: 5px;
  background: #f2fbf7;
  border: 1px solid #b5dfd0;
  border-left: 4px solid var(--accent);
}

.pdf-bottom-line-head {
  font-size: 1.04rem;
  line-height: 1.3;
  color: #0b1220;
}

.pdf-bottom-line-body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.56;
  color: #1e293b;
}

.pdf-bl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.pdf-verdict-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #b5dfd0;
  background: #ffffff;
  color: #0b6e4f;
}

.pdf-verdict-tag.is-warn { border-color: #ebd0a7; color: #b45309; background: #fef7ec; }
.pdf-verdict-tag.is-danger { border-color: #f3c1c1; color: #b91c1c; background: #fef2f2; }

.pdf-buyer-insight {
  padding: 8px 11px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #c5e6d9;
  border-left: 3px solid var(--accent);
  font-size: 0.83rem;
  line-height: 1.45;
  color: #0f172a;
}

.pdf-buyer-insight.is-warn {
  background: #fef7ec;
  border-color: #ebd0a7;
  border-left-color: #c26d18;
}

.pdf-watchout-box {
  padding: 8px 11px;
  border-radius: 4px;
  background: #fef7ec;
  border: 1px solid #ebd0a7;
  border-left: 3px solid #c26d18;
  font-size: 0.83rem;
  line-height: 1.45;
  color: #0f172a;
}

.pdf-bottom-line-action {
  margin-top: 2px;
  padding: 9px 12px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #d7d2c8;
  border-left: 3px solid var(--accent);
  font-size: 0.84rem;
  line-height: 1.45;
  color: #0f172a;
}

@media (max-width: 760px) {
  .pdf-scorecard-grid,
  .pdf-buyer-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdf-profile-matrix-row,
  .pdf-vendor-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}