/* Compact labels without reducing mobile touch targets or clipping content. */
:is(.modern-shell,#modal,.filter-modal,#notification-center,#pwa-install) .btn{min-width:44px;min-height:44px;max-width:100%;padding:6px 10px;gap:6px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
:is(.modern-shell,#modal,.filter-modal,#notification-center,#pwa-install) .btn:not(.icon-action):not(.header-menu):not(.header-back):not(.notification-bell):not(.vote-controls .btn){font-size:.8125rem}
:is(.modern-shell,#modal,.filter-modal,#notification-center,#pwa-install) .btn.small:not(.icon-action):not(.vote-controls .btn){font-size:.8rem}
.modern-shell .member-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));min-width:0}
.modern-shell .member-card{min-width:0}
.modern-shell .member-card h3{overflow-wrap:anywhere}
.modern-shell .member-card>.btn{margin-top:4px}
/* Keep reading focus semantic without drawing a frame around the whole page. */
.modern-shell #workspace:focus,.modern-shell #workspace:focus-visible{outline:none}
html:has(.modern-shell){font-size:93.75%}
.list-add-rail{position:sticky;bottom:max(12px,env(safe-area-inset-bottom));z-index:9;display:flex;justify-content:flex-end;grid-column:1/-1;margin-top:12px;padding:4px 0;pointer-events:none}
.list-add-rail>.btn{pointer-events:auto;box-shadow:0 3px 14px #0008;max-width:calc(100% - 12px)}
@media print{.list-add-rail{display:none!important}}
:is(.modern-shell,.landing-shell) .btn.auth-required-action{position:relative;color:var(--muted);opacity:.65;background:transparent;cursor:pointer}
.auth-required-action .auth-action-lock{position:absolute;right:2px;bottom:2px;font-size:.55rem;background:var(--panel,#242127);border-radius:3px;padding:2px}
:is(.modern-shell,.landing-shell) .btn.auth-required-action:hover,:is(.modern-shell,.landing-shell) .btn.auth-required-action:focus-visible{opacity:1}
