/* Red is reserved for unread updates; work statuses retain their own colors. */
:root{--hm-alert:#d93643}
.attention-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:var(--hm-alert);color:#fff;font:750 11px/1 var(--sans,system-ui);letter-spacing:0;vertical-align:middle}
.attention-badge[hidden]{display:none!important}
.dock-symbol{position:relative;overflow:visible}
.dock-symbol>.attention-badge{position:absolute;top:-7px;right:-11px;min-width:19px;height:19px;border:2px solid var(--hm-paper,#faf9f7);padding:0 4px;font-size:9px;box-sizing:content-box}
.dock-client-option>.attention-badge{margin-left:auto}
.shell .notification-count,.shell .notification-unread-dot,.shell .unread-bubble,.shell .chat-launcher>b,.shell .day-update-count{background:var(--hm-alert);color:white}
.shell .notification-count{box-shadow:none;font-size:10px}
.shell .chat-launcher>b{min-width:22px;height:22px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:11px}
.library-folder-title{display:flex;gap:9px;align-items:center;min-width:0}.library-folder-title strong{min-width:0;flex:1}
.library-row-name .attention-badge,.library-gallery-folders .attention-badge,.card-title .attention-badge{margin-left:8px}
.library-header-actions{display:flex;gap:10px;align-items:center}.library-header-actions>.overflow-menu>summary{width:44px;height:44px;box-sizing:border-box}
.library-header-actions .overflow-menu-items{z-index:40;min-width:210px;max-width:calc(100vw - 40px)}
.library-folder-context{margin:0 0 16px;color:var(--hm-muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){.library-header{gap:14px}.library-header-actions{width:100%;justify-content:flex-end}.library-header-actions>.btn.primary{margin-right:auto}.library-header-actions .overflow-menu-items{right:0;left:auto}}
