.updates-screen{max-width:1060px;margin:0 auto;color:var(--ink)}
.updates-filters{display:flex;align-items:end;gap:16px;max-width:none;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:12px}
.updates-filters label{margin:0;flex:1;font-size:12px;font-weight:700}.updates-filters label:first-child{flex:2}.updates-filters input,.updates-filters select{width:100%;min-height:44px;margin-top:6px}.updates-filters button{min-height:44px}
.updates-count{font-size:12px;color:var(--muted);margin:20px 0 4px;font-variant-numeric:tabular-nums}.update-entry{padding:28px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.update-meta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;color:var(--muted);font-size:12px}.update-meta time{font-variant-numeric:tabular-nums}.update-badge{padding:4px 8px;border-radius:5px;font-weight:700}.update-bugfix{background:var(--blue-bg);color:var(--blue)}.update-improvement{background:var(--teal-bg);color:var(--accent)}.update-entry h2{font-size:22px;letter-spacing:-.02em;line-height:1.4;margin:14px 0 8px}.update-summary,.update-detail p{font-size:14px;line-height:1.75;max-width:72ch;white-space:pre-wrap;margin:8px 0 16px}.update-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.update-actions button{min-height:44px}.updates-delete{color:var(--rose)}.updates-no-image{font-size:12px;color:var(--muted);margin:12px 0 18px}.update-detail{margin-top:20px;padding:12px 0 0;border-top:1px solid var(--line)}.updates-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 20px}.updates-images figure,.updates-dialog figure{margin:0}.updates-image{display:block;width:100%;padding:0;overflow:hidden;background:var(--soft)}.updates-image img{display:block;width:100%;height:210px;object-fit:contain}.updates-images figcaption,.updates-dialog figcaption{color:var(--muted);font-size:12px;line-height:1.6;margin-top:8px}.updates-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:28px 0;font-size:13px;font-variant-numeric:tabular-nums}.updates-status{padding:32px 0;line-height:1.7;color:var(--muted)}.updates-dialog{width:min(850px,calc(100vw - 32px));color:var(--ink);background:var(--surface)}.updates-dialog p{line-height:1.7;overflow-wrap:anywhere}.updates-dialog img{display:block;max-width:100%;max-height:70dvh;margin:auto;object-fit:contain}.updates-dialog figure{margin-bottom:20px}.updates-dialog [role=alert]{color:var(--rose)}.updates-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.updates-screen :focus-visible,.updates-dialog :focus-visible{outline:2px solid var(--focus);outline-offset:3px}.updates-screen ::selection,.updates-dialog ::selection{background:var(--accent);color:var(--surface)}
/* Developers also read Updates from the secondary module menu. Other buttons
   retain their existing hidden attributes and server permission checks. */
.development-only .module-nav .nav-tools{display:flex!important}.development-only .module-nav .nav-tools>button[hidden]{display:none!important}.development-only.updates-active .heading{display:flex!important}
.development-only .updates-pagination{display:flex!important}
@media(max-width:600px){.updates-filters{flex-wrap:wrap;gap:12px;padding-top:8px}.updates-filters label:first-child{flex-basis:100%}.updates-filters label{min-width:0}.updates-filters button{flex:0 0 auto}.update-entry{padding:24px 0}.update-entry h2{font-size:20px}.updates-images{grid-template-columns:1fr}.updates-pagination{gap:10px}.updates-pagination button{min-height:44px}.updates-dialog{padding:20px}.update-meta{gap:8px}}
