.library-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 170px 190px auto;gap:10px;margin:12px 0 28px;padding:14px;border:1px solid #dce5f1;border-radius:14px;background:#fff}.library-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.sheet-card{display:block;padding:23px;border:1px solid #dce5f1;border-top:3px solid #477ed1;border-radius:16px;background:#fff;color:#173654;transition:.18s}.sheet-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px #173b6812}.sheet-card.category-grammaire{border-top-color:#4c9870}.sheet-card.category-vocabulaire{border-top-color:#d69a39}.sheet-icon,.study-symbol{display:grid;place-items:center;width:48px;height:48px;margin-bottom:15px;border-radius:13px;background:#edf4ff;color:#2463c9;font:800 18px Manrope}.sheet-card h2{margin:15px 0 8px;font-size:20px}.sheet-card p{min-height:70px;color:#687a91;font-size:14px}.sheet-meta{display:flex;justify-content:space-between;padding-top:13px;border-top:1px solid #edf1f6;color:#6d7f96;font-size:12px}.study-hero{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center;margin:42px 0 25px;padding:28px;border:1px solid #c2d5f0;border-radius:19px;background:linear-gradient(135deg,#eef6ff,#fff)}.study-symbol{width:72px;height:72px;margin:0;font-size:28px}.study-hero h1{margin:6px 0}.study-hero p{margin:0;color:#63768e}.study-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.study-panel{padding:24px;border:1px solid #dce5ef;border-radius:17px;background:#fff}.study-panel.mistakes{grid-column:1/-1;background:#fff9f3}.study-panel li{margin:9px 0}.example-line{margin:10px 0;padding:14px;border-left:4px solid #4d83d4;background:#f5f9ff;font-weight:650}.mini-quiz{max-width:850px;margin:38px auto}.mini-quiz .choices button{display:flex;align-items:center;gap:12px;width:100%;padding:13px;border:1px solid #d8e2ee;border-radius:11px;background:#fff;color:#213750;text-align:left;font:inherit}.mini-quiz .choices button b{display:grid;width:31px;height:31px;place-items:center;border-radius:8px;background:#edf4ff;color:#245fc6}.mini-quiz .choices button.correct{border-color:#37a36b;background:#edf9f2}.mini-quiz .choices button.incorrect{border-color:#db866a;background:#fff3ee}.mini-feedback{margin:15px 0;padding:14px;border-radius:10px;background:#edf4ff}.mini-feedback p{margin:5px 0}.mini-result{text-align:center}.mini-result .score{font-size:3rem}@media(max-width:900px){.library-categories{grid-template-columns:repeat(2,1fr)}.library-toolbar{grid-template-columns:1fr 1fr}.library-toolbar input{grid-column:1/-1}}@media(max-width:620px){.library-categories,.study-grid,.library-toolbar,.study-hero{grid-template-columns:1fr}.study-panel.mistakes{grid-column:auto}.sheet-card p{min-height:0}}

/* Bibliothèque guidée */
.library-home{max-width:1220px;margin:26px auto}.library-resume{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:25px 28px;border:1px solid #bfd2ef;border-radius:18px;background:linear-gradient(120deg,#edf5ff,#fff)}.resume-icon{display:grid;width:56px;height:56px;place-items:center;border-radius:16px;background:#2563eb;color:#fff}.resume-icon svg{width:26px}.library-resume h2{margin:6px 0 2px;font-size:23px}.library-resume p{margin:0;color:#697b92}.library-section{margin:43px 0}.library-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:20px}.library-heading h2{margin:6px 0 0;font-size:25px}.library-heading p{max-width:400px;margin:0;color:#748399;text-align:right}.library-kicker{color:#2463c9;font-size:11px;font-weight:800;letter-spacing:1.5px}.level-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.level-picker a{display:grid;gap:4px;padding:16px 13px;border:1px solid #dce5f1;border-radius:13px;background:#fff;color:#283d58}.level-picker a:hover,.level-picker a.active{border-color:#5d8ee3;background:#eef5ff;transform:translateY(-2px)}.level-picker strong{font-size:19px;color:#225bbd}.level-picker span{min-height:40px;font-size:12px;line-height:1.35}.level-picker small{color:#8594a8}.objective-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.objective-card{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:center;padding:22px;border:1px solid #dce5f1;border-radius:15px;background:#fff;color:#263c57}.objective-card svg{width:31px;color:#2765ce}.objective-card strong,.objective-card small{display:block}.objective-card strong{margin-bottom:4px;font-size:18px}.objective-card small{color:#74849a}.recommended-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.path-step{position:relative;padding-top:19px}.path-step>span{position:absolute;z-index:2;top:0;left:16px;display:grid;width:35px;height:35px;place-items:center;border:4px solid #f6f8fc;border-radius:50%;background:#2463c9;color:#fff;font-weight:800}.sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.sheet-card{padding:0;overflow:hidden}.sheet-card-body{padding:21px}.sheet-cover{display:block;height:145px;overflow:hidden;background:#eaf1fa}.sheet-cover img{width:100%;height:100%;object-fit:cover}.sheet-card-top{display:flex;align-items:center;gap:8px;color:#506a89;font-size:11px;font-weight:800;text-transform:uppercase}.sheet-card-top svg{width:21px;color:#2864c8}.sheet-card-top b{margin-left:auto;padding:4px 8px;border-radius:7px;background:#edf3fb;color:#2458aa}.sheet-card-body>strong{display:inline-block;margin-top:14px;color:#245fc6;font-size:13px}.sheet-status{color:#8a6a25}.library-toolbar{position:relative;margin-bottom:12px}.library-toolbar input{padding-left:36px}.search-icon{position:absolute;z-index:2;top:25px;left:27px;color:#73839a}.library-count{color:#718197;font-size:13px}
/* Progression */
.progress-dashboard{max-width:1220px;margin:25px auto}.progress-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:27px 30px;border-radius:18px;background:linear-gradient(120deg,#123b86,#2766d8);color:#fff}.progress-welcome h2{margin:5px 0;font-size:27px}.progress-welcome p{margin:0;color:#cfe0ff}.progress-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.progress-stats article{display:flex;align-items:center;gap:13px;padding:19px;border:1px solid #dce5ef;border-radius:14px;background:#fff}.progress-stats svg{width:25px;color:#2764cb}.progress-stats strong,.progress-stats span{display:block}.progress-stats strong{font:800 24px Manrope}.progress-stats span{color:#748399;font-size:12px}.progress-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:17px}.progress-panel{margin:17px 0;padding:24px;border:1px solid #dce5ef;border-radius:17px;background:#fff}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-heading h2{margin:4px 0 14px;font-size:21px}.panel-heading>a{color:#2463c9;font-size:13px;font-weight:700}.time-chip,.status{padding:6px 9px;border-radius:20px;background:#edf4ff;color:#245bb3;font-size:11px;font-weight:700}.review-card{padding:18px;border-radius:13px;background:#f4f8ff}.review-card h3{margin:8px 0 5px}.review-card p{color:#687b92}.review-card a{color:#245fc6;font-weight:700}.review-priority{color:#2862be;font-size:10px;font-weight:800;letter-spacing:1.2px}.empty-state{display:flex;align-items:center;gap:14px;color:#65788f}.empty-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#e9f8f1;color:#22835e;font-weight:800}.skill-rings{display:flex;justify-content:space-around;gap:13px;text-align:center}.skill-ring i{display:grid;width:86px;height:86px;margin:auto;place-items:center;border-radius:50%;background:conic-gradient(var(--ring) calc(var(--value)*1%),#e8edf5 0);font-style:normal}.skill-ring i:before{content:"";position:absolute;width:65px;height:65px;border-radius:50%;background:#fff}.skill-ring strong{position:relative}.skill-ring span{display:block;max-width:105px;margin:9px auto;color:#687a91;font-size:11px}.badge-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.badge{display:grid;gap:5px;padding:16px;border:1px solid #e1e6ee;border-radius:13px;background:#fafbfd;color:#8793a5}.badge>span{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:#edf0f5;font-size:19px}.badge small{font-size:11px}.badge.earned{border-color:#c7d9f4;background:#f2f7ff;color:#294d80}.badge.earned>span{background:#dceaff;color:#255dbd}.attempt-table{overflow:hidden;border:1px solid #e2e8f0;border-radius:12px}.attempt-head,.attempt-table article{display:grid;grid-template-columns:1fr 140px 90px 145px;gap:12px;align-items:center;padding:13px 16px}.attempt-head{background:#f5f7fb;color:#748399;font-size:11px;font-weight:700;text-transform:uppercase}.attempt-table article{border-top:1px solid #edf0f4}.attempt-table article>div{display:grid;gap:5px}.attempt-table .pill{width:max-content}.status.mastered{background:#e9f8f0;color:#217653}.status.review{background:#fff1e7;color:#a75a24}
@media(max-width:1000px){.level-picker{grid-template-columns:repeat(3,1fr)}.recommended-path{grid-template-columns:repeat(2,1fr)}.sheet-grid{grid-template-columns:repeat(2,1fr)}.progress-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.objective-grid{grid-template-columns:repeat(2,1fr)}.progress-columns{grid-template-columns:1fr}.library-heading{align-items:start;flex-direction:column}.library-heading p{text-align:left}}@media(max-width:650px){.library-resume,.objective-grid,.sheet-grid,.level-picker,.recommended-path{grid-template-columns:1fr}.library-resume .button{justify-self:start}.progress-welcome{align-items:start;flex-direction:column}.progress-stats,.badge-row{grid-template-columns:1fr 1fr}.attempt-head{display:none}.attempt-table article{grid-template-columns:1fr 1fr}.skill-rings{flex-wrap:wrap}}
.library-intro{max-width:1220px;margin:0 auto;color:#687b92;font-size:16px}.learning-guide{margin:25px 0;padding:25px;border:1px solid #c9d9ee;border-radius:18px;background:linear-gradient(135deg,#fff,#f2f7ff)}.learning-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.learning-guide-grid article{display:flex;align-items:center;gap:13px;padding:17px;border-radius:13px;background:#fff}.learning-guide-grid article>span{font-size:24px}.learning-guide-grid strong,.learning-guide-grid small{display:block}.learning-guide-grid strong{font:800 22px Manrope;color:#173f73}.learning-guide-grid small{color:#6a7d94}.learning-guide-actions{display:flex;gap:14px;align-items:center;margin-top:17px}.textbutton{border:0;background:transparent;color:#245fc6;font-weight:750;cursor:pointer}.sheet-history{display:grid;gap:6px;margin-top:10px;color:#63758b;font-size:11px}.sheet-history i{height:5px;overflow:hidden;border-radius:99px;background:#e5ebf3}.sheet-history i b{display:block;height:100%;border-radius:inherit;background:#3478d4}.show-more{display:flex;margin:24px auto 0;padding:12px 18px;border:1px solid #bdcde2;border-radius:10px;background:#fff;color:#28568e;font-weight:750;cursor:pointer}
@media(max-width:650px){.learning-guide-grid{grid-template-columns:1fr}.learning-guide-actions{align-items:stretch;flex-direction:column}.learning-guide-actions a{width:100%;justify-content:center}}
