* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; min-height: 100vh; }
header { background: #1a1a2e; color: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
header h1 { font-size: 1.5rem; font-weight: 600; }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-logout { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
.dashboard { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; padding: 1rem; height: calc(100vh - 70px); }
@media (max-width: 1024px) { .dashboard { grid-template-columns: 1fr; height: auto; } }
.panel { background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; flex-direction: column; overflow: hidden; }
.panel-header { padding: 1rem; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.panel-header h2 { font-size: 1rem; font-weight: 600; color: #1a1a2e; }
.panel-header select { padding: 0.4rem 0.8rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85rem; }
.panel-content { flex: 1; overflow-y: auto; padding: 1rem; }
.panel-footer { padding: 0.75rem 1rem; border-top: 1px solid #eee; font-size: 0.75rem; color: #888; }
.empty-state, .loading { color: #888; text-align: center; padding: 2rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th, .data-table td { padding: 0.5rem; text-align: left; border-bottom: 1px solid #eee; }
.data-table th { font-weight: 600; color: #666; font-size: 0.75rem; text-transform: uppercase; }
.news-feed { margin-bottom: 1.5rem; }
.news-feed-header { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid #1a1a2e; }
.news-item { padding: 0.75rem 0; border-bottom: 1px solid #eee; }
.news-item:last-child { border-bottom: none; }
.news-item a { color: #1a1a2e; text-decoration: none; font-weight: 500; font-size: 0.9rem; line-height: 1.4; }
.news-item a:hover { color: #4a4a6a; }
.news-item .news-meta { font-size: 0.75rem; color: #888; margin-top: 0.25rem; }
.login-page { display: flex; align-items: center; justify-content: center; background: #1a1a2e; }
.login-container { background: white; padding: 2rem; border-radius: 8px; text-align: center; width: 100%; max-width: 320px; }
.login-container h1 { margin-bottom: 1.5rem; color: #1a1a2e; }
.login-container input { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 1rem; font-size: 1rem; }
.login-container button { width: 100%; padding: 0.75rem; background: #1a1a2e; color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; }
.login-container button:hover { background: #2a2a4e; }
.login-container .error { color: #e74c3c; margin-bottom: 1rem; font-size: 0.9rem; }