/* ═══════════════════════ REPORT WRAPPER STYLES ═══════════════════════ */

/* Breadcrumb */
.breadcrumb { padding: 0.75rem 0; font-size: 0.8rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumb a { color: #2B6CB0; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #94a3b8; }
.breadcrumb .current { color: #1A365D; font-weight: 500; }

/* Context Bar */
.context-bar { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding: 1rem 1.5rem; background: #1A365D; color: white; border-radius: 10px; margin-bottom: 0; }
.context-item { display: flex; flex-direction: column; gap: 0.15rem; }
.context-item .ctx-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; font-family: 'JetBrains Mono', monospace; }
.context-item .ctx-value { font-weight: 500; font-size: 0.9rem; }
.context-item .ctx-value a { color: white; text-decoration: none; }
.context-item .ctx-value a:hover { text-decoration: underline; }
.context-item .ctx-value.highlight { color: #68D391; font-weight: 700; font-family: 'JetBrains Mono', monospace; }

/* Report Tabs */
.report-tabs { display: flex; gap: 0; border-bottom: 2px solid #e2e8f0; overflow-x: auto; background: white; scrollbar-width: none; }
.report-tabs::-webkit-scrollbar { display: none; }
.report-tabs .tab { padding: 0.75rem 1.25rem; text-decoration: none; color: #64748b; font-size: 0.85rem; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all 0.15s; }
.report-tabs .tab:hover { color: #2B6CB0; background: #f8fafc; }
.report-tabs .tab.active { color: #1A365D; border-bottom-color: #2B6CB0; font-weight: 600; }

/* Report iframe */
.report-frame { width: 100%; min-height: 80vh; border: none; border-radius: 0 0 10px 10px; background: white; }

/* Action Bar */
.action-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1rem 1.5rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; margin-top: 1rem; }
.action-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.action-label { font-size: 0.8rem; color: #64748b; font-weight: 500; }
.action-btn { padding: 0.4rem 0.85rem; border-radius: 6px; text-decoration: none; font-size: 0.8rem; font-weight: 500; background: white; color: #1A365D; border: 1px solid #e2e8f0; transition: all 0.15s; }
.action-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }
.action-btn.primary { background: #2B6CB0; color: white; border-color: #2B6CB0; }
.action-btn.primary:hover { background: #1A365D; }

/* Report cards grid */
.report-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.report-card { display: flex; flex-direction: column; background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.25rem; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.report-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.report-card .rc-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.report-card h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1rem; color: #1A365D; margin-bottom: 0.35rem; }
.report-card p { font-size: 0.8rem; color: #64748b; line-height: 1.5; flex: 1; }
.report-card .view-link { font-size: 0.8rem; font-weight: 600; color: #2B6CB0; margin-top: 0.75rem; }

/* Metrics grid */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; }
.metric-box { text-align: center; background: white; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem; }
.metric-box .mv { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.75rem; color: #1A365D; }
.metric-box .ml { font-size: 0.7rem; color: #64748b; margin-top: 0.15rem; }

/* Sample gallery cards */
.sample-gallery-card { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.75rem; transition: transform 0.2s, box-shadow 0.2s; }
.sample-gallery-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

@media (max-width: 768px) {
  .context-bar { gap: 1rem; }
  .action-bar { flex-direction: column; align-items: flex-start; }
  .report-cards { grid-template-columns: 1fr; }
}
