/* Local styles for Fixed Effects */

.fx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.fx-card { background: var(--card-bg, #f8f9fa); border-radius: 12px; padding: 1.5rem; border: 1px solid var(--border, #e0e0e0); }
.fx-card h3 { margin-top: 0; color: var(--text-primary); }
.fx-card .formula { background: #eef; color: #333; padding: 0.75rem 1rem; border-radius: 6px; margin: 0.75rem 0; font-family: var(--mono); overflow-x: auto; }
.fx-card .use-case { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

.summary-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.summary-table th, .summary-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border, #e0e0e0); vertical-align: top; }
.summary-table th { background: var(--table-header, #f0f0f0); font-weight: 600; }
.summary-table tr:hover td { background: var(--row-hover, #fafafa); }


.category-section { margin: 3rem 0; }
.category-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.category-badge { background: var(--accent, #0066cc); color: white; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; }

.back-link { display: inline-block; margin: 0.25rem 0 0.75rem 0; }

/* Flat-color banners (override the global teal-to-amber gradient) */
.light-page .callout { background: rgba(14, 165, 168, 0.07); }
.light-page .callout.tint-strong { background: rgba(14, 165, 168, 0.13); }

.code-block { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 1rem 1.25rem; overflow-x: auto; font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 0.9rem; line-height: 1.55; margin: 1rem 0; white-space: pre; tab-size: 4; }
.code-block .c-kw { color: #93c5fd; }
.code-block .c-str { color: #fca5a5; }
.code-block .c-num { color: #fcd34d; }
.code-block .c-com { color: #94a3b8; font-style: italic; }

.output-block { background: #f8fafc; color: #1f2937; border: 1px solid #e2e8f0; border-left: 3px solid #94a3b8; border-radius: 8px; padding: 0.85rem 1.1rem; overflow-x: auto; font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 0.85rem; line-height: 1.5; margin: 0.5rem 0 1.25rem 0; white-space: pre; tab-size: 4; }
.output-label { font-size: 0.75rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin: 0.5rem 0 0.25rem 0; }
