/* P0-4: explicit library multi-select and soft-delete batch action. */
.library-batch-toggle { min-height:28px; padding:0 9px; border:1px solid #e1e6ef; border-radius:8px; background:#fff; color:#667489; font:inherit; font-size:11px; cursor:pointer; }
.library-batch-toggle[aria-pressed="true"] { border-color:#b9b0e9; background:#f2effc; color:#5b4fa5; }
.library-batch-bar { display:flex; align-items:center; flex-wrap:nowrap; gap:5px; width:100%; max-width:100%; box-sizing:border-box; overflow-x:auto; margin:7px 0 0; padding:7px 9px; border:1px solid #e3e7f0; border-radius:9px; background:#fbfcfe; scrollbar-width:thin; }
.library-batch-bar[hidden] { display:none!important; }
.library-batch-bar b { margin-right:4px; color:#536074; font-size:11px; font-weight:600; }
.library-batch-bar button { flex:0 0 auto; min-height:27px; padding:0 8px; border:1px solid #e1e6ef; border-radius:7px; background:#fff; color:#647287; font:inherit; font-size:10px; cursor:pointer; }
.library-batch-bar button.danger { margin-left:auto; border-color:#e6caca; background:#fff8f7; color:#9b4545; }
.library-batch-bar button:disabled { opacity:.5; cursor:not-allowed; }
.library-section .asset-library-select { position:absolute; z-index:5; top:8px; left:8px; display:grid; width:22px; height:22px; padding:0; place-items:center; border:1px solid #d7deea; border-radius:7px; background:rgba(255,255,255,.94); color:#fff; font:inherit; font-size:12px; cursor:pointer; }
.asset-card.library-select-mode .asset-library-select { border-color:#a99fe3; background:#6f63c8; }
.asset-card.library-select-mode .asset-thumb { outline:1px solid rgba(111,99,200,.16); }
.asset-card.library-select-mode.library-selected .asset-thumb { box-shadow:0 0 0 2px #8f82e8; }
@media (max-width:768px) { .library-batch-bar { gap:4px; padding:6px 7px; } .library-batch-bar b { flex:0 0 auto; } .library-batch-bar button.danger { margin-left:0; } }
.library-section .asset-canvas-select { display:none!important; }
