.feed-overview,
.history-summary {
  margin-bottom: 14px;
  padding: 22px 24px;
  color: white;
  background:
    radial-gradient(circle at 92% 20%, rgba(77, 175, 225, 0.32), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.feed-overview > div {
  flex: 0 0 auto;
  display: grid;
}

.feed-overview .eyebrow {
  color: #68c6f2;
}

.feed-overview strong {
  font-size: 31px;
  line-height: 1.2;
}

.feed-overview span,
.history-summary p {
  color: #adc5d7;
  font-size: 11px;
}

.feed-overview > p {
  max-width: 560px;
  margin: 0;
  color: #d4e2ec;
  font-size: 12px;
}

.addon-toolbar {
  justify-content: flex-start;
}

.addon-toolbar .select-label {
  flex: 0 0 auto;
}

.rss-list {
  display: grid;
  gap: 9px;
}

.rss-card {
  min-height: 150px;
  padding: 19px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 110px;
  align-items: start;
  gap: 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rss-card:hover {
  border-color: #9fb3c8;
  box-shadow: 0 8px 26px rgba(18, 52, 77, 0.07);
}

.rss-date {
  min-height: 67px;
  padding-right: 17px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
}

.rss-date strong {
  color: var(--navy-800);
  font-size: 17px;
}

.rss-date span {
  color: #829ab1;
  font-size: 10px;
}

.rss-content {
  min-width: 0;
}

.rss-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #829ab1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rss-meta span:first-child {
  color: var(--blue-600);
}

.rss-content h3 {
  margin: 5px 0 8px;
  font-size: 15px;
  line-height: 1.55;
}

.rss-topics {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rss-topics span {
  padding: 2px 7px;
  color: #486581;
  background: #edf2f7;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}

.rss-content details {
  color: var(--muted);
  font-size: 11px;
}

.rss-content summary {
  width: fit-content;
  color: var(--blue-600);
  cursor: pointer;
  font-weight: 800;
}

.rss-content details p {
  margin: 9px 0 0;
  padding: 11px 13px;
  white-space: pre-line;
  background: #f7f9fb;
  border-left: 3px solid #b9dced;
  border-radius: 3px;
}

.rss-link {
  min-height: 36px;
  padding: 7px 10px;
  color: var(--blue-600);
  background: #f0f8fc;
  border: 1px solid #c5e2f1;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.history-summary {
  justify-content: flex-start;
}

.history-summary-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  color: #dff3fc;
  background: rgba(77, 175, 225, 0.22);
  border: 1px solid rgba(156, 218, 247, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.history-summary strong {
  font-size: 16px;
}

.history-summary p {
  margin: 2px 0 0;
}

.history-list {
  display: grid;
}

.history-event {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
}

.history-rail {
  display: grid;
  grid-template-rows: 24px minmax(16px, 1fr);
  justify-items: center;
}

.history-dot {
  width: 13px;
  height: 13px;
  margin-top: 7px;
  background: var(--blue-500);
  border: 3px solid #dceff8;
  border-radius: 50%;
  box-sizing: content-box;
}

.action-SYSTEM_DELETED .history-dot {
  background: var(--danger);
  border-color: #fbd9d6;
}

.action-FINDING_STATUS_CHANGED .history-dot {
  background: var(--warning);
  border-color: #ffedc5;
}

.history-line {
  width: 1px;
  min-height: 20px;
  background: #cbd8e2;
}

.history-event:last-child .history-line {
  background: linear-gradient(#cbd8e2, transparent);
}

.history-card {
  margin-bottom: 11px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.history-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.history-action {
  color: var(--blue-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.action-SYSTEM_DELETED .history-action {
  color: var(--danger);
}

.history-card h3 {
  margin: 2px 0 0;
  font-size: 15px;
}

.history-when {
  display: grid;
  justify-items: end;
}

.history-when strong {
  color: #486581;
  font-size: 11px;
}

.history-when span {
  color: #829ab1;
  font-size: 9px;
}

.change-table {
  margin-top: 14px;
  border: 1px solid #e1e8ee;
  border-radius: 5px;
  overflow: hidden;
}

.change-row {
  min-height: 43px;
  padding: 8px 11px;
  border-bottom: 1px solid #e8edf2;
  display: grid;
  grid-template-columns: 125px minmax(120px, 1fr) 24px minmax(120px, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 10px;
}

.change-row:last-child {
  border-bottom: 0;
}

.change-row > strong {
  color: #486581;
}

.change-before {
  color: #7b8793;
  text-decoration: line-through;
  overflow-wrap: anywhere;
}

.change-after {
  color: var(--navy-800);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.change-arrow {
  color: #9fb3c8;
  text-align: center;
}

.history-no-change {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.addon-error {
  border-color: #e8aaa5;
}

@media (max-width: 900px) {
  .addon-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .rss-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .rss-link {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .sidebar nav {
    flex-wrap: wrap;
  }

  .sidebar .nav-button {
    min-width: 82px;
    padding-inline: 5px;
    font-size: 10px;
  }

  .feed-overview,
  .history-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .rss-card {
    padding: 15px;
    grid-template-columns: 1fr;
  }

  .rss-date {
    min-height: auto;
    padding: 0 0 7px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 6px;
  }

  .rss-link {
    grid-column: 1;
  }

  .history-event {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .history-card-head {
    flex-direction: column;
    gap: 6px;
  }

  .history-when {
    justify-items: start;
  }

  .change-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .change-arrow {
    text-align: left;
    transform: rotate(90deg);
    transform-origin: left center;
  }
}
