.cvew-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #1f2937;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}
.cvew-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cvew-title { margin: 0; font-size: 28px; line-height: 1.2; }
.cvew-subtitle { margin: 8px 0 0 0; color: white; font-size: 14px; }
.cvew-controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 16px 0 20px; }
.cvew-label { font-size: 11px; color: white; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.cvew-group { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cvew-wrap button, .cvew-wrap select {
  border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #1f2937;
  font-size: 13px; padding: 7px 10px; cursor: pointer;
}
.cvew-wrap button:hover, .cvew-wrap select:hover { border-color: #cbd5e1; }
.cvew-wrap button.is-active { background: #2563eb; color: #fff; border-color: #2563eb; }
.cvew-refresh { padding: 9px 14px; font-weight: 700; color: #2563eb; }
.cvew-refresh[disabled] { cursor: wait; opacity: .65; }
.cvew-msg { margin: 8px 0 14px; color: white; font-size: 14px; }
.cvew-error {
  background: #fee2e2; color: #991b1b; padding: 10px 12px; border-radius: 10px;
  margin-bottom: 16px; font-size: 14px; display: none;
}
.cvew-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.cvew-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 14px; display: flex; flex-direction: column; min-height: 230px;
}
.cvew-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.cvew-chip {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 7px; border-radius: 999px; background: #eef2ff; color: #3730a3; word-break: break-all;
}
.cvew-sev { background: #f3f4f6; color: #374151; }
.cvew-sev.CRITICAL { background: #fee2e2; color: #b91c1c; }
.cvew-sev.HIGH { background: #fee2e2; color: #dc2626; }
.cvew-sev.MEDIUM { background: #fef3c7; color: #d97706; }
.cvew-sev.LOW { background: #d1fae5; color: #059669; }
.cvew-sev.NONE { background: #e5e7eb; color: white; }
.cvew-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.cvew-summary {
  color: #4b5563; margin: 10px 0 12px; font-size: 14px; display: -webkit-box;
  -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 84px;
}
.cvew-published { color: white; font-size: 12px; font-weight: 700; margin-top: auto; }
.cvew-link-btn { margin-top: 12px; align-self: flex-start; border: none !important; background: none !important; color: #2563eb !important; font-weight: 700; padding: 0 !important; }
.cvew-link-btn:hover { text-decoration: underline; }
.cvew-empty { margin-top: 6px; color: white; font-size: 14px; display: none; }
.cvew-modal {
  display: none; position: fixed; inset: 0; background: rgba(17,24,39,.55);
  z-index: 99999; padding: 20px;
}
.cvew-modal-card {
  max-width: 760px; margin: 4vh auto 0; background: #fff; border-radius: 12px;
  padding: 18px; max-height: 88vh; overflow: auto;
}
.cvew-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cvew-modal-title { font-size: 20px; margin: 0; word-break: break-word;color:black }
.cvew-close { line-height: 1; }
.cvew-modal-meta { margin: 10px 0 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cvew-modal-strong { font-weight: 700; margin: 0 0 8px 0; }
.cvew-modal-summary { margin: 0; white-space: pre-wrap; }
.cvew-nvd-link {
  display: inline-block; margin-top: 16px; background: #2563eb; color: #fff;
  text-decoration: none; padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
