* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; background: #f5f7fa; color: #222; }
.container { max-width: 1400px; margin: 0 auto; padding: 20px; }
header { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #e0e4eb; }
header h1 { margin: 0; font-size: 22px; color: #2c3e50; }
.search-form { margin-left: auto; display: flex; gap: 8px; }
.search-form input { padding: 8px 12px; border: 1px solid #cbd2d9; border-radius: 4px; min-width: 240px; font-size: 14px; }
.search-form button { padding: 8px 16px; background: #3366CC; color: white; border: none; border-radius: 4px; cursor: pointer; }
.search-form button:hover { background: #2952a3; }
.error-box { background: #ffe6e6; border: 1px solid #ff9999; color: #b30000; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; padding: 16px 20px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.stat-label { color: #7a8597; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 28px; font-weight: 600; color: #2c3e50; margin-top: 4px; }
.stat-value-sm { font-size: 16px; font-weight: 500; color: #2c3e50; margin-top: 4px; }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.chart { background: white; border-radius: 6px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
@media (max-width: 900px) { .charts { grid-template-columns: 1fr; } }
.cve-section { background: white; border-radius: 6px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.cve-section h3 { margin-top: 0; margin-bottom: 12px; color: #2c3e50; }
.cve-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.cve-item { border: 1px solid; border-radius: 4px; padding: 10px 12px; }
.cve-id { font-weight: 600; font-size: 14px; }
.cve-id a { color: #2c3e50; text-decoration: none; }
.cve-id a:hover { text-decoration: underline; }
.cve-score { font-size: 18px; font-weight: 600; margin-top: 4px; color: #2c3e50; }
.cve-change { font-size: 12px; font-weight: 500; margin-top: 2px; }
.cve-detail-card { background: white; padding: 24px; border-radius: 6px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 12px; }
.chart-section { background: white; padding: 12px; border-radius: 6px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.history-table { width: 100%; border-collapse: collapse; background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.history-table th, .history-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #e0e4eb; }
.history-table th { background: #f5f7fa; font-weight: 600; color: #4a5568; text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px; }
