/* Standalone component: the host owns placement; all colors follow theme.css. */
.mley-updates {
  min-width: 0;
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.mley-updates [hidden] { display: none !important; }
.mley-updates__heading { padding: 4px 4px 16px; }
.mley-updates__eyebrow {
  margin: 0 0 6px;
  color: var(--accent-color);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .14em;
}
.mley-updates__heading h2 { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.mley-updates__heading > p:not(.mley-updates__eyebrow) { margin: 5px 0 0; color: var(--text-muted); font-size: .8rem; }
.mley-updates__days { display: flex; gap: 4px; margin-top: 15px; padding: 4px; border-radius: 12px; background: var(--bg-surface-2); border: 1px solid var(--border-color); }
.mley-updates__days button {
  flex: 1;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.mley-updates__days button[aria-pressed="true"] { background: var(--bg-surface); border-color: var(--border-color); color: var(--accent-color); box-shadow: 0 1px 3px #0000000a; }
.mley-updates__days button:hover { color: var(--accent-color); background: var(--accent-color-soft); }
.mley-updates__card { margin-bottom: 14px; border: 1px solid var(--border-color); border-radius: 16px; background: var(--bg-surface); overflow: hidden; }
.mley-updates__card-heading { display: flex; align-items: center; gap: 9px; padding: 18px 18px 10px; }
.mley-updates__card-heading > div { min-width: 0; flex: 1; }
.mley-updates__card-heading h3 { font-size: .95rem; font-weight: 700; margin: 0; }
.mley-updates__card-heading p { font-size: .75rem; color: var(--text-muted); margin: 2px 0 0; }
.mley-updates__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; color: var(--accent-color); background: var(--accent-color-soft); }
.mley-updates__source-label { font-size: .62rem; letter-spacing: .04em; font-weight: 700; color: var(--text-muted); }
.mley-updates__date { margin: 0 18px; font-size: .75rem; font-weight: 600; color: var(--text-muted); }
.mley-updates__date:empty { display: none; }
.mley-updates__status { margin: 12px 18px 16px; font-size: .78rem; color: var(--text-muted); }
.mley-updates__status:empty { display: none; }
.mley-updates__list { list-style: none; margin: 0; padding: 0 18px; }
.mley-updates__item { padding: 13px 0; border-top: 1px solid var(--border-color); }
.mley-updates__item-title { display: block; color: var(--text-color); text-decoration: none; font-size: .86rem; line-height: 1.45; font-weight: 600; }
.mley-updates__item a:hover { color: var(--accent-color); text-decoration: underline; text-underline-offset: 3px; }
.mley-updates__item-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mley-updates__item-label { display: block; font-size: .7rem; color: var(--text-muted); margin-bottom: 4px; }
.mley-updates__item-meta { margin: 5px 0 0; color: var(--text-muted); font-size: .73rem; line-height: 1.45; }
.mley-updates__more summary { padding: 12px 18px; min-height: 44px; cursor: pointer; color: var(--accent-color); font-weight: 600; font-size: .8rem; }
.mley-updates__more summary:hover { background: var(--bg-surface-2); }
.mley-updates__scope { margin: 10px 18px 16px; font-size: .7rem; line-height: 1.5; color: var(--text-muted); }
.mley-updates__editions { display: flex; flex-wrap: wrap; gap: 0 12px; margin: 0 18px 10px; }
.mley-updates__editions a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; color: var(--accent-color); }
.mley-updates__edition { padding-top: 14px; border-top: 1px solid var(--border-color); }
.mley-updates__edition-heading { margin: 0 18px 4px; color: var(--text-color); font-size: .85rem; font-weight: 700; }
.mley-updates__edition-status { margin: 0 18px 14px; color: var(--text-muted); font-size: .73rem; }
.mley-updates__retry { margin: 0 18px 16px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-surface-2); color: var(--accent-color); font: inherit; cursor: pointer; }
.mley-updates__retry:disabled { color: var(--text-muted); cursor: wait; }
.mley-updates__footer { border-top: 1px solid var(--border-color); }
.mley-updates__footer a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 18px; color: var(--accent-color); font-size: .78rem; font-weight: 600; text-decoration: none; }
.mley-updates__footer a:hover, .mley-updates__retry:hover { background: var(--accent-color-soft); }
.mley-updates__timezone { margin: 0 4px 18px; color: var(--text-muted); font-size: .7rem; }
.mley-updates :is(a, button, summary):focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; border-radius: 3px; }
