/* Only the update panel is styled; existing Ghost typography is inherited. */
#comm-updates .comm-update-section { margin-top: 28px; }
#comm-updates .comm-update-section h3 { margin-bottom: 16px; }
#comm-updates .comm-update-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 30px; }
#comm-updates .comm-update-action > button { flex: 0 0 auto; }
#comm-updates .comm-update-feedback { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 12px; border-radius: 8px; overflow-wrap: anywhere; }
#comm-updates .comm-update-feedback[hidden] { display: none; }
#comm-updates .comm-update-feedback[data-state="success"] { color: #116347; background: #eaf7f0; border: 1px solid #b8e2cd; }
#comm-updates .comm-update-feedback[data-state="error"] { color: #a22242; background: #fff0f3; border: 1px solid #f0bdca; }
#comm-updates .comm-update-feedback[data-state="busy"] { color: #244661; background: #edf4fb; border: 1px solid #caddef; }
#comm-updates .comm-update-feedback[data-state="info"] { color: #49617b; background: #f2f6fa; }
#comm-updates .comm-update-feedback[data-state="busy"]::before { content: ""; display: inline-block; width: 14px; height: 14px; flex: 0 0 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: comm-update-spin .8s linear infinite; }
#comm-updates .comm-update-choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; margin: 10px 0; border: 1px solid #dce6f2; border-radius: 10px; cursor: pointer; }
#comm-updates .comm-update-choice input[type="checkbox"] { width: 18px; min-width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; }
#comm-updates .comm-update-choice > span { flex: 1; min-width: 0; line-height: 1.55; overflow-wrap: anywhere; }
#comm-updates .comm-update-warning { margin: 20px 0 24px; padding: 14px 16px; border: 1px solid #ecd28d; border-left: 4px solid #e8bb3b; border-radius: 10px; background: #fff9e8; color: #5e4a19; }
#comm-updates .comm-update-warning p { margin: 8px 0 0; }
#comm-updates .comm-update-release { margin: 18px 0; padding: 14px 0; border-top: 1px solid #e0e8f2; }
#comm-updates .comm-update-download-link:empty { display: none; }
#comm-updates button:disabled { cursor: wait; opacity: .65; }
@keyframes comm-update-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #comm-updates .comm-update-feedback[data-state="busy"]::before { animation: none; } }

/* The local list refresh is distinct from the yellow global page refresh. */
#comm-updates button.comm-update-refresh { background: #d7157c; border-color: #d7157c; color: #fff; }
#comm-updates button.comm-update-refresh:hover { background: #b31570; border-color: #b31570; }
#comm-updates button.comm-update-refresh:focus-visible { outline: 3px solid #ffda46; outline-offset: 3px; }
#comm-updates .comm-update-auto-note { color: #49617b; }
#comm-updates .comm-update-device-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#comm-updates .comm-update-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid #dce6f2; color: #49617b; background: #f2f6fa; }
#comm-updates .comm-update-badge[data-state="pending"] { color: #755600; background: #fff6d5; border-color: #ead493; }
#comm-updates .comm-update-badge[data-state="updated"] { color: #116347; background: #eaf7f0; border-color: #b8e2cd; }
#comm-updates .comm-update-badge[data-state="error"] { color: #a22242; background: #fff0f3; border-color: #f0bdca; }
