/* A quiet shared announcement entry; all announcement text remains plain text. */
.announcements-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #536359; cursor: pointer; }
.announcements-trigger:hover { color: #216a49; background: #e8eee6; }
.announcements-trigger svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.announcements-dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #a96736; box-shadow: 0 0 0 2px #f7f9f5; }
.announcements-trigger [hidden], .announcements-dialog [hidden] { display: none !important; }
.announcements-mobile { display: none; }
.studio-sidebar .product-brand { justify-content: space-between; gap: 8px; }
.studio-sidebar .product-brand .brand { flex: 0 1 auto; }
.site-header .announcements-trigger { margin-left: -14px; }
.announcements-dialog { box-sizing: border-box; width: min(620px, calc(100vw - 32px)); max-width: none; max-height: min(82dvh, 820px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #d3ddd2; border-radius: 8px; background: #fafcf8; color: #2b3431; box-shadow: 0 24px 70px #263c3026; font-family: inherit; }
.announcements-dialog[open] { display: flex; flex-direction: column; }
.announcements-dialog::backdrop { background: #17322b66; backdrop-filter: blur(4px); }
@media (max-width: 820px) {
  .announcements-dialog::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.announcements-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 17px; border-bottom: 1px solid #dbe2dc; }
.announcements-header h2 { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.announcements-count { margin: 4px 0 0; color: #616c66; font-size: 12px; line-height: 1.6; }
.announcements-close { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #536359; font: inherit; font-size: 27px; line-height: 1; cursor: pointer; }
.announcements-close:hover { background: #e8eee6; }
.announcements-content { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 24px; }
.announcements-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; }
.announcements-status { margin: 0; color: #616c66; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.announcements-retry { flex-shrink: 0; min-height: 40px; padding: 8px 12px; border: 1px solid #bdcfc1; border-radius: 5px; color: #205f4b; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.announcements-retry:hover { background: #edf3ec; }
.announcements-retry:disabled { cursor: wait; opacity: .65; }
.announcements-list { list-style: none; margin: 0; padding: 0; }
.announcements-item { padding: 23px 0; border-bottom: 1px solid #dbe2dc; }
.announcements-item:last-child { border-bottom: 0; }
.announcements-item-title { margin: 0; color: #2b3431; font-size: 16px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; letter-spacing: 0; }
.announcements-time { display: block; margin-top: 5px; color: #616c66; font-size: 12px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.announcements-body { margin: 13px 0 0; color: #48544c; font-size: 14px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
.announcements-trigger:focus-visible, .announcements-dialog button:focus-visible { outline: 2px solid #2d7957; outline-offset: 3px; }
@media (min-width: 821px) {
  body.sidebar-collapsed .studio-sidebar .product-brand { flex-direction: column; gap: 4px; margin-bottom: 14px; }
  body.sidebar-collapsed .studio-sidebar .announcements-trigger { flex-basis: 36px; }
}
@media (max-width: 820px) {
  .studio-sidebar .announcements-trigger { display: none; }
  .announcements-mobile { display: inline-flex; }
  .announcements-trigger { flex-basis: 40px; width: 40px; height: 40px; }
  .product-header .announcements-mobile { margin-left: -8px; margin-right: -6px; }
  .site-header { gap: 12px; }
  .site-header .announcements-trigger { margin-left: -5px; }
}
@media (max-width: 560px) {
  .announcements-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 40px); }
  .announcements-header { padding: 17px 17px 14px; }
  .announcements-content { padding-inline: 17px; }
  .announcements-header h2 { font-size: 20px; }
  .announcements-item { padding-block: 20px; }
  .announcements-state { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .site-header { gap: 5px; }
  .site-header .header-actions { gap: 10px; margin-left: auto; }
  .site-header .button-small { padding-inline: 10px; gap: 8px; }
  .site-header .announcements-trigger { margin-left: 0; }
}
@media (max-width: 359px) {
  .site-header .header-actions { gap: 8px; }
  .site-header .button-small > span { display: none; }
  .site-header .button-small { padding-inline: 9px; }
}
