/* Explicit labels in a responsive footer. Does not reveal unauthorized actions. */
.sidebar-footer .sd-foot{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
.sidebar-footer .sd-foot .sd-foot-btn{min-height:34px!important;height:auto!important;min-width:0;width:100%;padding:5px 2px!important;white-space:normal!important;line-height:1.3!important;font-size:10px!important;}
.sidebar-footer .sd-foot [hidden]{display:none!important;}
#yabox-footer-dialog{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:24px;background:var(--y-surface,#fff);color:var(--y-text,#111827);border:1px solid var(--y-border,#dce1e8);border-radius:14px;line-height:1.6;}
#yabox-footer-dialog::backdrop{background:rgba(15,23,42,.6);}
.footer-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;}
.footer-dialog-heading h2{font-size:19px;margin:0;}
.footer-dialog-heading button{min-height:44px;padding:8px 14px;border:1px solid var(--y-border,#dce1e8);border-radius:8px;background:var(--y-surface,#fff);color:var(--y-text,#111827);cursor:pointer;}
#yabox-footer-dialog :is(ul,dl,p){margin:10px 0;}#yabox-footer-dialog ul{padding-left:22px;}#yabox-footer-dialog dd{margin:0 0 10px;font-weight:700;}#yabox-footer-dialog kbd{padding:2px 6px;border:1px solid var(--y-border,#dce1e8);border-radius:4px;}
