/** * MPR Shared Theme — CSS custom properties + base styles. * Import from any UI app: @import "../../common/styles/theme.css"; */ :root { --bg-primary: #0f0f0f; --bg-panel: #1a1a1a; --bg-surface: #141414; --bg-input: #2a2a2a; --border: #2a2a2a; --border-light: #333; --text-primary: #e0e0e0; --text-secondary: #999; --text-muted: #666; --accent: #3b82f6; --success: #10b981; --warning: #f59e0b; --error: #ef4444; --processing: #3b82f6; --radius: 8px; --radius-sm: 4px; --font-mono: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Fira Code", monospace, sans-serif; --font-size: 14px; --font-size-sm: 0.8rem; --font-size-xs: 0.75rem; } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: var(--font-mono); background: var(--bg-primary); color: var(--text-primary); font-size: var(--font-size); } /* Scrollbar */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; } /* Shared button base */ button { cursor: pointer; border: none; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: var(--font-size-sm); transition: opacity 0.15s; } button:disabled { opacity: 0.5; cursor: not-allowed; } /* Shared input base */ input, select { font-family: var(--font-mono); font-size: var(--font-size-sm); background: var(--bg-input); color: var(--text-primary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.4rem 0.5rem; } input:focus, select:focus { outline: none; border-color: var(--accent); } /* Panel base */ .panel { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; } .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; position: relative; } .panel-header h2 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); }