body, h1, h2, h3 {
  margin: 0;
}

html, body {
  background: #f9fafb;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

header {
  color: #fff;
  z-index: 100;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  display: flex;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 4px #0000001a;
}

header h1 {
  font-size: 18px;
  font-weight: 600;
}

header .meta {
  opacity: .8;
  margin-top: 4px;
  font-size: 13px;
}

header .meta span {
  color: #4ade80;
  font-weight: bold;
}

header .meta .divider {
  opacity: .5;
  margin: 0 8px;
}

.settings-btn {
  color: #fff;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  transition: all .2s;
}

.settings-btn:hover {
  background: #fff3;
}

.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
}

.controls-panel {
  justify-content: flex-end;
  margin-bottom: 20px;
  display: flex;
}

.legend {
  background: #fff;
  border-radius: 50px;
  gap: 16px;
  padding: 10px 16px;
  display: flex;
  box-shadow: 0 1px 3px #0000000d;
}

.legend-item {
  cursor: pointer;
  user-select: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity .2s;
  display: flex;
}

.legend-item.inactive {
  opacity: .4;
}

.legend .dot {
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.dot.green {
  background: #86efac;
  border: 2px solid #22c55e;
}

.dot.yellow {
  background: #fde047;
  border: 2px solid #eab308;
}

.dot.red {
  background: #fca5a5;
  border: 2px solid #ef4444;
}

.news-group {
  margin-bottom: 40px;
}

.group-header {
  color: #64748b;
  white-space: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.group-header .divider {
  background: #e2e8f0;
  width: 100%;
  height: 1px;
}

.masonry-container {
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  display: flex;
}

.masonry-column {
  flex-direction: column;
  flex: 1;
  gap: 16px;
  min-width: 0;
  display: flex;
}

.item {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #0000;
  border-radius: 12px;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  transition: transform .2s;
  display: flex;
  box-shadow: 0 1px 2px #00000008;
}

.item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px #0000000d;
}

.severity-high {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.severity-mid {
  background: #fefce8;
  border-color: #fef08a;
}

.severity-low {
  background: #fef2f2;
  border-color: #fecaca;
}

.item h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.item h3 a {
  color: #0f172a;
  text-decoration: none;
}

.itemLink {
  color: #94a3b8;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 12px;
  font-size: 12px;
  display: block;
  overflow: hidden;
}

.meta-rows {
  border-top: 1px solid #0000000d;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  display: flex;
}

.meta-row {
  gap: 8px;
  display: flex;
}

.score {
  color: #fff;
  background: #848484;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
}

.total-score {
  color: #334155;
  font-size: 16px;
  font-weight: 800;
}

.modal-overlay {
  backdrop-filter: blur(2px);
  z-index: 1000;
  background: #00000080;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  padding: 24px;
  box-shadow: 0 20px 25px -5px #0000001a;
}

.modal h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.modal label {
  color: #334155;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.modal textarea, .modal select {
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 16px;
  padding: 10px;
  font-family: inherit;
}

.modal-actions {
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
  display: flex;
}

.cancel-btn {
  color: #64748b;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 16px;
  font-weight: 500;
}

.save-btn {
  color: #fff;
  cursor: pointer;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
}

.save-btn:hover {
  background: #1d4ed8;
}

.modal-header {
  border-bottom: 1px solid #e2e8f0;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  display: flex;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
}

.tabs {
  gap: 8px;
  display: flex;
}

.tab-btn {
  cursor: pointer;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  padding: 8px 12px;
  font-weight: 500;
  transition: all .2s;
}

.tab-btn:hover {
  color: #0f172a;
}

.tab-btn.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.modal-content {
  max-height: 60vh;
  margin-bottom: 16px;
  padding-right: 4px;
  overflow-y: auto;
}

.sources-tab {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.sources-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  padding: 8px;
  display: flex;
  overflow-y: auto;
}

.source-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  display: flex;
}

.source-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 90%;
  overflow: hidden;
}

.remove-source-btn {
  color: #ef4444;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  display: flex;
}

.remove-source-btn:hover {
  background: #fee2e2;
}

.add-source-row {
  gap: 8px;
  display: flex;
}

.add-source-row input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  flex: 1;
  padding: 10px;
  font-size: 14px;
}

.add-btn {
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  background: #10b981;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
}

.add-btn:hover {
  background: #059669;
}

.no-data {
  text-align: center;
  color: #94a3b8;
  margin: 0;
  padding: 10px;
  font-size: 14px;
}
/*# sourceMappingURL=trends.9f367d21.css.map */
