/* Insights shared theme — light mode */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #f8fafc; color: #334155; line-height: 1.65; padding: 48px 24px; }
.container { max-width: 800px; margin: 0 auto; }
h1 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
h2 { font-size: 20px; font-weight: 600; color: #0f172a; margin-top: 48px; margin-bottom: 16px; }
.subtitle { color: #64748b; font-size: 15px; margin-bottom: 32px; }
.nav-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px 0; padding: 16px; background: white; border-radius: 8px; border: 1px solid #e2e8f0; }
.nav-toc a { font-size: 12px; color: #64748b; text-decoration: none; padding: 6px 12px; border-radius: 6px; background: #f1f5f9; transition: all 0.15s; }
.nav-toc a:hover { background: #e2e8f0; color: #334155; }
.stats-row { display: flex; gap: 24px; margin-bottom: 40px; padding: 20px 0; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value { font-size: 24px; font-weight: 700; color: #0f172a; }
.stat-label { font-size: 11px; color: #64748b; text-transform: uppercase; }
.at-a-glance { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border: 1px solid #f59e0b; border-radius: 12px; padding: 20px 24px; margin-bottom: 32px; }
.glance-title { font-size: 16px; font-weight: 700; color: #92400e; margin-bottom: 16px; }
.glance-sections { display: flex; flex-direction: column; gap: 12px; }
.glance-section { font-size: 14px; color: #78350f; line-height: 1.6; }
.glance-section strong { color: #92400e; }
.see-more { color: #b45309; text-decoration: none; font-size: 13px; white-space: nowrap; }
.see-more:hover { text-decoration: underline; }
.project-areas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.project-area { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; }
.area-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.area-name { font-weight: 600; font-size: 15px; color: #0f172a; }
.area-count { font-size: 12px; color: #64748b; background: #f1f5f9; padding: 2px 8px; border-radius: 4px; }
.area-desc { font-size: 14px; color: #475569; line-height: 1.5; }
.narrative { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; margin-bottom: 24px; }
.narrative p { margin-bottom: 12px; font-size: 14px; color: #475569; line-height: 1.7; }
.key-insight { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 12px 16px; margin-top: 12px; font-size: 14px; color: #166534; }
.section-intro { font-size: 14px; color: #64748b; margin-bottom: 16px; }
.big-wins { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.big-win { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 16px; }
.big-win-title { font-weight: 600; font-size: 15px; color: #166534; margin-bottom: 8px; }
.big-win-desc { font-size: 14px; color: #15803d; line-height: 1.5; }
.friction-categories { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.friction-category { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; padding: 16px; }
.friction-title { font-weight: 600; font-size: 15px; color: #991b1b; margin-bottom: 6px; }
.friction-desc { font-size: 13px; color: #7f1d1d; margin-bottom: 10px; }
.friction-examples { margin: 0 0 0 20px; font-size: 13px; color: #334155; }
.friction-examples li { margin-bottom: 4px; }
.claude-md-section { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.claude-md-section h3 { font-size: 14px; font-weight: 600; color: #1e40af; margin: 0 0 12px 0; }
.claude-md-actions { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #dbeafe; }
.copy-all-btn { background: #2563eb; color: white; border: none; border-radius: 4px; padding: 6px 12px; font-size: 12px; cursor: pointer; font-weight: 500; transition: all 0.2s; }
.copy-all-btn:hover { background: #1d4ed8; }
.copy-all-btn.copied { background: #16a34a; }
.claude-md-item { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding: 10px 0; border-bottom: 1px solid #dbeafe; }
.claude-md-item:last-child { border-bottom: none; }
.cmd-checkbox { margin-top: 2px; }
.cmd-code { background: white; padding: 8px 12px; border-radius: 4px; font-size: 12px; color: #1e40af; border: 1px solid #bfdbfe; font-family: monospace; display: block; white-space: pre-wrap; word-break: break-word; flex: 1; }
.cmd-why { font-size: 12px; color: #64748b; width: 100%; padding-left: 24px; margin-top: 4px; }
.features-section, .patterns-section { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.feature-card { background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; padding: 16px; }
.pattern-card { background: #f0f9ff; border: 1px solid #7dd3fc; border-radius: 8px; padding: 16px; }
.feature-title, .pattern-title { font-weight: 600; font-size: 15px; color: #0f172a; margin-bottom: 6px; }
.feature-oneliner { font-size: 14px; color: #475569; margin-bottom: 8px; }
.pattern-summary { font-size: 14px; color: #475569; margin-bottom: 8px; }
.feature-why, .pattern-detail { font-size: 13px; color: #334155; line-height: 1.5; }
.feature-examples { margin-top: 12px; }
.feature-example { padding: 8px 0; border-top: 1px solid #d1fae5; }
.feature-example:first-child { border-top: none; }
.example-desc { font-size: 13px; color: #334155; margin-bottom: 6px; }
.example-code-row { display: flex; align-items: flex-start; gap: 8px; }
.example-code { flex: 1; background: #f1f5f9; padding: 8px 12px; border-radius: 4px; font-family: monospace; font-size: 12px; color: #334155; overflow-x: auto; white-space: pre-wrap; }
.copyable-prompt-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2e8f0; }
.copyable-prompt-row { display: flex; align-items: flex-start; gap: 8px; }
.copyable-prompt { flex: 1; background: #f8fafc; padding: 10px 12px; border-radius: 4px; font-family: monospace; font-size: 12px; color: #334155; border: 1px solid #e2e8f0; white-space: pre-wrap; line-height: 1.5; }
.feature-code { background: #f8fafc; padding: 12px; border-radius: 6px; margin-top: 12px; border: 1px solid #e2e8f0; display: flex; align-items: flex-start; gap: 8px; }
.feature-code code { flex: 1; font-family: monospace; font-size: 12px; color: #334155; white-space: pre-wrap; }
.pattern-prompt { background: #f8fafc; padding: 12px; border-radius: 6px; margin-top: 12px; border: 1px solid #e2e8f0; }
.pattern-prompt code { font-family: monospace; font-size: 12px; color: #334155; display: block; white-space: pre-wrap; margin-bottom: 8px; }
.prompt-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: #64748b; margin-bottom: 6px; }
.copy-btn { background: #e2e8f0; border: none; border-radius: 4px; padding: 4px 8px; font-size: 11px; cursor: pointer; color: #475569; flex-shrink: 0; }
.copy-btn:hover { background: #cbd5e1; }
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.chart-card { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; }
.chart-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; margin-bottom: 12px; }
.bar-row { display: flex; align-items: center; margin-bottom: 6px; }
.bar-label { width: 100px; font-size: 11px; color: #475569; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { flex: 1; height: 6px; background: #f1f5f9; border-radius: 3px; margin: 0 8px; }
.bar-fill { height: 100%; border-radius: 3px; }
.bar-value { width: 28px; font-size: 11px; font-weight: 500; color: #64748b; text-align: right; }
.empty { color: #94a3b8; font-size: 13px; }
.horizon-section { display: flex; flex-direction: column; gap: 16px; }
.horizon-card { background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%); border: 1px solid #c4b5fd; border-radius: 8px; padding: 16px; }
.horizon-title { font-weight: 600; font-size: 15px; color: #5b21b6; margin-bottom: 8px; }
.horizon-possible { font-size: 14px; color: #334155; margin-bottom: 10px; line-height: 1.5; }
.horizon-tip { font-size: 13px; color: #6b21a8; background: rgba(255,255,255,0.6); padding: 8px 12px; border-radius: 4px; }
.feedback-header { margin-top: 48px; color: #64748b; font-size: 16px; }
.feedback-intro { font-size: 13px; color: #94a3b8; margin-bottom: 16px; }
.feedback-section { margin-top: 16px; }
.feedback-section h3 { font-size: 14px; font-weight: 600; color: #475569; margin-bottom: 12px; }
.feedback-card { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.feedback-card.team-card { background: #eff6ff; border-color: #bfdbfe; }
.feedback-card.model-card { background: #faf5ff; border-color: #e9d5ff; }
.feedback-title { font-weight: 600; font-size: 14px; color: #0f172a; margin-bottom: 6px; }
.feedback-detail { font-size: 13px; color: #475569; line-height: 1.5; }
.feedback-evidence { font-size: 12px; color: #64748b; margin-top: 8px; }
.fun-ending { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border: 1px solid #fbbf24; border-radius: 12px; padding: 24px; margin-top: 40px; text-align: center; }
.fun-headline { font-size: 18px; font-weight: 600; color: #78350f; margin-bottom: 8px; }
.fun-detail { font-size: 14px; color: #92400e; }
.collapsible-section { margin-top: 16px; }
.collapsible-header { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
.collapsible-header h3 { margin: 0; font-size: 14px; font-weight: 600; color: #475569; }
.collapsible-arrow { font-size: 12px; color: #94a3b8; transition: transform 0.2s; }
.collapsible-content { display: none; padding-top: 16px; }
.collapsible-content.open { display: block; }
.collapsible-header.open .collapsible-arrow { transform: rotate(90deg); }
@media (max-width: 640px) { .charts-row { grid-template-columns: 1fr; } .stats-row { justify-content: center; } }

/* Dark mode — neutral grays to match Nextra (#111) */
html.dark body { background: #111; color: #ccc; }
html.dark h1, html.dark h2 { color: #eee; }
html.dark .subtitle, html.dark .stat-label, html.dark .bar-value, html.dark .chart-title,
html.dark .section-intro, html.dark .cmd-why, html.dark .prompt-label { color: #999; }
html.dark .stat-value, html.dark .area-name, html.dark .feature-title, html.dark .pattern-title,
html.dark .feedback-title { color: #eee; }
html.dark .area-desc, html.dark .narrative p, html.dark .bar-label, html.dark .area-count,
html.dark .feature-oneliner, html.dark .pattern-summary, html.dark .feedback-detail,
html.dark .horizon-possible, html.dark .feedback-evidence { color: #999; }
html.dark .feature-why, html.dark .pattern-detail, html.dark .friction-examples,
html.dark .example-desc, html.dark .feature-code code, html.dark .pattern-prompt code,
html.dark .copyable-prompt, html.dark .example-code { color: #ccc; }

html.dark .nav-toc, html.dark .project-area, html.dark .chart-card, html.dark .narrative,
html.dark .feedback-card { background: #1a1a1a; border-color: #333; }
html.dark .nav-toc a { color: #999; background: #2a2a2a; }
html.dark .nav-toc a:hover { background: #404040; color: #e5e5e5; }
html.dark .area-count { background: #2a2a2a; }
html.dark .stats-row { border-color: #333; }
html.dark .bar-track { background: #2a2a2a; }

html.dark .at-a-glance { background: linear-gradient(135deg, #422006 0%, #78350f 100%); border-color: #92400e; }
html.dark .glance-title { color: #fbbf24; }
html.dark .glance-section { color: #fde68a; }
html.dark .glance-section strong { color: #fbbf24; }
html.dark .see-more { color: #fbbf24; }

html.dark .key-insight { background: #052e16; border-color: #166534; color: #86efac; }
html.dark .big-win { background: #052e16; border-color: #166534; }
html.dark .big-win-title { color: #86efac; }
html.dark .big-win-desc { color: #6ee7b7; }

html.dark .friction-category { background: #450a0a; border-color: #991b1b; }
html.dark .friction-title { color: #fca5a5; }
html.dark .friction-desc { color: #fecaca; }
html.dark .friction-examples { color: #ccc; }

html.dark .claude-md-section { background: #172554; border-color: #1e40af; }
html.dark .claude-md-section h3 { color: #93c5fd; }
html.dark .claude-md-actions { border-color: #1e40af; }
html.dark .claude-md-item { border-color: #1e40af; }
html.dark .cmd-code { background: #1a1a1a; color: #93c5fd; border-color: #1e40af; }

html.dark .feature-card { background: #052e16; border-color: #166534; }
html.dark .feature-example { border-color: #166534; }
html.dark .pattern-card { background: #0c4a6e; border-color: #0369a1; }

html.dark .horizon-card { background: linear-gradient(135deg, #2e1065 0%, #3b0764 100%); border-color: #7c3aed; }
html.dark .horizon-title { color: #c4b5fd; }
html.dark .horizon-tip { color: #ddd6fe; background: rgba(0,0,0,0.3); }

html.dark .feedback-card.team-card { background: #172554; border-color: #1e40af; }
html.dark .feedback-card.model-card { background: #2e1065; border-color: #7c3aed; }

html.dark .fun-ending { background: linear-gradient(135deg, #422006 0%, #78350f 100%); border-color: #92400e; }
html.dark .fun-headline { color: #fde68a; }
html.dark .fun-detail { color: #fbbf24; }

html.dark .example-code, html.dark .copyable-prompt, html.dark .feature-code,
html.dark .pattern-prompt { background: #111; border-color: #333; }
html.dark .copy-btn { background: #404040; color: #e5e5e5; }
html.dark .copy-btn:hover { background: #555; }
html.dark .collapsible-header { border-color: #333; }
html.dark .collapsible-arrow { color: #666; }
html.dark .collapsible-header h3, html.dark .feedback-section h3 { color: #999; }
html.dark .feedback-header, html.dark .feedback-intro { color: #666; }
html.dark #timezone-select, html.dark #custom-offset { background: #1a1a1a; color: #ccc; border-color: #404040; }
