/* Product updates: a quiet header entry, readable release notes, no automatic popups. */
#product-updates { flex-shrink: 0; }
.topbar:has(#product-updates) > .breadcrumbs { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar:has(#product-updates) > .row { flex-shrink: 0; }
.updates-button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 11px; white-space: nowrap; color: #ddd6ef; background: #201e27; border: 1px solid #3d354d; border-radius: 11px; font-size: 12px; }
.updates-button > svg { width: 16px; height: 16px; color: #c5b0ff; }
.updates-button:hover { background: #30293f; border-color: #ad95ee; }
.updates-new { display: inline-flex; align-items: center; gap: 4px; color: #c5b0ff; font-size: 10px; }
.updates-new[hidden] { display: none; }
.updates-new > span, .updates-live > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.product-updates-dialog { width: min(670px, calc(100vw - 40px)); max-width: 670px; max-height: min(850px, calc(100dvh - 48px)); padding: 0; overflow: hidden; border: 1px solid #474051; border-radius: 22px; background: #151519; color: #f0edf6; }
.product-updates-dialog[open] { display: flex; flex-direction: column; }
.product-updates-dialog::backdrop { background: #050609b8; backdrop-filter: blur(5px); }
.updates-header { position: relative; flex-shrink: 0; padding: 30px 32px 26px; background: radial-gradient(ellipse at 90% 0%, #68558b40, transparent 70%), #1d1b24; border-bottom: 1px solid #36313f; }
.updates-kicker { display: flex; align-items: center; gap: 8px; padding-right: 30px; color: #c0aff1; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; }
.updates-kicker svg { width: 18px; height: 18px; flex-shrink: 0; }
.product-updates-dialog h2 { font-size: 36px; letter-spacing: -1.3px; line-height: 1.1; margin: 16px 30px 8px 0; }
.product-updates-dialog .updates-header p { margin: 0; color: #bcb5c8; font-size: 13px; }
.updates-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 50%; background: #ffffff06; border: 1px solid #ffffff12; font-size: 24px; font-weight: 400; color: #c7c1d2; }
.updates-feed { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px 0; scrollbar-width: thin; scrollbar-color: #55476a transparent; }
.updates-release { position: relative; border-bottom: 1px solid #302c38; padding: 28px 5px; }
.updates-latest { padding: 23px; border: 1px solid #514163; border-radius: 15px; background: linear-gradient(145deg, #292134, #1b1a22 70%); }
.updates-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; color: #afa7bf; font-size: 10px; }
.updates-meta > span { color: #b9a5e8; font-weight: 600; }
.updates-meta time { white-space: nowrap; }
.updates-live { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: #b7dfc5; text-transform: uppercase; letter-spacing: 1.2px; font-size: 9px; font-weight: 650; }
.updates-release h3 { margin: 13px 0 10px; font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -.6px; }
.updates-latest h3 { font-size: 30px; max-width: 330px; letter-spacing: -1px; }
.product-updates-dialog .updates-release p { font-size: 13px; line-height: 1.65; margin: 0; color: #bdb7c8; }
.updates-release ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
.updates-release li { display: flex; align-items: flex-start; gap: 11px; }
.updates-check { display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; width: 20px; height: 20px; border-radius: 6px; color: #c5b0ff; background: #b292ff14; font-size: 11px; }
.updates-release h4 { font-size: 13px; font-weight: 650; margin: 0 0 5px; color: #f1ebfa; }
.product-updates-dialog .updates-end { text-align: center; font-size: 11px; color: #97909f; padding: 6px 0 14px; }
.updates-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #36313f; padding: 18px 28px; background: #1c1b22; }
.updates-footer > span { color: #a9a0b9; font-size: 11px; }
.updates-footer button { padding: 11px 16px; min-height: 42px; font-size: 12px; white-space: nowrap; }
.updates-button:focus-visible, .product-updates-dialog button:focus-visible, .updates-feed:focus-visible { outline: 2px solid #c5b0ff; outline-offset: 3px; }
.product-updates-dialog h2:focus { outline: none; }
@media (min-width: 721px) and (max-width: 1100px) {
  .topbar:has(#product-updates) > .row > .pill { display: none; }
  .updates-new b { display: none; }
}
@media (max-width: 720px) {
  .updates-new b { display: none; }
  .updates-button { padding: 8px 9px; gap: 5px; }
  .product-updates-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 17px; }
  .updates-header { padding: 25px 22px 22px; }
  .product-updates-dialog h2 { font-size: 30px; }
  .updates-kicker { letter-spacing: 1px; font-size: 8px; }
  .updates-close { top: 15px; right: 15px; }
  .updates-feed { padding: 16px 15px 0; }
  .updates-latest { padding: 20px 17px; }
  .updates-latest h3 { font-size: 28px; }
  .updates-release h3 { max-width: 100%; }
  .updates-footer { padding: 14px 20px; }
  .updates-footer > span { display: none; }
  .updates-footer button { width: 100%; }
}
@media (max-width: 420px) {
  .topbar:has(#product-updates) > .breadcrumbs { display: none; }
  .topbar:has(#product-updates) > .row { width: 100%; justify-content: flex-end; gap: 6px; }
  .updates-button > svg { display: none; }
}
@media (max-width: 360px) { .topbar:has(#product-updates) .topbar-create svg { display: none; } }
@media (max-height: 450px) {
  .updates-header { padding: 15px 24px; }
  .product-updates-dialog h2 { font-size: 25px; margin: 6px 30px 0 0; }
  .updates-header > p { display: none; }
  .updates-footer { padding: 10px 24px; }
}
