@charset "UTF-8";
body.frame--report__risk_detail, body.frame--meeting__export {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: #0a0b0d;
  color: #e4e4e7;
  padding: 20px;
  line-height: 1.4;
  font-size: 13px;
  /* Risk Header - Compact */
  /* Risk Metadata - Grid Layout */
  /* Long form text sections */
  /* Timeline Table */
  /* Date Column */
  /* Type Column */
  /* Scores Column */
  /* Financial Column */
  /* Details Column */
  /* Responsive */
}
body.frame--report__risk_detail main, body.frame--meeting__export main {
  margin: 0 auto;
  max-width: 260mm;
}
body.frame--report__risk_detail *, body.frame--meeting__export * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body.frame--report__risk_detail .container, body.frame--meeting__export .container {
  max-width: 1400px;
  margin: 0 auto;
}
body.frame--report__risk_detail .header, body.frame--meeting__export .header {
  margin-bottom: 32px;
}
body.frame--report__risk_detail .header h1, body.frame--meeting__export .header h1 {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
body.frame--report__risk_detail .header p, body.frame--meeting__export .header p {
  color: #71717a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
body.frame--report__risk_detail .risk-card, body.frame--meeting__export .risk-card {
  background: #111113;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgb(66, 66, 66);
}
body.frame--report__risk_detail .risk-header, body.frame--meeting__export .risk-header {
  background: #1a1a1d;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.frame--report__risk_detail .risk-title-row, body.frame--meeting__export .risk-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
body.frame--report__risk_detail .risk-title, body.frame--meeting__export .risk-title {
  font-size: 16px;
  font-weight: 600;
  color: #f4f4f5;
  flex: 1;
}
body.frame--report__risk_detail .risk-badges, body.frame--meeting__export .risk-badges {
  display: flex;
  gap: 8px;
}
body.frame--report__risk_detail .badge, body.frame--meeting__export .badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
body.frame--report__risk_detail .risk-id, body.frame--meeting__export .risk-id {
  background: rgba(59, 130, 246, 0.15);
  color: #93bbfc;
}
body.frame--report__risk_detail .slt-badge, body.frame--meeting__export .slt-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}
body.frame--report__risk_detail .risk-meta, body.frame--meeting__export .risk-meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 8px;
}
body.frame--report__risk_detail .fallout-causes, body.frame--meeting__export .fallout-causes {
  margin-top: 0.5em;
  font-size: 12px;
  line-height: 2;
}
body.frame--report__risk_detail .meta-row, body.frame--meeting__export .meta-row {
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}
body.frame--report__risk_detail .meta-label, body.frame--meeting__export .meta-label {
  color: #71717a;
  min-width: 30px;
}
body.frame--report__risk_detail .meta-value, body.frame--meeting__export .meta-value {
  color: #e4e4e7;
  flex: 1;
  line-height: 1.25;
}
body.frame--report__risk_detail .risk-details, body.frame--meeting__export .risk-details {
  margin-top: 1em;
  padding: 16px 20px;
  background: #141416;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
body.frame--report__risk_detail .detail-block, body.frame--meeting__export .detail-block {
  margin-bottom: 16px;
}
body.frame--report__risk_detail .detail-block:last-child, body.frame--meeting__export .detail-block:last-child {
  margin-bottom: 0;
}
body.frame--report__risk_detail .detail-label, body.frame--meeting__export .detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #71717a;
  margin-bottom: 6px;
}
body.frame--report__risk_detail .detail-text, body.frame--meeting__export .detail-text {
  font-size: 12px;
  line-height: 1.6;
  color: #d1d5db;
}
body.frame--report__risk_detail .fallout-list, body.frame--report__risk_detail .causes-list, body.frame--meeting__export .fallout-list, body.frame--meeting__export .causes-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.frame--report__risk_detail .fallout-item, body.frame--meeting__export .fallout-item {
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: monospace;
}
body.frame--report__risk_detail .cause-item, body.frame--meeting__export .cause-item {
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}
body.frame--report__risk_detail .timeline-table, body.frame--meeting__export .timeline-table {
  width: 100%;
  background: #18181b;
}
body.frame--report__risk_detail .timeline-table table, body.frame--meeting__export .timeline-table table {
  width: 100%;
  border-collapse: collapse;
}
body.frame--report__risk_detail .timeline-table th, body.frame--meeting__export .timeline-table th {
  background: #1e1e23;
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #71717a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.frame--report__risk_detail .details-cell, body.frame--meeting__export .details-cell {
  padding-top: 0 !important;
}
body.frame--report__risk_detail .timeline-table td, body.frame--meeting__export .timeline-table td {
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
body.frame--report__risk_detail .timeline-table td.summary-row, body.frame--meeting__export .timeline-table td.summary-row {
  border-bottom: 0;
  padding-bottom: 0;
}
body.frame--report__risk_detail .timeline-table tr:last-child td, body.frame--meeting__export .timeline-table tr:last-child td {
  border-bottom: none;
}
body.frame--report__risk_detail .date-cell, body.frame--meeting__export .date-cell {
  font-weight: 500;
  color: #a1a1aa;
  white-space: nowrap;
  font-size: 12px;
}
body.frame--report__risk_detail .type-badge, body.frame--meeting__export .type-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
body.frame--report__risk_detail .type-eval, body.frame--meeting__export .type-eval {
  background: rgba(59, 130, 246, 0.15);
  color: #93bbfc;
}
body.frame--report__risk_detail .type-improve, body.frame--meeting__export .type-improve {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}
body.frame--report__risk_detail .scores-cell, body.frame--meeting__export .scores-cell {
  display: flex;
  gap: 8px;
  align-items: center;
}
body.frame--report__risk_detail .score-item, body.frame--meeting__export .score-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
body.frame--report__risk_detail .score-circle, body.frame--meeting__export .score-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}
body.frame--report__risk_detail .score-label, body.frame--meeting__export .score-label {
  font-size: 9px;
  color: #71717a;
  text-transform: uppercase;
}
body.frame--report__risk_detail .impact, body.frame--meeting__export .impact {
  background: #374151;
  color: #d1d5db;
}
body.frame--report__risk_detail .likelihood, body.frame--meeting__export .likelihood {
  background: #4b5563;
  color: #e5e7eb;
}
body.frame--report__risk_detail .score-green, body.frame--meeting__export .score-green {
  background: #059669;
  color: white;
}
body.frame--report__risk_detail .score-yellow, body.frame--meeting__export .score-yellow {
  background: #FFD700;
  color: black;
}
body.frame--report__risk_detail .score-orange, body.frame--meeting__export .score-orange {
  background: #f59e0b;
  color: white;
}
body.frame--report__risk_detail .score-red, body.frame--meeting__export .score-red {
  background: #dc2626;
  color: white;
}
body.frame--report__risk_detail .financial-cell, body.frame--meeting__export .financial-cell {
  font-size: 11px;
  line-height: 1.4;
}
body.frame--report__risk_detail .cost-grid, body.frame--meeting__export .cost-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 12px;
}
body.frame--report__risk_detail .cost-label, body.frame--meeting__export .cost-label {
  color: #71717a;
}
body.frame--report__risk_detail .cost-value, body.frame--meeting__export .cost-value {
  color: #e4e4e7;
  text-align: right;
}
body.frame--report__risk_detail .cost-total, body.frame--meeting__export .cost-total {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #3f3f46;
  padding-top: 4px;
  margin-top: 4px;
  font-weight: 600;
}
body.frame--report__risk_detail .details-cell, body.frame--meeting__export .details-cell {
  font-size: 12px;
  line-height: 1.5;
  color: #d1d5db;
}
body.frame--report__risk_detail .strategy-label, body.frame--meeting__export .strategy-label {
  font-weight: 600;
  color: #a1a1aa;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
body.frame--report__risk_detail .status-badge, body.frame--meeting__export .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
body.frame--report__risk_detail .status-badge.completed, body.frame--meeting__export .status-badge.completed {
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
}
body.frame--report__risk_detail .status-badge.in-progress, body.frame--meeting__export .status-badge.in-progress {
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
}
body.frame--report__risk_detail .empty-value, body.frame--meeting__export .empty-value {
  color: #52525b;
  font-style: italic;
}
@media (max-width: 1024px) {
  body.frame--report__risk_detail .timeline-table, body.frame--meeting__export .timeline-table {
    overflow-x: auto;
  }
  body.frame--report__risk_detail .timeline-table table, body.frame--meeting__export .timeline-table table {
    min-width: 800px;
  }
}

@media print {
  body {
    background: white !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #BS_main {
    padding: 20mm 12mm;
    box-sizing: border-box;
    background: white !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  body.frame--report__risk_detail, body.frame--meeting__export {
    background: white !important;
    color: #18181b !important;
    /* Badges - keep colored but optimized for white background */
    /* Meta information */
    /* Risk details section */
    /* Fallout and cause items */
    /* Timeline table */
    /* Type badges */
    /* Score circles - keep colored but with borders for clarity */
    /* Financial and details */
    /* Status badges */
    /* Remove any box shadows and unnecessary borders */
    /* Ensure good page breaks */
  }
  body.frame--report__risk_detail .header h1, body.frame--meeting__export .header h1 {
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  body.frame--report__risk_detail .header p, body.frame--meeting__export .header p {
    color: #6b7280 !important;
  }
  body.frame--report__risk_detail .risk-card, body.frame--meeting__export .risk-card {
    background: white !important;
    border: 1.5px solid #e5e7eb !important;
    box-shadow: none !important;
    break-inside: avoid-page;
    page-break-inside: avoid;
  }
  body.frame--report__risk_detail .risk-header, body.frame--meeting__export .risk-header {
    background: white !important;
    border-bottom: 1px solid #e5e7eb !important;
  }
  body.frame--report__risk_detail .risk-title, body.frame--meeting__export .risk-title {
    color: #111827 !important;
  }
  body.frame--report__risk_detail .risk-id, body.frame--meeting__export .risk-id {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #2563eb !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
  }
  body.frame--report__risk_detail .slt-badge, body.frame--meeting__export .slt-badge {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
  }
  body.frame--report__risk_detail .meta-label, body.frame--meeting__export .meta-label {
    color: #6b7280 !important;
    font-weight: 600;
  }
  body.frame--report__risk_detail .meta-value, body.frame--meeting__export .meta-value {
    color: #111827 !important;
  }
  body.frame--report__risk_detail .risk-details, body.frame--meeting__export .risk-details {
    background: #f9fafb !important;
    border-top: 1px solid #e5e7eb !important;
    margin-top: 1em;
  }
  body.frame--report__risk_detail .detail-label, body.frame--meeting__export .detail-label {
    color: #4b5563 !important;
  }
  body.frame--report__risk_detail .detail-text, body.frame--meeting__export .detail-text {
    color: #111827 !important;
  }
  body.frame--report__risk_detail .fallout-item, body.frame--meeting__export .fallout-item {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #059669 !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
  }
  body.frame--report__risk_detail .cause-item, body.frame--meeting__export .cause-item {
    background: rgba(251, 191, 36, 0.08) !important;
    color: #d97706 !important;
    border: 1px solid rgba(251, 191, 36, 0.2) !important;
  }
  body.frame--report__risk_detail .timeline-table, body.frame--meeting__export .timeline-table {
    background: white !important;
  }
  body.frame--report__risk_detail .timeline-table th, body.frame--meeting__export .timeline-table th {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    border-bottom: 2px solid #e5e7eb !important;
    font-weight: 700;
  }
  body.frame--report__risk_detail .timeline-table td, body.frame--meeting__export .timeline-table td {
    border-bottom: 1px solid #e5e7eb !important;
    color: #374151 !important;
  }
  body.frame--report__risk_detail .date-cell, body.frame--meeting__export .date-cell {
    color: #374151 !important;
    font-weight: 600;
  }
  body.frame--report__risk_detail .type-eval, body.frame--meeting__export .type-eval {
    background: rgba(59, 130, 246, 0.08) !important;
    color: #2563eb !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
  }
  body.frame--report__risk_detail .type-improve, body.frame--meeting__export .type-improve {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #059669 !important;
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
  }
  body.frame--report__risk_detail .impact, body.frame--meeting__export .impact {
    background: white !important;
    color: #374151 !important;
    border: 2px solid #6b7280 !important;
  }
  body.frame--report__risk_detail .likelihood, body.frame--meeting__export .likelihood {
    background: white !important;
    color: #374151 !important;
    border: 2px solid #9ca3af !important;
  }
  body.frame--report__risk_detail .score-green, body.frame--meeting__export .score-green {
    background: #10b981 !important;
    color: white !important;
    border: 1px solid #059669 !important;
  }
  body.frame--report__risk_detail .score-yellow, body.frame--meeting__export .score-yellow {
    background: #fbbf24 !important;
    color: #92400e !important;
    border: 1px solid #f59e0b !important;
  }
  body.frame--report__risk_detail .score-orange, body.frame--meeting__export .score-orange {
    background: #fb923c !important;
    color: white !important;
    border: 1px solid #f97316 !important;
  }
  body.frame--report__risk_detail .score-red, body.frame--meeting__export .score-red {
    background: #ef4444 !important;
    color: white !important;
    border: 1px solid #dc2626 !important;
  }
  body.frame--report__risk_detail .score-label, body.frame--meeting__export .score-label {
    color: #6b7280 !important;
  }
  body.frame--report__risk_detail .cost-label, body.frame--report__risk_detail .strategy-label, body.frame--meeting__export .cost-label, body.frame--meeting__export .strategy-label {
    color: #4b5563 !important;
    font-weight: 600;
  }
  body.frame--report__risk_detail .cost-value, body.frame--report__risk_detail .financial-cell, body.frame--meeting__export .cost-value, body.frame--meeting__export .financial-cell {
    color: #111827 !important;
  }
  body.frame--report__risk_detail .details-cell, body.frame--meeting__export .details-cell {
    color: #374151 !important;
  }
  body.frame--report__risk_detail .status-badge.completed, body.frame--meeting__export .status-badge.completed {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #059669 !important;
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
  }
  body.frame--report__risk_detail .status-badge.completed svg, body.frame--meeting__export .status-badge.completed svg {
    color: #059669 !important;
  }
  body.frame--report__risk_detail .status-badge.in-progress, body.frame--meeting__export .status-badge.in-progress {
    background: rgba(251, 191, 36, 0.08) !important;
    color: #d97706 !important;
    border: 1px solid rgba(251, 191, 36, 0.15) !important;
  }
  body.frame--report__risk_detail .empty-value, body.frame--meeting__export .empty-value {
    color: #9ca3af !important;
  }
  body.frame--report__risk_detail *, body.frame--meeting__export * {
    box-shadow: none !important;
  }
  body.frame--report__risk_detail .risk-card, body.frame--meeting__export .risk-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  body.frame--report__risk_detail .timeline-table, body.frame--meeting__export .timeline-table {
    break-inside: avoid;
  }
  body.frame--report__risk_detail h2, body.frame--meeting__export h2 {
    break-after: avoid;
    page-break-after: avoid;
  }
}
/* Screen “box” */
.title-surface {
  margin: 16px auto;
  padding: 20px;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(96, 165, 250, 0.08), transparent), radial-gradient(1000px 500px at 90% 100%, rgba(192, 132, 252, 0.08), transparent), #0b0d11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) inset, 0 8px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.6em !important;
}

/* Sizing knobs */
:root {
  --title-scale: 1.40;
  --title-max-width: 760px;
  --title-logo: calc(180px * var(--title-scale));
  --title-main: calc(34px * var(--title-scale));
  --title-sub: calc(12px * var(--title-scale));
  --title-meta: calc(13px * var(--title-scale));
  --title-gap: calc(22px * var(--title-scale));
}

/* Center the whole cover vertically & horizontally */
.title-page {
  min-height: calc(100vh - 40px); /* 2 * .title-surface padding */
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-page__inner { /* <-- match your HTML class */
  width: min(100%, var(--title-max-width));
  text-align: center;
}

/* Logo */
.title-logo {
  width: var(--title-logo);
  height: auto;
  display: block;
  margin: 0 auto var(--title-gap) !important;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

/* Typography */
.title-main {
  font-size: var(--title-main);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: calc(6px * var(--title-scale));
}

.title-sub {
  color: #a3a3ad;
  font-size: var(--title-sub);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--title-gap);
}

.title-meta {
  padding-top: 5em !important;
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: calc(6px * var(--title-scale)) calc(16px * var(--title-scale));
  font-size: var(--title-meta);
  color: #e4e4e7;
  text-align: left;
}

.title-meta span {
  color: #9ca3af;
}

/* Print: clean white page, force page break after the cover */
@media print {
  .title-surface {
    background: white !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
  }
  .title-page {
    min-height: 80vh; /* let it size naturally on paper */
    page-break-after: always; /* cover is its own page */
    background: white !important;
  }
  .title-sub {
    color: #6b7280 !important;
  }
  .title-meta {
    color: #111827 !important;
  }
  .title-meta span {
    color: #6b7280 !important;
  }
}

