.library-search{background:#eaf1ff;border:1px solid #aac0ed;border-radius:10px;padding:24px;margin-bottom:24px}.library-search>label{display:block;font-weight:700;margin-bottom:10px}.library-search textarea{width:100%;min-height:112px;resize:vertical;background:white;border:1px solid #c6d1e5;border-radius:6px;padding:14px;font:inherit;box-sizing:border-box}.library-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:16px 0}.library-filters label{display:grid;gap:5px;font-size:13px;font-weight:600}.library-filters select{max-width:260px;padding:10px;border:1px solid #c6d1e5;border-radius:5px;background:white;font:inherit}.library-filters .library-exact{display:flex;align-items:center;padding:10px 0}.library-buttons{display:flex;gap:12px;flex-wrap:wrap}.library-buttons button,#library-more,.library-actions button{cursor:pointer;border:1px solid #3263cb;border-radius:5px;padding:10px 18px;background:#3263cb;color:white;font:inherit;font-size:13px;font-weight:700}.library-buttons button[type=button],.library-actions button{background:white;color:#2855a8}.library-note{font-size:13px;color:#4c5e78;line-height:1.6}.library-card{border:1px solid #dce2eb;border-radius:9px;padding:24px;margin:18px 0;background:white;overflow-wrap:anywhere}.library-card h3{font-size:21px;line-height:1.4;margin:8px 0 16px}.library-badge{font-size:11px;color:#36578d;font-weight:700;letter-spacing:.4px}.library-metadata{display:grid;grid-template-columns:85px 1fr;gap:6px 16px;font-size:14px}.library-metadata dt{font-weight:700}.library-metadata dd{margin:0}.library-url{font-size:13px}.library-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin:16px 0}.library-actions a{font-weight:700;font-size:14px}.library-match{padding:15px;background:#f5f7fa;border-left:3px solid #7b9bce;margin:12px 0;font-size:13px}.library-excerpt{white-space:pre-wrap;line-height:1.8;font-size:14px;margin-bottom:0}.library-excerpt mark{background:#fff0a5;color:#1e293b}.library-card details{font-size:12px;color:#58657a}.library-card summary{cursor:pointer}.library-card details p{margin:8px 0}#library-status{font-size:14px;font-weight:600}#library-more[hidden]{display:none}.library-search :focus-visible,.library-card :focus-visible{outline:3px solid #e09a2d;outline-offset:3px}@media(max-width:600px){.library-search,.library-card{padding:16px}.library-filters{display:grid}.library-filters select{max-width:100%;width:100%}.library-metadata{grid-template-columns:65px 1fr}}
.library-websites{margin:20px 0;padding:18px;background:#f3f6fb;border-radius:8px}.library-websites h4{margin:0 0 12px}.library-websites p{font-size:13px;margin:8px 0}.library-website-match{border-bottom:1px solid #dce2eb;padding:12px 0}.library-websites details{margin-top:14px}.library-websites button{background:white;border:1px solid #3263cb;color:#2855a8;border-radius:5px;padding:8px 12px;font:inherit;font-size:12px;cursor:pointer}.library-websites a{font-weight:600}
.library-card h4{margin:18px 0 8px}.library-card details label{display:block;margin:12px 0;font-weight:600}.library-card details textarea,.library-card details select,.library-card details input{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:6px;padding:8px;font:inherit}.library-card details button{padding:8px 12px;cursor:pointer}
