.library-mode-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;border:1px solid #eee4d9;border-radius:10px;padding:14px 18px;background:#fffcf7;margin-bottom:24px}.library-mode-bar strong{font-size:11px;color:#b27d52}.library-mode-bar p{font-size:10px;color:#a99a87;margin-top:6px;line-height:1.8}.library-mode-bar label{font-size:9px;color:#aa9c8b;display:flex;align-items:center;gap:8px;white-space:nowrap}.library-mode-bar select{border:1px solid #e5dacd;border-radius:7px;background:#fff;padding:8px 10px;font-size:11px;color:#8a755e;max-width:190px}
.library-intro{display:flex;align-items:center;justify-content:space-between;background:#fff2e5;border-radius:14px;padding:30px 35px;margin-bottom:30px;overflow:hidden}.library-intro h2{font-size:26px;line-height:1.5;letter-spacing:-1px;color:#7d5638;margin-top:10px}.library-intro p{font-size:11px;color:#b0977f;line-height:1.9;margin-top:12px}.library-intro-art{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;color:#d99a64;background:#ffe6ca;border:1px solid #f7dbbc;border-radius:50%;width:180px;height:180px;transform:rotate(8deg)}.library-intro-art svg{width:66px;height:66px;stroke-width:1}.library-intro-art span{font-size:9px;letter-spacing:1px}
.library-filters{display:flex;gap:10px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.library-filters .searchbox{flex:1;min-width:200px;background:#fff}.library-filters .searchbox input{width:100%;font-size:11px;padding:3px 0}.library-filters>select{border:1px solid #e9e4dd;border-radius:7px;background:#fff;padding:10px;font-size:10px;color:#928374;max-width:160px}
.library-empty{border:1px dashed #e7ddd0;border-radius:12px;padding:55px 20px;background:#fffdf9;text-align:center;margin-bottom:25px}.library-empty>svg{width:36px;height:36px;color:#d4b89a;margin-bottom:19px}.library-empty h3{font-size:18px;letter-spacing:-.5px;color:#8f785e}.library-empty p{font-size:11px;line-height:2;color:#ad9c87;margin:12px 0 22px}
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.library-card{border:1px solid #ece6dd;border-radius:12px;overflow:hidden;background:#fff}.library-cover{height:140px;background:#f1ecdf;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px;position:relative;color:#ae9a72}.library-cover>svg{width:45px;height:45px;stroke-width:1.2;position:absolute;right:25px;top:40px;transform:rotate(-10deg)}.library-cover>span{font-size:10px;letter-spacing:1px;margin-bottom:10px}.library-cover>b{font-size:24px;letter-spacing:-.8px;font-weight:600}.library-cover.type-memorization{background:#edf1e5;color:#8f9f77}.library-cover.type-cloze{background:#eaf0f5;color:#8a9eae}.library-cover.type-other{background:#f2eaf3;color:#ae91b2}.library-card-body{padding:18px}.library-card-meta{font-size:9px;color:#b0a38f;margin-bottom:10px}.library-card-open{display:block;width:100%;padding:0;text-align:left}.library-card-open h3{font-size:15px;letter-spacing:-.5px;line-height:1.6;color:#756653;overflow-wrap:anywhere}.library-card-open p{font-size:10px;color:#aaa08f;line-height:1.9;margin-top:9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.library-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:14px}.library-tags span{font-size:9px;border-radius:5px;padding:4px 7px;background:#f7f3ec;color:#b3a083;max-width:100%;overflow-wrap:anywhere}.library-card-foot{border-top:1px solid #f1ece5;margin-top:15px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#b4a68e}.library-card-foot button{display:flex;align-items:center;gap:5px;font-size:9px;color:#c38550}.library-card-foot svg{width:13px;height:13px}.library-tools-note{display:flex;align-items:center;gap:8px;margin-top:25px;color:#b4a38e;font-size:10px;line-height:1.9;padding:15px;border-top:1px solid #f1ede6}.library-tools-note svg{width:17px;height:17px;flex-shrink:0}
.library-admin-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:27px}.library-admin-summary button{border:1px solid #eee6da;border-radius:10px;padding:19px;background:#fffdf8;display:flex;align-items:center;justify-content:space-between;text-align:left}.library-admin-summary span{font-size:11px;color:#ab987f}.library-admin-summary strong{font-size:25px;color:#a57b50}.library-admin-summary button:nth-child(2){background:#f8faf4}.library-admin-summary button:nth-child(3){background:#faf8f5}
.library-table-wrap{border:1px solid #ebe5dc;border-radius:10px;overflow:auto}.library-table{width:100%;border-collapse:collapse;min-width:680px}.library-table th{font-size:10px;text-align:left;background:#fcfaf6;color:#b1a18c;padding:14px 16px;font-weight:500}.library-table td{font-size:11px;color:#a18f76;padding:17px 16px;border-top:1px solid #eee9e2;vertical-align:middle}.library-table td:first-child{width:40%}.library-table small{display:block;font-size:9px;color:#b5a58e;margin-top:8px}.library-table-title{display:block;padding:0;text-align:left;color:#846c4f;font-size:12px;font-weight:550;line-height:1.7}.library-status{font-size:9px;border-radius:5px;padding:5px 8px;white-space:nowrap}.status-published{background:#edf3e7;color:#87a16e}.status-draft{background:#fff0df;color:#c79a64}.status-trashed{background:#f2ece6;color:#b6a18a}.library-row-actions{display:flex;align-items:center;gap:9px;white-space:nowrap}.library-row-actions button{font-size:10px;color:#c0915e;padding:5px 0}.library-row-actions button:hover{text-decoration:underline}.library-audit{margin-top:30px;border:1px solid #eee7dc;border-radius:11px;padding:21px}.library-audit h2{font-size:13px;color:#907b60;margin-bottom:14px}.library-audit h2>span{font-size:9px;color:#b5a690;margin-left:6px;font-weight:400}.library-audit p{font-size:10px;color:#b0a18c;padding:10px 0;border-top:1px solid #f3eee7;overflow-wrap:anywhere}.library-audit strong{font-weight:500;color:#a68a66;margin-right:9px}.library-audit small{display:block;font-size:8px;color:#c0b29d;margin:6px 0 0}
.library-editor{max-width:700px;width:calc(100% - 30px);max-height:calc(100dvh - 40px);overflow:auto}.library-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.library-editor textarea{min-height:100px}.library-editor-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.library-editor-error{font-size:11px;color:#b96a4a;line-height:1.8}.library-editor-error:empty{display:none}.resource-detail{max-width:800px;width:calc(100% - 30px);max-height:calc(100dvh - 40px);overflow:auto}.library-resource-description{font-size:13px;line-height:2;color:#a08a70;white-space:pre-wrap;overflow-wrap:anywhere}.library-detail-files{font-size:13px;color:#a28a6c;margin-top:25px}.resource-detail .media-attachments{padding:15px 0 0}.resource-detail .media-attachment{margin-bottom:9px}
@media(max-width:1050px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-mode-bar{align-items:flex-start;flex-direction:column;gap:12px}.library-intro{padding:25px}.library-intro-art{width:140px;height:140px;flex-shrink:0}.library-intro h2{font-size:23px}}
@media(max-width:700px){.library-intro{padding:25px 22px;min-height:220px}.library-intro h2{font-size:22px}.library-intro p{font-size:10px}.library-intro-art{width:90px;height:90px;margin-right:-12px}.library-intro-art svg{width:38px;height:38px}.library-intro-art span{display:none}.library-grid{grid-template-columns:1fr}.library-cover{height:125px}.library-mode-bar{padding:13px}.library-mode-bar p{font-size:9px}.library-mode-bar label{width:100%;justify-content:space-between}.library-mode-bar select{font-size:10px}.library-filters{gap:8px}.library-filters .searchbox{flex-basis:100%}.library-filters>select{flex:1;max-width:none;min-width:0;font-size:9px;padding:9px 7px}.library-admin-summary{gap:9px}.library-admin-summary button{padding:15px 12px;flex-direction:column;align-items:flex-start;gap:10px}.library-admin-summary strong{font-size:21px}.library-admin-summary span{font-size:10px}.library-editor-grid{gap:12px}.library-editor-footer{flex-wrap:wrap}.library-empty{padding:40px 15px}.library-empty h3{font-size:16px}}
