.library-page{padding:.5rem 0 1rem;width:100%}.library-header{align-items:center;display:flex;flex-wrap:wrap;gap:.8rem;margin-bottom:1.2rem}.library-header h1{color:var(--text);font-size:1.3rem;font-weight:700;margin:0;white-space:nowrap}.library-tabs{background:var(--toggle-bg);border-radius:.6rem;display:flex;gap:0;padding:.2rem}.library-tab{background:transparent;border:none;border-radius:.42rem;color:var(--muted);cursor:pointer;font-size:.85rem;font-weight:600;padding:.35rem .85rem;transition:background .2s ease,color .2s ease}.library-tab:hover{color:var(--text)}.library-tab-active{background:var(--surface);box-shadow:0 1px 3px #00000014;color:var(--text)}.library-search{flex:1 1 400px}.library-edit-form{display:flex;flex-direction:column;gap:.8rem}.library-edit-field label{color:var(--text);display:block;font-size:.85rem;font-weight:600;margin-bottom:.3rem}.library-edit-field input[type=text],.library-edit-field textarea{background:var(--surface);border:1px solid var(--border);border-radius:.52rem;box-sizing:border-box;color:var(--text);font-size:.88rem;padding:.45rem .8rem;width:100%}.library-edit-field textarea{min-height:80px;resize:vertical}.library-edit-checkbox{align-items:center;display:flex;gap:.5rem}.library-edit-checkbox label{color:var(--text);font-size:.85rem;font-weight:600}
