/* === SUITE COMMON CSS === */

:root {
    --bg-base: #f8fafc;
    --bg-panel: #ffffff;
    --bg-hover: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --accent: #3b82f6;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

:root.dark {
    --bg-base: #020617;
    --bg-panel: #0f172a;
    --bg-hover: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-main);
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); }

/* === SUITE NAVIGATION === */
.suite-nav {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
.suite-nav:hover { color: var(--accent); border-color: var(--accent); }
.suite-nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

 /* === GENERIC FIXED UTILITY BUTTONS ===
    .theme-toggle-btn and .floating-action-btn share nearly all of their
    declarations. The shared rules live here once; each class only adds its
    own z-index / position overrides below. */
.theme-toggle-btn,
.floating-action-btn {
    position: fixed;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.theme-toggle-btn:hover,
.floating-action-btn:hover { border-color: var(--text-muted); transform: scale(1.05); }
.theme-toggle-btn:active { transform: scale(0.95); }
.theme-toggle-btn svg,
.floating-action-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Class-specific overrides only */
.theme-toggle-btn { top: 1rem; right: 1rem; z-index: 100; }
.floating-action-btn { right: 1rem; z-index: 1000; }

:root.dark .sun-icon { display: block; color: #fbbf24; }
:root.dark .moon-icon { display: none; }
:root:not(.dark) .sun-icon { display: none; }
:root:not(.dark) .moon-icon { display: block; color: #818cf8; }