:root {
  --primary-bg: #0A0A0A;
  --secondary-bg: #1A1A1A;
  --tertiary-bg: #2A2A2A;
  --text-color: #E0E0E0;
  --muted-text: #A0A0A0;
  --accent-gold: #D4AF37;
  --accent-red: #B22222;
  --border-color: #333333;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --font-serif: 'Georgia', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}
body { margin: 0; background: var(--primary-bg); font-family: var(--font-sans); color: var(--text-color); line-height: 1.6; }
.page { min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.rail { background: var(--secondary-bg); border-right: 1px solid var(--border-color); padding: 24px 16px; display: flex; flex-direction: column; gap: 8px; }
.brand { font-family: var(--font-serif); color: var(--accent-gold); font-size: 1.4rem; font-weight: 700; padding: 0 8px 24px; border-bottom: 1px solid var(--border-color); margin-bottom: 16px; }
.rail a { padding: 12px 16px; text-decoration: none; color: var(--text-color); border-radius: 8px; transition: all 0.2s ease; font-weight: 500; }
.rail a:hover, .rail a.current { background: var(--tertiary-bg); color: var(--accent-gold); }
.content { padding: 40px; max-width: 1200px; margin: 0 auto; }
.card { background: var(--secondary-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 32px; box-shadow: 0 8px 32px var(--shadow-color); position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent-red), var(--accent-gold)); }
h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--accent-gold); margin-bottom: 1rem; }
.message.ai { background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.2); padding: 16px; border-radius: 12px; margin-bottom: 16px; }
@media (max-width: 768px) { .page { grid-template-columns: 1fr; } .rail { flex-direction: row; overflow-x: auto; } .brand { display: none; } }
