/* Community icons 162: keep runtime button padding from shrinking SVG content. */
.runtime .community-managed-card{padding-right:62px!important;padding-bottom:76px!important;min-height:165px}
.runtime .community-managed-card>button.community-pencil,
.runtime .community-managed-card>button.community-delete{
 display:inline-flex!important;align-items:center;justify-content:center;
 box-sizing:border-box;width:36px!important;height:36px!important;
 min-width:36px;min-height:36px;max-width:36px;max-height:36px;
 padding:7px!important;gap:0;line-height:1;overflow:visible;
 border-radius:9px;right:12px;flex:none;
}
.runtime .community-managed-card>button.community-pencil{top:12px;background:var(--surface,var(--card));color:var(--text,var(--ink));border:1px solid var(--line)}
.runtime .community-managed-card>button.community-delete{bottom:12px;background:#fff1f3;color:#bd344e;border:1px solid #e4a6af}
.runtime .community-managed-card>button.community-pencil>svg,
.runtime .community-managed-card>button.community-delete>svg{
 display:block!important;visibility:visible!important;opacity:1!important;
 box-sizing:content-box;width:20px!important;height:20px!important;
 min-width:20px;min-height:20px;max-width:none;max-height:none;
 flex:0 0 20px;overflow:visible;fill:none;stroke:currentColor;
 stroke-width:1.8;pointer-events:none;
}
.runtime .community-managed-card>.community-managed-state{right:60px;top:19px}
.runtime .community-managed-card>.community-managed-actions{bottom:17px;max-width:calc(100% - 90px);flex-wrap:wrap}
html[data-theme="dark"] .runtime .community-managed-card>button.community-delete{color:#ff94a7;background:#3b222b;border-color:#794153}
@media(max-width:500px){
 .runtime .community-managed-card>h4{max-width:none}
 .runtime .community-managed-card>.community-managed-state{position:static;display:inline-block;margin:0 0 12px}
}

.runtime .community-managed-card .community-managed-actions .community-open-switch{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-width:84px;padding:5px 9px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--muted);font-size:11px;line-height:1.5}
.runtime .community-managed-card .community-open-switch[aria-checked="true"]{background:var(--greenbg);border-color:var(--green);color:var(--green);flex-direction:row-reverse}
.runtime .community-managed-card .community-open-switch .private-switch-thumb{width:14px;height:14px;flex:0 0 14px;border-radius:50%;background:currentColor}
