.library-tools{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;background:#142235;border:1px solid var(--line);padding:20px;border-radius:12px;margin:22px 0}.library-tools label{display:flex;gap:10px;align-items:center;color:#c9d7e4;font-weight:600}.library-tools label .icon{color:var(--mint)}.library-tools input{flex:1;min-width:210px;border:1px solid #46566e;border-radius:8px;background:#0d1828;padding:13px 16px;color:#edf5ff;font:inherit}.library-tools input::placeholder{color:#aab8ca}.library-tools p{font-size:.8rem;color:#b4c5d6}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.library-card{border:1px solid #31425a;background:#142235;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:12px}.library-card[hidden]{display:none}.library-card h2{font-size:1.3rem;line-height:1.25}.library-card>p:not(.eyebrow){color:#b8c8d9;line-height:1.6;font-size:.9rem}.library-card .eyebrow{font-size:.65rem;color:var(--mint)}.library-topics{display:flex;flex-wrap:wrap;gap:6px;margin:3px 0 8px}.library-topics span{font-size:.72rem;background:#0d1929;border:1px solid #34465d;color:#bfcede;padding:5px 8px;border-radius:5px}.library-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.library-actions button{font-size:.78rem}.library-empty{padding:30px;border:1px dashed #56708c;border-radius:12px;color:#bfcfe0}.study-dialog{width:min(900px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #415974;border-radius:15px;background:#101c2e;color:#e5eef9;overflow:auto}.study-cover{position:relative;min-height:220px;isolation:isolate;display:flex;align-items:flex-end;padding:35px}.study-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.study-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#101c2efc,#101c2e45);z-index:-1}.study-cover h2{font-size:2rem;margin-top:10px;max-width:650px}.study-content>section{display:flex;gap:19px;margin:0 0 27px}.study-number{font-size:.78rem;color:var(--mint);padding-top:5px;letter-spacing:.1em}.study-content h3{font-size:1.25rem;margin-bottom:10px}.study-content p{line-height:1.8;color:#bfcede}.study-example{padding:22px;border-left:3px solid var(--mint);background:#1a3040;border-radius:0 9px 9px 0;margin:24px 0}.study-example .eyebrow{color:var(--mint);font-size:.7rem;margin-bottom:10px}.study-note{font-size:.79rem;margin:22px 0}.study-open{margin:0 12px 12px 0}.review-content>p{color:#c0d0e0;line-height:1.7;margin:14px 0 24px}.review-item{border:1px solid #385069;border-radius:9px;margin:12px 0;background:#15263b}.review-item.wrong{border-color:#886950}.review-item summary{cursor:pointer;padding:17px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;line-height:1.6}.review-item summary>span{display:flex;align-items:flex-start;gap:10px}.review-item summary .icon{flex-shrink:0;margin-top:3px;color:var(--mint)}.review-item.wrong summary .icon{color:var(--gold)}.review-item summary small{font-size:.7rem;white-space:nowrap;color:#b8c9db}.review-item>div{padding:0 20px 16px 50px}.review-item>div p{margin:10px 0;color:#c9d8e5;line-height:1.7}.review-item>div strong{color:#eff7ff}.review-content .result-actions{margin-top:28px}
@media(max-width:1150px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.library-grid{grid-template-columns:1fr}.library-tools{padding:17px}.library-tools input{flex-basis:100%;min-width:0;width:100%}.library-tools p{width:100%}.library-card{padding:22px}.study-cover{padding:28px 23px;min-height:200px}.study-cover h2{font-size:1.7rem}.study-content>section{gap:13px}.study-content p{font-size:.95rem}.study-example{padding:18px}.review-item summary{flex-direction:column;gap:7px;padding:15px}.review-item summary small{margin-left:34px}.review-item>div{padding:0 15px 16px}.review-content h2{font-size:1.6rem}.study-dialog{width:calc(100% - 12px);max-height:calc(100dvh - 12px)}.study-open{width:100%}.study-content .result-actions{align-items:stretch}.study-content .result-actions button{width:100%}.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}.sidebar .nav-item{min-width:0;padding-left:3px;padding-right:3px}.sidebar .nav-item span{font-size:.57rem}}

@media(max-width:760px){.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}.sidebar .nav-item{min-width:0;padding-left:3px;padding-right:3px}.sidebar .nav-item span{font-size:.57rem}}
