.updates-sidebar { min-width: 0; position: sticky; top: 108px; max-height: calc(100vh - 124px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbd6c3 transparent; scroll-margin-top: 108px; }
.updates-panel { padding: 23px 21px 18px; border: 1px solid #d9e3d3; border-radius: 14px; background: #f7faf4; }
.updates-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.updates-heading .eyebrow { margin: 0; color: #647957; font-size: .57rem; letter-spacing: .085em; }
.feed-badge { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #dce7d4; border-radius: 4px; padding: 3px 7px; background: #eef6e8; color: #4e7338; font-size: .62rem; font-weight: 600; line-height: 1.3; }
.feed-badge.is-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #4c8a2e; }
.feed-badge.is-stale { background: #fff7e7; color: #856020; border-color: #ecdfc1; }
.updates-panel > h2 { font-size: 1.4rem; line-height: 1.25; letter-spacing: -.025em; }
.updates-intro { margin-top: 10px; color: #62715a; font-size: .875rem; line-height: 1.6; }
.feed-tabs { display: flex; gap: 3px; padding: 4px; margin-top: 20px; border: 1px solid #dce5d5; border-radius: 7px; background: #eaf1e3; }
.feed-tab { flex: 1; min-width: 0; border: 0; border-radius: 4px; padding: 8px 3px; color: #5d6e53; background: transparent; font-size: .72rem; line-height: 1.4; white-space: nowrap; }
.feed-tab.active { color: #223b17; background: #fff; box-shadow: 0 1px 3px #25381612; font-weight: 700; }
.feed-tab:hover { color: #2c5519; }
.feed-content { min-height: 120px; margin-top: 4px; }
.feed-list { list-style: none; margin: 0; padding: 0; }
.feed-item { border-bottom: 1px solid #dde5d6; padding: 18px 0; }
.feed-item:last-child { border-bottom: 0; }
.feed-item a { display: block; margin-top: 6px; font-size: 1rem; font-weight: 600; color: #263620; line-height: 1.45; letter-spacing: -.01em; transition: color .18s; }
.feed-item a:hover { color: #397322; }
.feed-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; color: #6d7f62; font-size: .68rem; line-height: 1.5; }
.feed-summary { margin-top: 7px; color: #5e6d57; font-size: .8rem; line-height: 1.6; }
.feed-date { color: #406c2c; font-weight: 600; }
.feed-event-location { display: block; margin-top: 5px; font-size: .78rem; color: #66785b; line-height: 1.5; }
.feed-message { padding: 20px 0; color: #66765c; font-size: .875rem; line-height: 1.6; }
.feed-message a { display: block; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
.feed-source-warning { padding-top: 15px; color: #856020; font-size: .8rem; line-height: 1.6; }
.event-preview { margin-top: 8px; padding-top: 20px; border-top: 1px solid #d7e2cf; }
.preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.preview-heading h3 { font-size: .875rem; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.preview-heading button, .feed-controls button { flex-shrink: 0; border: 0; background: transparent; color: #477d2c; padding: 0; font-size: .72rem; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.event-preview .feed-item { padding: 15px 0; }
.event-preview .feed-item a { font-size: .875rem; }
.feed-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #d7e2cf; }
.feed-checked { color: #68795e; font-size: .68rem; line-height: 1.5; }
.feed-controls button:disabled { color: #839178; cursor: wait; }
.feed-note { margin-top: 10px; color: #77856f; font-size: .65rem; line-height: 1.6; }
.feed-sources { display: flex; flex-wrap: wrap; gap: 6px 11px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #dfe7d8; font-size: .65rem; line-height: 1.5; }
.feed-sources span { color: #809175; }
.feed-sources a { color: #557348; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 799px) {
  .updates-sidebar { position: static; max-height: none; overflow: visible; margin: 28px 0; padding-inline: 28px; }
  .updates-panel { padding: 26px; }
  .updates-heading { justify-content: space-between; margin-bottom: 10px; }
  .updates-heading .eyebrow { font-size: .65rem; }
  .feed-badge { font-size: .7rem; }
  .feed-tabs { max-width: 450px; }
  .feed-tab { font-size: .8rem; padding-block: 10px; }
  .feed-content, #event-preview-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .feed-message, .feed-source-warning { grid-column: 1 / -1; }
  .feed-item { padding-block: 20px; }
  .feed-meta { font-size: .72rem; }
  .feed-controls { margin-top: 16px; }
  .feed-note, .feed-checked, .feed-sources, .feed-controls button { font-size: .75rem; }
}
@media (max-width: 560px) {
  .updates-sidebar { margin-block: 24px; padding-inline: 18px; }
  .updates-panel { padding: 22px 18px; }
  .updates-heading { gap: 8px; }
  .updates-heading .eyebrow { font-size: .57rem; }
  .feed-content, #event-preview-content { grid-template-columns: 1fr; }
  .feed-item { padding-block: 17px; }
  .feed-tab { font-size: .75rem; }
  .preview-heading h3 { font-size: .825rem; }
  .feed-sources { gap: 5px 10px; }
}
.feed-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feed-tab { font-size: .875rem; padding: 9px 5px; }
.updates-heading .eyebrow { font-size: .75rem; line-height: 1.5; }
.feed-badge, .feed-meta, .feed-note, .feed-checked, .feed-sources { font-size: .75rem; }
.preview-heading button, .feed-controls button { font-size: .875rem; min-height: 30px; }
.preview-heading h3 { font-size: .875rem; }
.security-preview { margin-top: 8px; padding-top: 20px; border-top: 1px solid #d7e2cf; }
.security-preview .feed-item { padding-block: 15px; }
.security-preview .feed-item a { font-size: .875rem; }
@media (max-width: 799px) {
  #security-preview-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .updates-sidebar { margin-top: 0; margin-bottom: 32px; }
  .feed-tabs { max-width: none; }
}
@media (max-width: 560px) {
  #security-preview-content { grid-template-columns: 1fr; }
  .updates-heading .eyebrow { font-size: .75rem; }
  .feed-tab { font-size: .875rem; }
}
@media (min-width: 800px) and (max-width: 1079px) {
  .updates-sidebar { top: 100px; max-height: calc(100dvh - 116px); scroll-margin-top: 100px; }
  .updates-panel { padding: 22px 18px 18px; }
}
