.skill-library .school-heading{max-width:880px;margin:26px 0 20px}.library-eyebrow{color:#82653d;letter-spacing:.06em;align-items:center;gap:8px;font-size:13px;display:flex}.library-notice{color:#536047;background:#f6f9efeb;border:1px solid #d9decf;border-radius:18px;align-items:center;gap:10px;margin-bottom:24px;padding:14px 18px;font-size:14px;line-height:1.6;display:flex}.library-notice svg{flex:none}.library-layout{grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.skill-library .school-paper-panel{min-width:0;padding:24px}.library-search{background:#fffdf6;border:1px solid #d9cfbc;border-radius:14px;align-items:center;gap:10px;min-height:48px;padding:0 13px;display:flex}.library-search input{width:100%;min-width:0;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;padding:12px 0}.library-search:focus-within{outline-offset:3px;outline:3px solid #ac8957}.library-filters{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.library-filters button{color:#66573f;cursor:pointer;background:#fffaf0;border:1px solid #d8cfba;border-radius:999px;min-height:44px;padding:8px 13px;transition:background .2s,border-color .2s}.library-filters button[aria-pressed=true]{color:#384c3d;background:#dfece0;border-color:#92ad98}.library-count,.library-runtime{color:#706453;font-size:13px;line-height:1.7}.library-count{margin:18px 0 12px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.library-book{text-align:left;color:#403a2e;cursor:pointer;background:linear-gradient(145deg,#fffaf0,#f2eddf);border:1px solid #d9cdb5;border-radius:20px;flex-direction:column;align-items:flex-start;gap:13px;min-height:209px;padding:18px 15px;transition:transform .22s,box-shadow .22s,border-color .22s;display:flex;position:relative;box-shadow:0 5px 12px #614a2310}.library-book:nth-child(3n+2){background:linear-gradient(145deg,#f6fbf1,#e9f1e7)}.library-book:nth-child(3n){background:linear-gradient(145deg,#fff8f3,#f3e8df)}.library-book[aria-pressed=true]{border:2px solid #8da894;padding:17px 14px;box-shadow:0 8px 18px #6a78531e}.library-book-top{letter-spacing:.03em;color:#786348;justify-content:space-between;gap:8px;width:100%;font-size:10px;display:flex}.library-book>svg{color:#95723f}.library-book strong{font-size:16px;line-height:1.45}.library-book-output{color:#6f6250;font-size:12px;line-height:1.7}.library-book small{color:#756754;margin-top:auto;font-size:10px}.library-detail h2,.library-history h2{margin:10px 0 12px;font-family:Songti SC,serif;font-size:26px;line-height:1.4}.library-detail>p{color:#706453;line-height:1.7}.library-boundary{background:#edf3e9;border:1px solid #d7e2d2;border-radius:16px;margin:18px 0;padding:14px 16px;font-size:13px;line-height:1.7}.library-boundary p{color:#5e6855;margin:6px 0 0}.library-source{color:#74592f;align-items:center;gap:7px;min-height:44px;font-size:13px;display:inline-flex}.library-provenance{color:#706453;margin-bottom:20px;font-size:12px;line-height:1.8}.library-provenance summary{cursor:pointer;padding:8px 0}.library-provenance code{overflow-wrap:anywhere;font-size:11px;display:block}.library-course{color:#4d6b51;margin:12px 0 22px;font-size:13px;line-height:1.7;display:block}.library-detail form>label:first-child{margin-bottom:10px;font-size:14px;font-weight:600;display:block}.library-detail textarea{box-sizing:border-box;resize:vertical;color:#403a2e;width:100%;min-height:150px;font:inherit;background:#fffdf7;border:1px solid #d3c9b8;border-radius:14px;padding:14px;font-size:14px;line-height:1.8}:is(.library-detail textarea:focus-visible,.skill-library button:focus-visible,.skill-library a:focus-visible,.skill-library summary:focus-visible){outline-offset:3px;outline:3px solid #ac8957}.library-form-meta{color:#706453;justify-content:space-between;align-items:center;gap:8px;margin:10px 0 18px;font-size:12px;display:flex}.skill-library .school-consent{align-items:flex-start;font-size:12px;line-height:1.8}.library-submit{width:100%;margin-top:14px}.library-history{margin-top:24px}.library-history-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.library-feedback{color:#5b6d50;font-size:13px;line-height:1.7}.library-error{color:#854936;background:#fff1e9;border:1px solid #cda898;border-radius:14px;padding:12px 15px;font-size:13px;line-height:1.8}.library-empty{color:#706453;padding:22px 0;font-size:14px;line-height:1.8}.library-run{background:#fffdf4cc;border:1px solid #ded2ba;border-radius:20px;margin-top:16px;padding:18px}.library-run-heading{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.library-run-heading svg{color:#95723f}.library-run-heading h3{flex:1;min-width:140px;margin:0;font-size:16px}.library-status{color:#556447;background:#eaf1e4;border-radius:999px;padding:6px 10px;font-size:12px}.library-steps{flex-wrap:wrap;gap:12px;margin:18px 0;padding:0;list-style:none;display:flex}.library-steps li{color:#827966;align-items:center;gap:7px;font-size:12px;display:flex}.library-steps li>span,.library-steps li>svg{box-sizing:border-box;border:1px solid #c8c0af;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;padding:3px;display:flex}.library-steps li[data-state=current]{color:#3e6549;font-weight:600}.library-steps li[data-state=done]{color:#4d7657}.library-steps li[data-state=done]>svg{background:#deebde;border-color:#95ac94}.library-run summary{cursor:pointer;padding:10px 0;font-size:14px}.library-output{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit;color:#403a2e;background:#f7f3e8;border-radius:14px;padding:18px;font-size:14px;line-height:1.9}.library-run-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.library-sr{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.skill-library button:disabled{cursor:not-allowed;opacity:.6}.skill-library .school-quiet{min-height:44px}@media (hover:hover){.library-book:hover{transform:translateY(-3px);box-shadow:0 10px 22px #61513218}.library-filters button:hover{background:#eff3e6}}@media (max-width:900px){.library-layout{grid-template-columns:1fr}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-detail{max-width:none}}@media (max-width:650px){.skill-library .school-paper-panel{padding:18px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.library-book{min-height:215px;padding:15px 12px}.library-book[aria-pressed=true]{padding:14px 11px}.library-book-top{font-size:9px}.library-book strong{font-size:15px}.library-history-heading{align-items:flex-start}.library-history h2{font-size:23px}.library-run{padding:14px}.library-layout{gap:18px}.library-notice{font-size:12px}.library-run-actions button{flex:1;min-width:130px}}@media (prefers-reduced-motion:reduce){.library-book,.library-filters button{transition:none}.library-book:hover{transform:none}}.skill-library .school-heading{display:block}.skill-library .school-heading h1{margin:12px 0}.skill-library .school-heading>p{margin-top:10px}.skill-library .library-search{flex-direction:row}.skill-library .library-search input{background:0 0;border:0;border-radius:0;min-height:46px;padding:12px 0;font-size:16px}.skill-library .library-search svg{flex:none}.skill-library .library-detail form{display:block}.skill-library .library-detail textarea{font-size:16px}.skill-library .library-book small{font-size:10px}.skill-library .library-search input:focus-visible{outline:0}.skill-library .library-detail .school-consent{margin:18px 0 8px}.skill-library .library-flashcard{text-align:center;box-shadow:none;isolation:isolate;background:0 0;border:2px solid #0000;align-items:center;gap:12px;min-height:0;padding:20px 14px 16px;overflow:visible}.skill-library .library-flashcard:nth-child(n){background:0 0}.skill-library .library-flashcard[aria-pressed=true]{box-shadow:none;background:#f3f7eb99;border-color:#a8b8a1;padding:20px 14px 16px}.library-card-art{pointer-events:none;width:min(100%,180px);margin:6px 0 8px;overflow:visible}.library-card-art .museum-card-holo-figure{width:100%}.skill-library .library-flashcard strong{margin:0;font-size:15px;line-height:1.5}.library-card-caption{color:#766b57;font-size:11px;line-height:1.5}.skill-library .library-flashcard .library-card-art{pointer-events:auto}.library-grid{gap:16px 12px;padding:8px 0}@media (hover:hover){.skill-library .library-flashcard:hover{box-shadow:none;background:#fffaf080;border-color:#dbcfb9;transform:none}.skill-library .library-flashcard[aria-pressed=true]:hover{border-color:#a8b8a1}}@media (max-width:650px){.skill-library .library-shelf{padding:16px 10px}.skill-library .library-flashcard,.skill-library .library-flashcard[aria-pressed=true]{padding:14px 8px 12px}.library-grid{gap:14px 4px}.skill-library .library-flashcard strong{font-size:13px}.library-card-art{margin:6px 0 8px}}
