/* BTCM Investigation Tracker Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; background: #fff; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
header { background: #f8fafc; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; }
header h1 { font-size: 1.8rem; margin-bottom: 0.25rem; }
header .tagline { color: #64748b; font-size: 0.95rem; }
nav { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
nav a { color: #475569; font-size: 0.9rem; }
nav a:hover { color: #2563eb; }
.controls { background: #f8fafc; padding: 1.5rem 0; border-bottom: 1px solid #e2e8f0; }
.control-panel { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.control-panel input { padding: 0.5rem 0.75rem; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 0.9rem; }
.control-panel button { padding: 0.5rem 1rem; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; }
.primary-btn { background: #2563eb; color: white; }
.secondary-btn { background: #f1f5f9; color: #475569; }
.tertiary-btn { background: #e2e8f0; color: #475569; }
.primary-btn:hover { background: #1d4ed8; }
.secondary-btn:hover { background: #e4e7ed; }
.tertiary-btn:hover { background: #cbd5e1; }
.timeline-container { padding: 2rem 0; }
timeline { position: relative; padding: 2rem 0; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #cbd5e1; transform: translateX(-50%); }
.event { position: relative; margin-bottom: 2rem; padding-left: 50%; }
.event::before { content: ''; position: absolute; left: 22px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 2px #2563eb; }
.event:nth-child(odd) { padding-left: 50%; }
.event:nth-child(even) { padding-left: 50%; }
.event-date { position: absolute; left: -100px; top: 0; background: #2563eb; color: white; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.85rem; font-weight: 500; }
.event-content { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.event-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #1e293b; }
.event-content p { font-size: 0.95rem; color: #475569; margin-bottom: 0.75rem; }
.allegations { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.tag { background: #dbeafe; color: #1e40af; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 500; }
.event-placeholder { text-align: center; color: #64748b; padding: 2rem; font-style: italic; border: 2px dashed #cbd5e1; border-radius: 8px; margin: 2rem 0; background: #f8fafc; }
.reference { background: #f8fafc; padding: 2rem 0; }
.reference-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.ref-card { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.ref-card h3 { font-size: 1rem; margin-bottom: 0.75rem; color: #1e293b; }
.ref-card ul { font-size: 0.9rem; color: #475569; list-style: none; }
.ref-card li { padding: 0.25rem 0; }
.ref-card li::before { content: '• '; color: #2563eb; }
.comparison-section table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.comparison-section th, .comparison-section td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.comparison-section th { background: #f1f5f9; font-weight: 600; color: #475569; }
.comparison-section tr:hover { background: #f8fafc; }
.about { padding: 2rem 0; }
.about p { font-size: 0.95rem; color: #475569; margin-bottom: 1rem; }
footer { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 1.5rem 0; font-size: 0.85rem; }
footer a { color: #64748b; }
@media (max-width: 768px) { .control-panel { flex-direction: column; align-items: stretch; } .timeline::before { left: 30px; } .event { padding-left: 70px; } .event-date { left: -90px; min-width: 80px; } .container { padding: 1rem; } }
@media (max-width: 480px) { header h1 { font-size: 1.5rem; } nav { gap: 1rem; } }



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
