.compact-library .library-head{align-items:center;margin-bottom:22px}.library-head h1{font-size:30px;margin:4px 0 8px}.library-head p{margin:0;color:#6e7c88}.library-head .eyebrow{font-size:11px}.library-filters{display:flex;gap:12px;align-items:center;padding:14px;background:#fff;border:1px solid #e3e7ed;border-radius:12px}.library-filters label{margin:0;min-width:160px}.library-filters .library-search{flex:1}.library-layout{display:flex;gap:3px}.library-layout [aria-pressed=true]{background:#f4e6ee;color:#834e6c}.library-count{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px;font-size:13px;color:#6b7786}.library-formations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.library-formation{display:flex;position:relative;align-items:center;gap:14px;text-align:left;background:white;border:1px solid #e1e6ec;border-radius:12px;padding:14px;min-height:135px;color:#304355;cursor:pointer;transition:border-color .15s,box-shadow .15s}.library-formation:hover{border-color:#bc8aa6;box-shadow:0 5px 18px #28384d09}.library-art{width:86px;height:94px;flex:none;border-radius:8px;overflow:hidden;background:#f8ecf3}.library-art img{width:100%;height:100%;object-fit:cover}.library-formation>div:nth-child(2){min-width:0;padding-right:14px}.library-formation small{font-size:10px;color:#9b788c}.library-formation h2{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}.library-formation p{font-size:11px;color:#7e8a96;margin:0}.library-arrow{position:absolute;right:12px;bottom:14px;color:#ad839b}.library-arrow svg{width:17px;height:17px}.library-formations.is-list{grid-template-columns:1fr}.is-list .library-formation{min-height:90px;padding:11px 16px}.is-list .library-art{height:65px;width:75px}.is-list .library-formation h2{margin:4px 0}.library-rows{background:white;border:1px solid #e1e6ec;border-radius:12px;overflow:hidden}.library-row{display:flex;gap:18px;align-items:center;padding:20px;border-bottom:1px solid #edf0f4}.library-row:last-child{border:0}.library-number{font-size:14px;color:#ab879c;width:28px;flex:none}.library-row-info{flex:1;min-width:0}.library-row h2{font-size:17px;margin:0 0 8px;overflow-wrap:anywhere}.library-row small{color:#85919d;display:block;font-size:11px;margin-bottom:5px}.library-state{font-size:12px;color:#906f82}.library-tools{position:relative}.library-tools summary{list-style:none;cursor:pointer}.library-tools>div{position:absolute;z-index:20;right:0;top:100%;display:grid;min-width:220px;background:white;padding:9px;border:1px solid #e2e6ec;border-radius:9px;box-shadow:0 9px 25px #25344918}.library-context{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:12px}.library-context .staff-context{max-width:420px;flex:1}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.library-formation:focus-visible,.library-layout button:focus-visible{outline:3px solid #b8749b;outline-offset:3px}
.library-formation{min-width:0;width:100%}.library-formation>div:nth-child(2){flex:1}.library-formation small{overflow-wrap:anywhere}.library-formations.is-list{grid-template-columns:minmax(0,1fr)}
@media(min-width:1500px){.library-formations{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.library-formations{grid-template-columns:repeat(2,minmax(0,1fr))}.library-art{width:68px;height:85px}.library-filters{flex-wrap:wrap}.library-filters .library-search{flex-basis:100%}.library-row{padding:16px;gap:12px}}@media(max-width:700px){.library-formations{grid-template-columns:minmax(0,1fr)}.library-row{flex-wrap:wrap}.library-row .btn-row{margin-left:40px}.library-row h2{font-size:18px}.library-filters label{min-width:0;flex:1}.library-layout{width:100%;justify-content:flex-end}.library-context{align-items:stretch;flex-direction:column}.library-head h1{font-size:28px}.library-formation h2{font-size:18px}.library-formation small,.library-formation p{font-size:12px}}

.library-category-heading{grid-column:1/-1;font-size:15px;margin:12px 0 0;color:#556878}.library-list-options{display:flex;gap:12px;margin-left:auto}.library-list-options label{display:flex;align-items:center;gap:8px;font-size:11px;margin:0}.library-list-options .input{width:auto;min-height:34px;font-size:12px;padding:7px 10px}.library-pagination,.exercise-list-pager{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;font-size:12px;color:#687787}.library-pagination>div,.exercise-list-pager>div{display:flex;align-items:center;gap:10px}.library-pagination label{margin:0}.library-pagination .btn,.exercise-list-pager .btn{font-size:12px;min-height:36px;padding:8px 12px}.library-pagination .input{min-height:36px;font-size:12px;padding:7px 12px}.library-rows .library-row{padding:16px 20px}.library-row h2{font-size:16px}.library-state{color:#9b316e}.library-art img{object-fit:cover;background:#f6f1f4}.library-rows [hidden],[data-exercise-accordion][hidden],tr[data-staff-exercise][hidden]{display:none!important}@media(max-width:700px){.library-list-options{width:100%;margin:10px 0 0;justify-content:space-between}.library-count{flex-wrap:wrap}.library-pagination,.exercise-list-pager{align-items:flex-start;flex-direction:column}.library-pagination>div,.exercise-list-pager>div{width:100%;justify-content:space-between;gap:6px}.library-pagination .btn,.exercise-list-pager .btn{font-size:11px;padding:8px}.library-pagination .input{max-width:120px;padding:7px}.library-row h2{font-size:18px}.library-rows .library-row{padding:17px 14px}}

.compact-library .library-head .back{margin:0 0 10px}.compact-library .library-count{margin:12px 0 8px}html[data-interface=staff] .compact-library .library-row{padding:11px 16px}html[data-interface=staff] .compact-library .library-row h2{font-size:15px;margin-bottom:6px}

.library-formations:not(.is-list) .library-art:has(img[src^="assets/exercise-covers/"]) { width: clamp(82px, 9vw, 132px); height: auto; aspect-ratio: 3 / 2; }
.library-art img[src^="assets/exercise-covers/"] { display: block; }
.course-tree-trail { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; margin-bottom:.75rem; color:#56465b; }
.course-tree-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:.7rem; margin-bottom:1.15rem; }
.course-tree-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.65rem; text-align:left; background:white; color:#334257; border:1px solid #e0dce5; border-radius:12px; padding:.8rem; cursor:pointer; }
.course-tree-card:hover { border-color:#a96287; background:#fdf8fb; }
.course-tree-card img { border-radius:6px; object-fit:cover; }
.course-tree-card strong { overflow-wrap:anywhere; }
.course-tree-tools { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:1rem; margin-block:1rem; }
.course-tree-tools form, #treePlaceFormation { display:grid; gap:.6rem; align-content:start; padding:1rem; border:1px solid #e3dae4; border-radius:12px; }
.course-tree-tools h3, #treePlaceFormation h3 { margin:0; }
.course-tree-tools label, #treePlaceFormation label { display:grid; gap:.3rem; }
.course-tree-tools button, #treePlaceFormation button { justify-self:start; }
.course-resume { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:1rem; }
.course-resume h2 { margin:.25rem 0 0; }
.my-course-list { display:grid; gap:.6rem; }
.my-course-list details { background:#fff; border:1px solid #e3dae4; border-radius:12px; padding:.8rem 1rem; }
.my-course-list summary { cursor:pointer; font-size:1.05rem; font-weight:700; }
.my-course-list summary small { font-size:.82rem; font-weight:400; margin-left:.45rem; }
.my-course-list ul { display:grid; gap:.4rem; list-style:none; padding:0; margin:.65rem 0 0; }
.my-course-list li .btn { width:100%; text-align:left; justify-content:space-between; }
.my-course-space{max-width:1250px;margin-inline:auto}.my-course-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:0 0 1.2rem}.my-course-heading h1{font-size:clamp(2rem,4vw,3.1rem);margin:.18rem 0 .45rem}.my-course-heading p{margin:.25rem 0}.my-course-heading>span,.my-course-status{font-size:.8rem;color:#68415a}.my-course-next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1rem;align-items:center;padding:clamp(1rem,2vw,1.5rem);border:1px solid #ebd0e0;border-radius:18px;background:linear-gradient(115deg,#fbe8f3,#fff9fd);margin-bottom:1.2rem}.my-course-symbol,.my-course-number{display:grid;place-items:center;border-radius:12px;background:#f4dcec;color:#8e105e;font-weight:700}.my-course-symbol{width:54px;height:54px}.my-course-next h2,.my-course-next p{margin:.2rem 0}.my-course-next span{font-size:.8rem;font-weight:700;color:#831154}.my-course-columns{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2.4fr);gap:1rem;align-items:start}.my-course-formations,.my-course-rows{background:white;border:1px solid #e5dee7;border-radius:16px;padding:1rem}.my-course-formations h2,.my-course-rows h2{font-size:1.15rem;margin:0 0 .75rem}.my-course-formations button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.55rem;align-items:center;border:1px solid transparent;border-radius:10px;background:transparent;color:#263b46;width:100%;text-align:left;padding:.55rem;cursor:pointer}.my-course-formations button[aria-pressed=true]{background:#fbebf5;border-color:#eac8dd;color:#861052}.my-course-formations button:hover{background:#faf0f7}.my-course-formations img{object-fit:cover;border-radius:8px}.my-course-formations small{display:block;margin-top:.22rem}.my-course-rows header p{margin:0}.my-course-rows progress{width:100%;height:.5rem;accent-color:#b70870;margin:.4rem 0}.my-course-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.85rem .15rem;border-top:1px solid #eee6ee}.my-course-number{width:36px;height:36px;font-size:.8rem}.my-course-row h3,.my-course-row p{margin:.17rem 0;font-size:1rem}.my-course-row p{font-size:.85rem;color:#5c5164}.my-course-row.locked .my-course-number{background:#eeeaf0;color:#584661}.studio-progression{margin:.85rem 0;padding:.6rem;border:1px solid #e6dbe7;border-radius:8px}.studio-progression summary{font-weight:700;cursor:pointer}.studio-progression fieldset{border:0;padding:.6rem 0}.studio-progression>label{display:block;margin-top:.6rem}
@media(max-width:760px){.my-course-columns{grid-template-columns:1fr}.my-course-heading{align-items:start}.my-course-next,.my-course-row{grid-template-columns:auto minmax(0,1fr)}.my-course-next>.btn,.my-course-row>.btn{grid-column:2;justify-self:start}.my-course-formations button{max-width:100%}}
.my-course-select{display:none}.my-course-formations{max-height:62vh;overflow-y:auto;min-width:0}.my-course-rows,.my-course-next{min-width:0;overflow-wrap:anywhere}.my-course-formations strong{overflow-wrap:anywhere}
@media(max-width:760px){.my-course-space .my-course-columns{grid-template-columns:minmax(0,1fr)}.my-course-space .my-course-formations{max-height:none}.my-course-space .my-course-formations button{display:none}.my-course-select{display:block}.my-course-select select{min-width:0;width:100%}.my-course-space .my-course-heading{flex-wrap:wrap}.my-course-space .my-course-next>.btn,.my-course-space .my-course-row>.btn{max-width:100%;white-space:normal}}
body:has(#main > .course-tree-trail,#main #backCatalog,#main #libraryBack,#main #readerBack,#main #overviewBack) .repere-trail{display:none}
.catalogue-tree-list{list-style:none;margin:.5rem 0 1.5rem;padding:0;border:1px solid #e1e6ea;border-radius:12px;background:#fff}
.catalogue-tree-list li+li{border-top:1px solid #e1e6ea}
.catalogue-tree-list .course-tree-card{display:flex;align-items:center;gap:.85rem;width:100%;min-height:49px;padding:.65rem .9rem;border:0;border-radius:0}
.catalogue-tree-list li:first-child .course-tree-card{border-radius:11px 11px 0 0}
.catalogue-tree-list li:last-child .course-tree-card{border-radius:0 0 11px 11px}
.catalogue-tree-list li:only-child .course-tree-card{border-radius:11px}
.catalogue-tree-list .course-tree-card strong{flex:1;font-size:.95rem}
.catalogue-tree-list .course-tree-card small{color:#536570;flex-shrink:0}
.catalogue-tree-list .course-tree-card .icon{flex-shrink:0}
.catalogue-tree-list .course-tree-card .icon:first-child{color:#a01b64}
.catalogue-tree-list .course-tree-card:focus-visible{position:relative;outline-offset:-3px}
