.courses-page{padding:3rem 1rem 5rem}.courses-filters{align-items:end;background:#fff;border:1px solid #dbe4f0;border-radius:18px;box-shadow:0 12px 30px rgba(15,23,42,.07);display:grid;gap:1rem;grid-template-columns:2fr 1fr 1fr 1fr auto;padding:1.25rem}.courses-filters label{display:flex;flex-direction:column;gap:.45rem}.courses-filters label span{color:#334155;font-size:.85rem;font-weight:800}.courses-filters input,.courses-filters select{background:#fff;border:1px solid #bdcadb;border-radius:11px;font:inherit;min-height:46px;padding:0 .9rem;width:100%}.courses-filters input:focus,.courses-filters select:focus{border-color:#2864ed;box-shadow:0 0 0 3px rgba(40,100,237,.13);outline:0}.courses-reset{align-self:center;color:#475569;font-weight:700;text-decoration:none}.courses-count{color:#64748b;margin:1.5rem 0}.courses-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(3,minmax(0,1fr))}.course-card{background:#fff;border:1px solid #dce4ef;border-radius:18px;box-shadow:0 10px 28px rgba(15,23,42,.07);display:flex;flex-direction:column;overflow:hidden;transition:.18s ease}.course-card:hover{box-shadow:0 16px 38px rgba(15,23,42,.12);transform:translateY(-3px)}.course-card-media{align-items:center;background:linear-gradient(135deg,#e7f0ff,#f3efff);display:flex;height:180px;justify-content:center;overflow:hidden;text-decoration:none}.course-card-media img{height:100%;object-fit:cover;width:100%}.course-card-media span{color:#2864ed;font-size:1.35rem;font-weight:900}.course-card-body{display:flex;flex:1;flex-direction:column;padding:1.35rem}.course-card-tags{display:flex;flex-wrap:wrap;gap:.45rem}.course-card-tags span{background:#edf4ff;border-radius:999px;color:#2456b8;font-size:.75rem;font-weight:800;padding:.38rem .62rem}.course-card h2{font-size:1.25rem;line-height:1.3;margin:1rem 0 .6rem}.course-card p{color:#536078;display:-webkit-box;font-size:.95rem;line-height:1.6;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.course-card-footer{align-items:center;display:flex;gap:.75rem;justify-content:space-between;margin-top:auto;padding-top:1rem}.course-card-footer small{color:#64748b}.courses-empty{padding:4rem;text-align:center}@media(max-width:900px){.courses-filters{grid-template-columns:1fr 1fr}.courses-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.courses-filters,.courses-grid{grid-template-columns:1fr}.course-card-footer{align-items:stretch;flex-direction:column}.course-card-footer .btn{width:100%}}
@media(max-width:900px){.courses-page{padding-top:2rem}.courses-filters{grid-template-columns:1fr 1fr}.courses-filters label:first-child{grid-column:1/-1}.courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.courses-page{padding:1.4rem 14px 3rem}.courses-filters{border-radius:15px;grid-template-columns:1fr;padding:1rem}.courses-filters label:first-child{grid-column:auto}.courses-filters .btn,.courses-reset{justify-content:center;text-align:center;width:100%}.courses-grid{grid-template-columns:1fr}.course-card{border-radius:15px}.course-card-media{height:150px}.course-card-body{padding:1.1rem}.course-card h2{font-size:1.18rem}.course-card-footer{align-items:stretch;flex-direction:column}.course-card-footer .btn{width:100%}}

/* Catalogue unifié SVsansT + enseignants */
.course-catalog-v2{padding-top:1.6rem}
.course-catalog-v2 .courses-filters{grid-template-columns:2fr 1.15fr 1fr 1fr auto}.course-catalog-summary{align-items:center;display:flex;justify-content:space-between;gap:1rem;margin:1.25rem 0}.course-catalog-summary p{margin:0;color:#64748b}.course-source-legend{display:flex;gap:.9rem;flex-wrap:wrap;color:#52657a;font-size:.86rem;font-weight:750}.course-source-legend>span{display:inline-flex;align-items:center;gap:.4rem}.course-source-legend i{align-items:center;display:inline-flex;height:25px;justify-content:center;width:25px;border-radius:50%;overflow:hidden;background:#edf3f8}.course-source-legend img{width:100%;height:100%;object-fit:cover}.legend-teacher{font-style:normal}
.course-card-source-svsanst{border-top:3px solid #2864ed}.course-card-source-teacher{border-top:3px solid #f0a33a}.course-card-media{position:relative}.course-source-badge{position:absolute;left:.8rem;top:.8rem;background:rgba(10,26,44,.86);backdrop-filter:blur(8px);border-radius:999px;color:#fff;font-size:.7rem;letter-spacing:.02em;padding:.4rem .65rem}.course-card-source-svsanst .course-source-badge{background:rgba(32,91,205,.92)}.course-card-source-teacher .course-source-badge{background:rgba(176,102,19,.92)}
.course-card h2 a{color:inherit;text-decoration:none}.course-creator-row{border-top:1px solid #e8eef5;display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-top:1rem;padding-top:.9rem}.course-creator{align-items:center;display:flex;gap:.65rem;min-width:0;color:#243b53;text-decoration:none}.course-creator>img,.course-creator>span:first-child{align-items:center;background:#edf3f8;border:1px solid #dfe8f1;border-radius:50%;display:flex;flex:0 0 38px;height:38px;justify-content:center;object-fit:cover;width:38px}.course-creator>span:last-child{display:flex;flex-direction:column;min-width:0}.course-creator strong{font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-creator small{color:#718096;font-size:.72rem}.course-follow-form{align-items:center;display:flex;gap:.3rem}.course-follow,.course-bell{appearance:none;border:1px solid #cbd8e6;background:#fff;border-radius:999px;color:#173f63;cursor:pointer;font:inherit;font-size:.76rem;font-weight:850;padding:.5rem .75rem;text-decoration:none;white-space:nowrap}.course-follow:hover,.course-bell:hover{background:#eef5ff}.course-follow.is-following{background:#173f63;border-color:#173f63;color:#fff}.course-bell{padding:.48rem .58rem}
.teacher-public-profile{padding:2.2rem 1rem 5rem}.teacher-profile-hero{align-items:flex-start;background:linear-gradient(135deg,#f4f8fc,#fff);border:1px solid #dce6f0;border-radius:24px;display:grid;gap:1.4rem;grid-template-columns:auto 1fr auto;padding:1.6rem;margin-bottom:2rem;box-shadow:0 12px 34px rgba(20,45,75,.07)}.teacher-profile-hero>img,.teacher-profile-fallback{align-items:center;background:#edf3f8;border-radius:22px;display:flex;height:112px;justify-content:center;object-fit:cover;width:112px;font-size:2rem}.teacher-profile-hero h1{margin:.25rem 0 .4rem}.teacher-verified{color:#1d5fd1;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.teacher-headline{font-weight:750;color:#3f566d}.teacher-profile-follow{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.teacher-course-author{display:flex;align-items:center;gap:.75rem;margin-top:1rem}.teacher-course-author img{width:48px;height:48px;object-fit:cover;border-radius:50%}.teacher-course-author>div{display:flex;flex-direction:column}.teacher-course-author a{color:inherit}.teacher-course-author small{color:#66788a}.teacher-course-author form{margin-left:auto}
@media(max-width:1100px){.course-catalog-v2 .courses-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.course-catalog-v2 .courses-filters label:first-child{grid-column:span 2}.teacher-profile-hero{grid-template-columns:auto 1fr}.teacher-profile-follow{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:760px){.course-catalog-summary{align-items:flex-start;flex-direction:column}.course-catalog-v2 .courses-filters{grid-template-columns:1fr 1fr}.course-catalog-v2 .courses-filters label:first-child{grid-column:1/-1}.course-creator-row{align-items:flex-start;flex-direction:column}.course-follow-form{width:100%}.course-follow{flex:1;text-align:center}.teacher-profile-hero{grid-template-columns:1fr}.teacher-profile-hero>img,.teacher-profile-fallback{height:88px;width:88px}.teacher-profile-follow{grid-column:auto}}
@media(max-width:520px){.course-catalog-v2 .courses-filters{grid-template-columns:1fr}.course-catalog-v2 .courses-filters label:first-child{grid-column:auto}.course-source-legend{gap:.55rem}.teacher-profile-follow{flex-direction:column}.teacher-profile-follow .btn,.teacher-profile-follow .btn-secondary{width:100%}}

/* Chaînes de créateurs */
.creator-channel-page{background:#f7f9fc;min-height:70vh;padding-bottom:5rem}.creator-channel-banner{height:260px;background-position:center;background-size:cover;background-repeat:no-repeat}.creator-channel-banner.is-default{background:linear-gradient(135deg,#102f4b 0%,#174c78 48%,#24649b 100%);position:relative;overflow:hidden}.creator-channel-banner.is-default:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.85),transparent)}.creator-channel-shell{margin-top:-34px;position:relative}.creator-channel-head{align-items:center;background:#fff;border:1px solid #dae4ef;border-radius:24px;box-shadow:0 16px 42px rgba(15,37,60,.12);display:flex;justify-content:space-between;gap:1.4rem;padding:1.4rem 1.6rem}.creator-channel-identity{align-items:center;display:flex;gap:1.1rem;min-width:0}.creator-channel-avatar{background:#fff;border:4px solid #fff;border-radius:50%;box-shadow:0 5px 18px rgba(15,37,60,.17);height:104px;object-fit:cover;width:104px;flex:0 0 104px}.creator-channel-avatar.fallback{align-items:center;display:flex;justify-content:center;font-size:2rem}.creator-channel-titleline{align-items:center;display:flex;gap:.55rem}.creator-channel-titleline h1{font-size:2rem;margin:0}.creator-channel-verified{align-items:center;background:#2464da;border-radius:50%;color:#fff;display:inline-flex;font-size:.72rem;font-weight:900;height:22px;justify-content:center;width:22px}.creator-channel-headline{color:#435d76;font-weight:750;margin:.35rem 0}.creator-channel-stats{color:#718096;font-size:.9rem;margin:.2rem 0 0}.creator-channel-actions{flex:0 0 auto}.channel-subscribe,.channel-bell{appearance:none;border:1px solid #b9c8d9;background:#fff;border-radius:999px;color:#173f63;cursor:pointer;font:inherit;font-weight:850;padding:.72rem 1rem;text-decoration:none}.channel-subscribe.is-following{background:#173f63;border-color:#173f63;color:#fff}.channel-bell{padding:.72rem .82rem}.creator-channel-description{background:#fff;border:1px solid #dce5ef;border-radius:18px;color:#40566d;margin:1rem 0;padding:1rem 1.25rem}.creator-channel-description p{line-height:1.65;margin:0}.creator-channel-tabs{border-bottom:1px solid #d8e2ed;display:flex;gap:.35rem;overflow-x:auto;margin:1.35rem 0 1.6rem;padding:0 .15rem}.creator-channel-tabs a{border-bottom:3px solid transparent;color:#52677b;font-weight:850;padding:.85rem 1rem;text-decoration:none;white-space:nowrap}.creator-channel-tabs a.is-active{border-color:#2464da;color:#163e63}.creator-channel-content,.creator-community{background:#fff;border:1px solid #dce5ef;border-radius:22px;padding:1.35rem}.creator-section-head{align-items:flex-end;display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem}.creator-section-head h2{margin:0}.creator-section-head p{color:#64748b;margin:.3rem 0 0}.creator-section-head>span{color:#718096;font-size:.9rem}.channel-content-grid{display:grid;gap:1.2rem;grid-template-columns:repeat(4,minmax(0,1fr))}.channel-content-card{border:1px solid #dde6ef;border-radius:16px;overflow:hidden;background:#fff}.channel-content-thumb{align-items:center;background:#edf3fa;display:flex;height:145px;justify-content:center;position:relative;text-decoration:none}.channel-content-thumb img{height:100%;object-fit:cover;width:100%}.channel-content-thumb>span{color:#35638d;font-weight:900}.channel-content-thumb>b{bottom:.55rem;right:.55rem;background:rgba(10,31,48,.84);border-radius:7px;color:#fff;font-size:.68rem;padding:.3rem .45rem;position:absolute}.channel-content-body{padding:.95rem}.channel-content-tags{display:flex;gap:.4rem;flex-wrap:wrap}.channel-content-tags span{background:#edf4ff;border-radius:999px;color:#2857a5;font-size:.7rem;font-weight:800;padding:.28rem .5rem}.channel-content-card h3{font-size:1.03rem;line-height:1.35;margin:.7rem 0 .35rem}.channel-content-card h3 a{color:#183650;text-decoration:none}.channel-content-card p{color:#64748b;font-size:.88rem;line-height:1.5;margin:0}.channel-empty{border:1px dashed #bfd0e1;border-radius:16px;color:#60748a;padding:2.3rem;text-align:center}.channel-empty h3{color:#284762;margin-top:0}.channel-collections-grid{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}.channel-collection-card{background:#f8fbff;border:1px solid #dce6f0;border-radius:16px;padding:1.1rem}.channel-collection-card>span{color:#2864ed;font-size:.76rem;font-weight:900}.community-new-topic{background:#f8fbff;border:1px solid #dce6ef;border-radius:14px;margin-bottom:1rem;padding:.8rem 1rem}.community-new-topic summary{cursor:pointer;font-weight:850}.community-compose{display:grid;gap:.85rem;margin-top:1rem}.community-compose label{display:grid;gap:.35rem;font-weight:800}.community-compose input,.community-compose textarea{border:1px solid #bdcad8;border-radius:11px;font:inherit;padding:.75rem}.community-compose textarea{min-height:120px;resize:vertical}.community-topic-list{display:grid;gap:.7rem}.community-topic-row{align-items:center;background:#fff;border:1px solid #dfe7ef;border-radius:14px;color:inherit;display:flex;gap:1rem;justify-content:space-between;padding:1rem;text-decoration:none}.community-topic-row:hover{border-color:#aac3dd;background:#fbfdff}.community-topic-row h3{margin:0 0 .35rem}.community-topic-row p{color:#617489;margin:.2rem 0}.community-topic-row small{color:#8391a1}.community-topic-row>span{background:#edf4ff;border-radius:999px;color:#2857a5;font-size:.75rem;font-weight:850;padding:.4rem .65rem;white-space:nowrap}.community-topic-detail{max-width:900px}.community-back{color:#2a5fae;font-weight:800;text-decoration:none}.community-topic-detail header{border-bottom:1px solid #e4ebf2;margin:1rem 0;padding-bottom:.8rem}.community-topic-detail header h3{font-size:1.5rem;margin:0 0 .35rem}.community-topic-detail>p{line-height:1.75}.community-reply{border-left:3px solid #d3e2f2;margin:1rem 0;padding:.8rem 1rem}.community-reply small{color:#8492a1;display:block;font-size:.75rem;margin-top:.15rem}.community-reply p{line-height:1.65}.community-login-callout{align-items:center;background:#f8fbff;border:1px solid #dce6ef;border-radius:14px;display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding:1rem}.channel-community-error{background:#fff2f2;border:1px solid #f4caca;border-radius:12px;color:#a32b2b;margin-bottom:1rem;padding:.8rem 1rem}
@media(max-width:1100px){.channel-content-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.channel-collections-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.creator-channel-banner{height:190px}.creator-channel-shell{margin-top:-24px}.creator-channel-head{align-items:flex-start;flex-direction:column}.creator-channel-actions{width:100%}.creator-channel-actions .course-follow-form{width:100%}.channel-subscribe{flex:1;text-align:center}.creator-channel-avatar{height:82px;width:82px;flex-basis:82px}.creator-channel-titleline h1{font-size:1.55rem}.channel-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-section-head{align-items:flex-start;flex-direction:column}.community-topic-row{align-items:flex-start;flex-direction:column}.community-login-callout{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.creator-channel-banner{height:145px}.creator-channel-shell{padding-left:12px;padding-right:12px}.creator-channel-head{border-radius:18px;padding:1rem}.creator-channel-identity{align-items:flex-start}.creator-channel-avatar{height:68px;width:68px;flex-basis:68px}.creator-channel-titleline h1{font-size:1.35rem}.creator-channel-tabs{margin-left:-12px;margin-right:-12px;padding-left:12px}.creator-channel-content,.creator-community{border-radius:16px;padding:1rem}.channel-content-grid,.channel-collections-grid{grid-template-columns:1fr}.channel-content-thumb{height:180px}.creator-channel-description{border-radius:14px}.course-card-tags{align-items:flex-start!important}.course-card-tags>*{font-size:10.5px!important}}


/* V4.3 — cartes cours compactes : exactement Niveau + Matière sur une seule ligne */
.course-card .course-card-tags{
  align-items:center!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  height:24px!important;
  min-height:24px!important;
  overflow:hidden!important;
  padding:0!important;
}
.course-card .course-card-tags>span{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  flex:0 1 auto!important;
  max-width:calc(50% - 3px)!important;
  min-width:0!important;
  height:24px!important;
  line-height:1!important;
  margin:0!important;
  padding:6px 9px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.course-card .course-card-tags>span:nth-child(n+3){display:none!important}
.course-tag-level{background:#edf4ff!important;color:#2456b8!important}
.course-tag-subject{background:#edf4ff!important;color:#2456b8!important}

/* V4.2 — réseaux sociaux intégrés à l'identité de la chaîne */
.creator-channel-socials{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}
.creator-channel-social{align-items:center;background:#f7f9fc;border:1px solid #d9e3ed;border-radius:999px;color:#35516b;display:inline-flex;gap:.38rem;font-size:.76rem;font-weight:800;line-height:1;padding:.42rem .65rem;text-decoration:none;transition:.16s ease}
.creator-channel-social svg{height:15px;width:15px;fill:currentColor;flex:0 0 15px}
.creator-channel-social:hover{background:#eef5ff;border-color:#b9cde2;transform:translateY(-1px)}
.creator-channel-social-instagram:hover{color:#c026d3}.creator-channel-social-tiktok:hover{color:#0f172a}.creator-channel-social-youtube:hover{color:#dc2626}.creator-channel-social-x:hover{color:#020617}.creator-channel-social-facebook:hover{color:#2563eb}
@media(max-width:520px){.creator-channel-socials{gap:.35rem}.creator-channel-social{padding:.4rem .52rem}.creator-channel-social span:last-child{display:none}}

/* V4.8 — Studio créateurs */
.creator-channel-actions{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;justify-content:flex-end}.channel-studio-btn,.channel-report-btn{border:1px solid #c7d5e3;border-radius:999px;padding:.7rem .95rem;text-decoration:none;font-weight:800;font-size:.86rem}.channel-studio-btn{background:#eef5ff;color:#1d4f91}.channel-report-btn{background:#fff;color:#7f3340}.creator-studio{background:#f5f8fc;min-height:75vh;padding:2.2rem 0 5rem}.studio-shell{max-width:1280px}.studio-top{display:flex;justify-content:space-between;gap:1.2rem;align-items:flex-start;margin-bottom:1.2rem}.studio-top h1{margin:.2rem 0 .35rem}.studio-top p{margin:0;color:#65788c}.studio-kicker{font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#2864ed}.studio-top-actions{display:flex;gap:.6rem;flex-wrap:wrap}.studio-tabs{display:flex;gap:.3rem;overflow-x:auto;background:#fff;border:1px solid #dce6ef;border-radius:15px;padding:.35rem;margin-bottom:1.25rem}.studio-tabs a{white-space:nowrap;text-decoration:none;color:#51677d;font-weight:800;padding:.72rem .9rem;border-radius:10px}.studio-tabs a.active{background:#173f63;color:#fff}.studio-card{background:#fff;border:1px solid #dce6ef;border-radius:20px;padding:1.35rem;margin-bottom:1rem;box-shadow:0 8px 25px rgba(24,53,80,.05)}.studio-card h2{margin-top:0}.studio-grid.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.15rem;margin-bottom:1.25rem}.studio-grid.stats article{background:#fff;border:1px solid #dce6ef;border-radius:17px;padding:1.15rem 1.2rem;min-height:96px;display:flex;flex-direction:column;justify-content:center}.studio-grid.stats strong{display:block;font-size:1.8rem;color:#173f63}.studio-grid.stats span{color:#6b7e91;font-size:.82rem;font-weight:800}.studio-alert{padding:.85rem 1rem;border-radius:12px;margin-bottom:1rem;font-weight:750}.studio-alert.success{background:#ecfdf3;color:#166534}.studio-alert.error{background:#fff1f2;color:#9f1239}.studio-form{display:grid;gap:1rem}.studio-form.compact{max-width:760px}.studio-form label{display:grid;gap:.4rem;font-weight:800;color:#31485f}.studio-form input,.studio-form textarea,.studio-form select,.studio-inline-form input,.studio-inline-form select{width:100%;border:1px solid #c2cfdd;border-radius:11px;padding:.74rem .8rem;font:inherit;background:#fff}.studio-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.studio-check{display:flex!important;align-items:center;gap:.55rem!important}.studio-check input{width:auto!important}.studio-section-head{display:flex;justify-content:space-between;gap:1rem;align-items:center}.studio-table-wrap{overflow:auto}.studio-table{width:100%;border-collapse:collapse;min-width:820px}.studio-table th,.studio-table td{border-bottom:1px solid #e4ebf2;padding:.85rem .7rem;text-align:left;vertical-align:top}.studio-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#687b8f}.studio-status{display:inline-flex;border-radius:999px;background:#eef3f8;padding:.35rem .55rem;font-size:.72rem;font-weight:850}.status-published{background:#e8f8ee;color:#176538}.status-scheduled{background:#edf4ff;color:#2456b8}.status-draft{background:#f0f2f5;color:#596879}.status-unlisted{background:#fff5df;color:#875d11}.status-private,.status-code{background:#f4eefe;color:#6641a5}.status-archived{background:#f4f4f4;color:#6b7280}.studio-inline-form{display:grid;gap:.55rem;min-width:260px}.btn-small{border:0;background:#173f63;color:#fff;border-radius:9px;padding:.55rem .7rem;font-weight:800;cursor:pointer}.studio-topic-list{display:grid;gap:.65rem}.studio-topic-list article{display:flex;justify-content:space-between;gap:1rem;border:1px solid #e0e8f0;border-radius:13px;padding:.85rem}.studio-topic-list small{display:block;color:#7b8998;margin-top:.25rem}.studio-topic-list form{display:flex;gap:.45rem;align-items:center}.studio-settings-list{line-height:1.8}.report-creator-page{max-width:820px;padding:3rem 1rem 5rem}.report-creator-card{background:#fff;border:1px solid #dce6ef;border-radius:20px;padding:1.5rem}.creator-course-report{margin-top:1.2rem;border-top:1px solid #e3eaf1;padding-top:1rem}.creator-course-report a{color:#8a3541;font-weight:750;text-decoration:none}
@media(max-width:1000px){.studio-grid.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.studio-top{flex-direction:column}.studio-social-grid{grid-template-columns:1fr}.studio-grid.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-topic-list article{flex-direction:column}.studio-topic-list form{align-items:stretch;flex-direction:column}.creator-channel-actions{width:100%;justify-content:flex-start}}

/* === Communauté des chaînes — V4.10 === */
.creator-community{padding:1.55rem;background:#fff;border:1px solid #dce5ef;border-radius:22px}
.creator-community-head{align-items:flex-start;margin-bottom:1.2rem}
.creator-community-head .community-new-topic{margin:0;min-width:210px}
.community-thread{max-width:980px;margin:0 auto}
.community-back{display:inline-flex;align-items:center;gap:.35rem;margin-bottom:1rem;color:#275f9b;font-weight:850;text-decoration:none}
.community-message{display:grid;grid-template-columns:48px minmax(0,1fr);gap:.9rem;padding:1.05rem 0;border-bottom:1px solid #e7edf4}
.community-message--topic{background:#f8fbff;border:1px solid #d8e5f1;border-radius:18px;padding:1.15rem;margin-bottom:.45rem}
.community-message-avatar,.community-topic-row-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;background:#eaf2fa;display:flex;align-items:center;justify-content:center;color:#24577f;font-weight:900;flex:0 0 auto}
.community-message-avatar img,.community-topic-row-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.community-message-avatar span,.community-topic-row-avatar span{font-size:1.35rem}
.community-message-main{min-width:0}
.community-message-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;margin-bottom:.55rem}
.community-message-meta>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:.42rem .65rem;min-width:0}
.community-message-meta strong{color:#183a57;font-size:.95rem}
.community-message-meta span{color:#7a8998;font-size:.76rem}
.community-edited{font-style:italic;color:#687c90!important}
.community-message-actions{display:flex;align-items:center;gap:.45rem;flex:0 0 auto}
.community-action{appearance:none;border:0;background:transparent;color:#32689f;cursor:pointer;font:inherit;font-size:.78rem;font-weight:800;padding:.25rem .35rem;text-decoration:none}
.community-action:hover{text-decoration:underline}
.community-action--report{color:#a24a4a}
.community-topic-title{font-size:1.38rem;line-height:1.35;margin:.1rem 0 .65rem;color:#183a57}
.community-message-text{color:#334e66;line-height:1.72;overflow-wrap:anywhere;white-space:normal}
.community-replies{margin-top:.25rem}
.community-sensitive-notice{margin-top:.85rem;padding:.78rem .9rem;border:1px solid #f1d7a7;border-radius:12px;background:#fff9ed;color:#684d1d}
.community-sensitive-notice strong{display:block;font-size:.82rem;margin-bottom:.2rem}
.community-sensitive-notice p{margin:0;font-size:.82rem;line-height:1.5;color:#70592f}
.community-edit-form{margin-top:.9rem;padding:.9rem;background:#f7fafc;border:1px solid #dce6ef;border-radius:12px;display:grid;gap:.7rem}
.community-edit-form[hidden]{display:none!important}
.community-edit-form label{display:grid;gap:.32rem;font-size:.82rem;font-weight:800;color:#324e66}
.community-edit-form input,.community-edit-form textarea{width:100%;box-sizing:border-box;border:1px solid #bfcddd;border-radius:10px;background:#fff;font:inherit;padding:.72rem .78rem;color:#263e53}
.community-edit-form textarea{min-height:115px;resize:vertical;line-height:1.55}
.community-edit-form>div{display:flex;gap:.5rem;flex-wrap:wrap}
.btn-small--ghost{background:#fff!important;color:#315a7b!important;border:1px solid #c7d5e2!important}
.community-close-topic{margin:1.15rem 0 .2rem;padding-top:.2rem}
.community-reply-compose{margin-top:1.2rem;padding:1rem;background:#f8fbff;border:1px solid #dce6ef;border-radius:15px}
.community-form-note{font-size:.78rem!important;color:#75879a!important;margin:-.15rem 0 0!important;font-weight:500!important}
.community-topic-list{display:grid;gap:.72rem}
.community-topic-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:.9rem;background:#fff;border:1px solid #dfe7ef;border-radius:15px;padding:.95rem 1rem;text-decoration:none;color:inherit;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.community-topic-row:hover{border-color:#a9c2db;box-shadow:0 8px 24px rgba(23,63,99,.08);transform:translateY(-1px)}
.community-topic-row-avatar{width:44px;height:44px}
.community-topic-row-content{min-width:0}
.community-topic-row h3{font-size:1rem;margin:0 0 .24rem;color:#193b58;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-topic-row p{color:#607487;font-size:.86rem;line-height:1.45;margin:.12rem 0 .28rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.community-topic-row small{color:#8593a1;font-size:.74rem}
.community-topic-row>span{background:#edf4ff;border-radius:999px;color:#2857a5;font-size:.73rem;font-weight:850;padding:.38rem .62rem;white-space:nowrap}
.community-new-topic{background:#f8fbff;border:1px solid #dce6ef;border-radius:14px;padding:.7rem .85rem}
.community-new-topic summary{cursor:pointer;font-weight:850;color:#214968}
.community-compose{display:grid;gap:.82rem;margin-top:.8rem}
.community-compose label{display:grid;gap:.32rem;font-weight:800;color:#314d66}
.community-compose input,.community-compose textarea{border:1px solid #bdcad8;border-radius:11px;font:inherit;padding:.75rem;background:#fff;color:#263e53}
.community-compose textarea{min-height:120px;resize:vertical;line-height:1.55}

@media(max-width:720px){
  .creator-community{padding:1rem;border-radius:16px}
  .creator-community-head{display:block}
  .creator-community-head .community-new-topic{margin-top:.8rem;min-width:0}
  .community-message{grid-template-columns:40px minmax(0,1fr);gap:.7rem}
  .community-message-avatar{width:40px;height:40px}
  .community-message-meta{display:block}
  .community-message-actions{margin-top:.25rem}
  .community-topic-title{font-size:1.18rem}
  .community-topic-row{grid-template-columns:40px minmax(0,1fr);gap:.7rem}
  .community-topic-row-avatar{width:40px;height:40px}
  .community-topic-row>span{grid-column:2;justify-self:start}
}
.community-system-notice{margin-top:.9rem;display:grid;grid-template-columns:34px minmax(0,1fr);gap:.7rem;align-items:start;padding:.78rem .9rem;border:1px solid #f1d7a7;border-radius:12px;background:#fff9ed;color:#684d1d}
.community-system-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #ead7b3}
.community-system-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.community-system-notice strong{display:block;font-size:.82rem;margin:.05rem 0 .2rem}
.community-system-notice p{margin:0;font-size:.82rem;line-height:1.5;color:#70592f}

/* === Communauté V4.11 — réponses ciblées & liens externes === */
.community-reply-reference{display:block;margin:0 0 .55rem;padding:.55rem .7rem;border-left:3px solid #8fb3d4;background:#f5f9fd;border-radius:0 9px 9px 0;text-decoration:none;color:#47657f;max-width:760px}
.community-reply-reference strong{display:block;font-size:.75rem;color:#295b86;margin-bottom:.12rem}
.community-reply-reference span{display:block;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-default-avatar{width:100%;height:100%;display:flex!important;align-items:center;justify-content:center;font-size:1.2rem!important;background:linear-gradient(135deg,#e8eef5,#d8e4ef);color:#668096}
.community-reply-compose{margin-top:1rem;padding:.72rem .78rem;background:#f8fbff;border:1px solid #d9e4ef;border-radius:13px}
.community-reply-row{display:flex;align-items:flex-end;gap:.55rem}
.community-reply-row textarea{flex:1;min-height:64px;max-height:180px;resize:vertical;border:1px solid #bdcad8;border-radius:10px;padding:.68rem .75rem;font:inherit;line-height:1.45;background:#fff;color:#263e53;box-sizing:border-box}
.community-reply-row .community-send{flex:0 0 auto;min-width:82px;height:40px}
.community-reply-target{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin:0 0 .55rem;padding:.48rem .62rem;background:#edf5fc;border-radius:9px;color:#49647c}
.community-reply-target>div{min-width:0}
.community-reply-target strong{display:block;font-size:.75rem;color:#26567f}
.community-reply-target span{display:block;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:720px}
.community-reply-target button{border:0;background:transparent;color:#61788d;font-size:1.15rem;cursor:pointer;line-height:1;padding:.15rem .3rem}
.community-link{color:#1764aa;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}
.community-link--external::after{content:' ↗';font-size:.72em;text-decoration:none}
.community-link-modal[hidden]{display:none!important}
.community-link-modal{position:fixed;inset:0;z-index:10050;background:rgba(12,28,44,.68);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:1.2rem}
.community-link-modal-card{position:relative;width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #d8e3ed;border-radius:20px;box-shadow:0 28px 80px rgba(5,23,38,.32);padding:1.5rem}
.community-link-modal-close{position:absolute;right:1rem;top:.85rem;border:0;background:#eef3f7;color:#496276;width:34px;height:34px;border-radius:50%;font-size:1.2rem;cursor:pointer}
.community-link-shield{width:46px;height:46px;border-radius:14px;background:#eaf3ff;color:#245b91;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.2rem;margin-bottom:.9rem}
.community-link-modal-card h2{margin:0 2.5rem .55rem 0;color:#173b59;font-size:1.35rem}
.community-link-modal-card>p{margin:0;color:#5f7386;line-height:1.6}
.community-link-destination{margin:1rem 0;padding:.8rem .9rem;background:#f6f9fc;border:1px solid #dfe7ef;border-radius:12px;min-width:0}
.community-link-destination span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;font-weight:850;color:#7a8b9b}
.community-link-destination strong{display:block;color:#263f55;margin:.2rem 0;font-size:.95rem;overflow-wrap:anywhere}
.community-link-destination small{display:block;color:#6c7e8f;overflow-wrap:anywhere;max-height:4.2em;overflow:auto}
.community-link-modal-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap;margin-top:1rem}
@media(max-width:720px){.community-reply-row{align-items:stretch}.community-reply-row textarea{min-height:72px}.community-reply-row .community-send{height:auto}.community-link-modal{padding:.7rem}.community-link-modal-card{border-radius:16px;padding:1.2rem}.community-link-modal-actions{display:grid;grid-template-columns:1fr}.community-link-modal-actions .btn,.community-link-modal-actions .btn-secondary{width:100%}}

/* === Communauté V4.12 — correctifs cible/lien/suppression === */
.community-reply-target[hidden]{display:none!important}
.community-delete-inline{display:inline;margin:0;padding:0}
.community-action--danger{color:#a53a3a!important}
.community-action--danger:hover{background:#fff0f0!important;color:#852525!important}

/* V4.13 — actions compactes Communauté */
.community-message-actions{position:relative;display:flex;align-items:center;gap:.3rem}
.community-reply-icon,.community-more-button{appearance:none;border:0;background:transparent;color:#486a86;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;padding:0;transition:background .16s ease,color .16s ease}
.community-reply-icon:hover,.community-more-button:hover{background:#eef4f9;color:#173f63}
.community-reply-icon svg{width:18px;height:18px;fill:currentColor}
.community-more{position:relative}
.community-more-button{font-size:1rem;font-weight:900;letter-spacing:1px}
.community-more-menu[hidden]{display:none!important}
.community-more-menu{position:absolute;right:0;top:calc(100% + .35rem);z-index:30;min-width:150px;background:#fff;border:1px solid #d7e2ec;border-radius:12px;box-shadow:0 14px 35px rgba(16,42,65,.16);padding:.35rem;display:grid;gap:.15rem}
.community-more-menu a,.community-more-menu button{appearance:none;border:0;background:transparent;color:#294861;cursor:pointer;font:inherit;font-size:.82rem;font-weight:750;text-align:left;text-decoration:none;padding:.55rem .65rem;border-radius:8px;width:100%;box-sizing:border-box}
.community-more-menu a:hover,.community-more-menu button:hover{background:#f2f6fa}
.community-more-menu form{margin:0;padding:0}
.community-more-menu .is-danger{color:#a23636}
.community-more-menu .is-danger:hover{background:#fff0f0}

/* V4.13 — modal de sortie */
.community-link-modal{background:rgba(7,23,38,.7);backdrop-filter:blur(8px)}
.community-link-modal-card{width:min(590px,100%);border:1px solid rgba(208,222,235,.9);border-radius:24px;padding:1.65rem 1.65rem 1.45rem;box-shadow:0 34px 90px rgba(4,18,31,.38)}
.community-link-status{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:950;margin-bottom:.9rem;background:#fff2df;color:#9b5e13;border:1px solid #f1d4a5}
.community-link-modal.is-trusted .community-link-status{background:#e9f7ef;color:#267548;border-color:#bfe5cf}
.community-link-kicker{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#6c8193;margin-bottom:.28rem}
.community-link-modal-card h2{font-size:1.45rem;margin:0 2.5rem .55rem 0;color:#143752}
.community-link-modal-card>p{font-size:.95rem;line-height:1.6;color:#5a7084}
.community-link-destination{margin-top:1rem;padding:.85rem 1rem;border:1px solid #dbe5ee;background:#f8fbfd;border-radius:14px;display:grid;gap:.18rem;min-width:0}
.community-link-destination span{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#8292a0;font-weight:850}
.community-link-destination strong{color:#193e5d;font-size:.95rem;word-break:break-word}
.community-link-destination small{color:#6d7f8f;word-break:break-all;line-height:1.45}
.community-link-modal-actions{margin-top:1.15rem;display:flex;justify-content:flex-end;gap:.65rem}
.community-link-cancel,.community-link-confirm{appearance:none;border-radius:11px;min-height:42px;padding:.68rem 1rem;font:inherit;font-weight:850;cursor:pointer}
.community-link-cancel{background:#fff;border:1px solid #c9d6e1;color:#38566f}
.community-link-cancel:hover{background:#f3f7fa;border-color:#aebfce}
.community-link-confirm{border:1px solid #184f7b;background:#184f7b;color:#fff;box-shadow:0 5px 16px rgba(24,79,123,.18)}
.community-link-confirm:hover{background:#123f64;border-color:#123f64}
.community-link-modal.is-external .community-link-confirm{background:#9a5a15;border-color:#9a5a15;box-shadow:0 5px 16px rgba(154,90,21,.18)}
.community-link-modal.is-external .community-link-confirm:hover{background:#7e4810;border-color:#7e4810}
@media(max-width:720px){.community-link-modal-card{border-radius:18px;padding:1.25rem}.community-link-modal-actions{display:grid;grid-template-columns:1fr}.community-link-cancel,.community-link-confirm{width:100%}.community-more-menu{right:-.2rem}}

/* V4.14 — point d'entrée Ma chaîne */
.my-channel-entry{min-height:72vh;background:#f5f8fc;padding:3rem 0 5rem}.my-channel-entry-shell{max-width:860px}.my-channel-heading{margin-bottom:1.25rem}.my-channel-heading h1,.my-channel-card h1{margin:.25rem 0 .45rem;color:#173f63}.my-channel-heading p,.my-channel-card p{color:#66798d;margin:.2rem 0 1.1rem}.my-channel-card{background:#fff;border:1px solid #dce6ef;border-radius:22px;padding:1.6rem;box-shadow:0 10px 30px rgba(24,53,80,.06);display:flex;gap:1.2rem;align-items:flex-start}.my-channel-activation{display:block}.my-channel-icon{width:44px;height:44px;border-radius:14px;background:#eef5ff;color:#1d5abb;display:grid;place-items:center;font-weight:900;font-size:1.2rem;flex:0 0 auto}.my-channel-activation-note{padding:1rem 1.05rem;border:1px solid #dce6ef;border-radius:14px;background:#f8fbff}.my-channel-activation-note strong{color:#173f63}.my-channel-activation-note p{margin:.25rem 0 0;color:#66798d;line-height:1.55}.field-optional{font-weight:600;color:#8796a6;font-size:.8rem}@media(max-width:640px){.my-channel-entry{padding:1.8rem 0 4rem}.my-channel-card{padding:1.15rem;border-radius:17px}.my-channel-card:not(.my-channel-activation){display:block}.my-channel-icon{margin-bottom:.8rem}}

/* V4.16 — Studio collections */
.studio-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.studio-collection-card{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;background:#fff;border:1px solid #dce6ef;border-radius:18px;padding:1.15rem 1.2rem;box-shadow:0 8px 25px rgba(24,53,80,.04)}.studio-collection-card h3{margin:.45rem 0 .25rem;color:#173f63}.studio-collection-card p{margin:0;color:#65788c;line-height:1.5}.studio-collection-card-meta{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;color:#718096;font-size:.78rem;font-weight:800}.studio-collection-manage{flex:0 0 auto}.studio-collection-modal[hidden]{display:none!important}.studio-collection-modal{position:fixed;inset:0;z-index:10080;background:rgba(10,25,40,.55);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:24px}.studio-collection-modal-card{width:min(1180px,96vw);max-height:92vh;background:#fff;border-radius:22px;box-shadow:0 24px 80px rgba(8,28,46,.28);overflow:hidden;display:flex;flex-direction:column}.studio-collection-modal-card.is-small{width:min(650px,96vw)}.studio-collection-modal-card>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.3rem;border-bottom:1px solid #e2e9f0}.studio-collection-modal-card>header h2{margin:.2rem 0 0}.studio-modal-close{border:0;background:#eef3f8;color:#173f63;border-radius:50%;width:38px;height:38px;font-size:1.5rem;cursor:pointer}.studio-collection-modal-body{min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr);overflow:hidden}.studio-collection-sidebar{border-right:1px solid #e2e9f0;padding:1.2rem;overflow:auto;background:#fbfdff}.studio-collection-sidebar form+form{margin-top:1.2rem;padding-top:1.2rem;border-top:1px solid #e2e9f0}.studio-danger-button{border:1px solid #efc3c8;background:#fff5f6;color:#a02b3b;border-radius:10px;padding:.65rem .8rem;font-weight:800;cursor:pointer}.studio-collection-manager{padding:1.2rem;min-width:0;overflow:auto}.studio-collection-toolbar{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(150px,.7fr));gap:.7rem;margin-bottom:1rem}.studio-collection-toolbar input,.studio-collection-toolbar select{width:100%;border:1px solid #c5d2df;border-radius:11px;padding:.7rem .75rem;font:inherit;background:#fff}.studio-collection-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem;min-height:420px}.studio-collection-pane{border:1px solid #dce6ef;border-radius:15px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.studio-collection-pane.is-selected{background:#fbfdff}.studio-pane-head{display:flex;justify-content:space-between;align-items:center;gap:.7rem;padding:.85rem 1rem;border-bottom:1px solid #e2e9f0}.studio-pane-head h3{font-size:1rem;margin:0}.studio-pane-head span{font-size:.76rem;color:#75879a;font-weight:800}.studio-content-picker{overflow:auto;padding:.55rem;display:grid;gap:.5rem;align-content:start}.studio-picker-item{display:flex;align-items:center;justify-content:space-between;gap:.7rem;border:1px solid #e1e8ef;border-radius:11px;padding:.7rem;background:#fff}.studio-picker-item strong{display:block;font-size:.9rem;color:#243f58}.studio-picker-item span{display:block;color:#7a8998;font-size:.72rem;margin-top:.2rem}.studio-picker-actions{display:flex;gap:.3rem;align-items:center;flex:0 0 auto}.studio-picker-actions button{border:1px solid #cbd7e2;background:#f7fafc;color:#284762;border-radius:8px;padding:.42rem .52rem;font-weight:800;cursor:pointer}.studio-picker-actions button[data-add]{background:#edf4ff;color:#2456b8;border-color:#c8d9f4}.studio-picker-actions button[data-remove]{background:#fff5f6;color:#9d3340;border-color:#efc7cc}.studio-picker-actions button:disabled{opacity:.35;cursor:default}.studio-picker-empty{padding:2rem 1rem;text-align:center;color:#7b8998}.studio-collection-save{display:flex;justify-content:flex-end;padding-top:1rem}.studio-create-modal-body{padding:1.3rem}.studio-modal-open{overflow:hidden}.status-public{background:#e8f8ee;color:#176538}.status-unlisted{background:#fff5df;color:#875d11}.status-private{background:#f4eefe;color:#6641a5}
@media(max-width:900px){.studio-collection-grid{grid-template-columns:1fr}.studio-collection-modal-body{grid-template-columns:1fr;overflow:auto}.studio-collection-sidebar{border-right:0;border-bottom:1px solid #e2e9f0}.studio-collection-toolbar{grid-template-columns:1fr 1fr}.studio-collection-columns{grid-template-columns:1fr;min-height:0}.studio-collection-pane{max-height:360px}}
@media(max-width:560px){.studio-collection-modal{padding:8px}.studio-collection-modal-card{max-height:96vh;border-radius:16px}.studio-collection-toolbar{grid-template-columns:1fr}.studio-collection-card{align-items:flex-start;flex-direction:column}.studio-collection-manage{width:100%;text-align:center}}

/* Collection publique dédiée */
.channel-collection-card{display:flex;flex-direction:column;color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;min-height:170px}.channel-collection-card:hover{transform:translateY(-2px);border-color:#b8cde2;box-shadow:0 10px 26px rgba(23,63,99,.08)}.channel-collection-card h3{color:#183650;margin:.55rem 0 .4rem}.channel-collection-card p{color:#64748b;line-height:1.5;margin:0 0 .8rem}.channel-collection-card>strong{color:#245fbd;font-size:.82rem;margin-top:auto}.creator-collection-page{background:#f7f9fc;min-height:70vh;padding:2rem 0 5rem}.creator-collection-shell{max-width:1180px}.creator-collection-breadcrumb{align-items:center;color:#718096;display:flex;flex-wrap:wrap;font-size:.86rem;gap:.45rem;margin-bottom:1rem}.creator-collection-breadcrumb a{color:#315f8d;font-weight:750;text-decoration:none}.creator-collection-hero{background:#fff;border:1px solid #dce5ef;border-radius:24px;box-shadow:0 14px 38px rgba(15,37,60,.08);padding:1.5rem 1.7rem}.creator-collection-owner{align-items:center;display:flex;gap:.7rem;margin-bottom:1.2rem}.creator-collection-owner img,.creator-collection-owner>span{align-items:center;background:#edf3fa;border-radius:50%;display:flex;height:42px;justify-content:center;object-fit:cover;width:42px}.creator-collection-owner div{display:grid;gap:.05rem}.creator-collection-owner small{color:#7a8b9c;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.creator-collection-owner a{color:#173f63;font-weight:900;text-decoration:none}.creator-collection-title>span{background:#edf4ff;border-radius:999px;color:#2857a5;display:inline-flex;font-size:.74rem;font-weight:900;padding:.34rem .62rem}.creator-collection-title h1{color:#183650;font-size:clamp(1.7rem,3.4vw,2.55rem);line-height:1.12;margin:.7rem 0 .55rem}.creator-collection-title p{color:#5f7388;line-height:1.65;margin:0;max-width:850px}.creator-collection-content{background:#fff;border:1px solid #dce5ef;border-radius:22px;margin-top:1.2rem;padding:1.35rem}@media(max-width:900px){.creator-collection-page .channel-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.creator-collection-page{padding-top:1rem}.creator-collection-hero,.creator-collection-content{border-radius:16px;padding:1rem}.creator-collection-page .channel-content-grid{grid-template-columns:1fr}}

/* V4.18 — cartes publiques de collections */
.channel-collections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.channel-collection-card{position:relative;min-height:0!important;padding:0!important;border-radius:20px!important;overflow:hidden;background:#fff!important;border:1px solid #dce6ef!important;display:grid!important;grid-template-columns:116px minmax(0,1fr);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.channel-collection-card:hover{transform:translateY(-2px);border-color:#aac3dd!important;box-shadow:0 12px 28px rgba(21,55,82,.09)}.channel-collection-visual{background:linear-gradient(145deg,#163e63,#2e6aa0);min-height:132px;display:grid;place-items:center;position:relative;overflow:hidden}.channel-collection-visual:before,.channel-collection-visual:after{content:"";position:absolute;width:72px;height:92px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(255,255,255,.08)}.channel-collection-visual:before{transform:translate(-10px,-7px) rotate(-6deg)}.channel-collection-visual:after{transform:translate(10px,7px) rotate(5deg)}.channel-collection-visual span{position:relative;z-index:2;color:#fff;font-size:1.6rem;font-weight:900}.channel-collection-card-copy{padding:1rem 1.05rem;display:flex;flex-direction:column;min-width:0}.channel-collection-card-copy>span{color:#55718a!important;font-size:.74rem!important;font-weight:800!important}.channel-collection-card h3{font-size:1.08rem;margin:.28rem 0 .38rem!important;line-height:1.3}.channel-collection-card p{font-size:.86rem;line-height:1.48;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 .75rem!important}.channel-collection-card strong{margin-top:auto!important;display:inline-flex;align-items:center;gap:.35rem;color:#245fbd!important}.creator-collection-hero{display:grid;grid-template-columns:150px minmax(0,1fr);gap:1.35rem;align-items:center}.creator-collection-cover{height:150px;border-radius:18px;background:linear-gradient(145deg,#163e63,#2e6aa0);display:grid;place-items:center;position:relative;overflow:hidden}.creator-collection-cover:before,.creator-collection-cover:after{content:"";position:absolute;width:80px;height:105px;border:1px solid rgba(255,255,255,.25);border-radius:12px;background:rgba(255,255,255,.08)}.creator-collection-cover:before{transform:translate(-12px,-8px) rotate(-7deg)}.creator-collection-cover:after{transform:translate(12px,8px) rotate(6deg)}.creator-collection-cover strong{position:relative;z-index:2;color:#fff;font-size:2rem}.creator-collection-hero-copy{min-width:0}.creator-collection-owner{margin-bottom:.75rem}.creator-collection-title h1{margin-top:.45rem}@media(max-width:760px){.channel-collections-grid{grid-template-columns:1fr}.creator-collection-hero{grid-template-columns:1fr}.creator-collection-cover{height:105px}.channel-collection-card{grid-template-columns:92px minmax(0,1fr)}.channel-collection-visual{min-height:120px}}

/* V4.19 — Partage chaîne / collection */
.channel-share-btn,.content-share-btn{appearance:none;border:1px solid #c7d5e3;background:#fff;color:#173f63;border-radius:999px;padding:.7rem .95rem;font:inherit;font-weight:850;font-size:.86rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.42rem;transition:background .16s ease,border-color .16s ease,transform .16s ease}.channel-share-btn:hover,.content-share-btn:hover{background:#f4f8fc;border-color:#9fb7ce;transform:translateY(-1px)}.channel-share-btn.is-shared,.content-share-btn.is-shared{background:#eaf7ef;border-color:#b8dfc6;color:#21613a}.creator-collection-actions{margin-top:1rem;display:flex;gap:.55rem;flex-wrap:wrap}

/* Studio - actions de bannière */
.studio-banner-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.studio-banner-actions .btn,.studio-banner-actions .btn-secondary{margin:0}
@media (max-width:640px){.studio-banner-actions{align-items:stretch;flex-direction:column}.studio-banner-actions .btn,.studio-banner-actions .btn-secondary{width:100%;justify-content:center}}

/* V4.24 — collection hero sans visuel + réseaux chaîne en icônes seules */
.creator-collection-hero.creator-collection-hero-no-cover{display:block;grid-template-columns:none}
.creator-collection-hero-no-cover .creator-collection-hero-copy{width:100%}
.creator-channel-social{width:36px;height:36px;padding:0;justify-content:center;border-radius:50%}
.creator-channel-social svg{height:17px;width:17px;flex:0 0 17px}
@media(max-width:520px){.creator-channel-social{width:34px;height:34px;padding:0}}

/* V4.25 — collection detail header, rebalanced after cover removal */
.creator-collection-hero.creator-collection-hero-no-cover{display:block;padding:1.65rem 1.8rem}
.creator-collection-hero-no-cover .creator-collection-hero-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"owner actions" "title title";column-gap:1.25rem;row-gap:.9rem;align-items:center;width:100%}
.creator-collection-hero-no-cover .creator-collection-owner{grid-area:owner;margin:0;min-width:0}
.creator-collection-hero-no-cover .creator-collection-owner img,.creator-collection-hero-no-cover .creator-collection-owner>span{height:38px;width:38px;flex:0 0 38px}
.creator-collection-hero-no-cover .creator-collection-owner small{font-size:.68rem;letter-spacing:.055em}
.creator-collection-hero-no-cover .creator-collection-owner a{font-size:.94rem}
.creator-collection-hero-no-cover .creator-collection-title{grid-area:title;position:relative;padding-top:.9rem;border-top:1px solid #edf1f5}
.creator-collection-hero-no-cover .creator-collection-title>span{margin-bottom:.15rem}
.creator-collection-hero-no-cover .creator-collection-title h1{max-width:900px;font-size:clamp(1.8rem,3.1vw,2.6rem);letter-spacing:-.025em;margin:.55rem 0 .5rem}
.creator-collection-hero-no-cover .creator-collection-title p{max-width:900px;font-size:.98rem;line-height:1.65;color:#60758a}
.creator-collection-hero-no-cover .creator-collection-actions{grid-area:actions;margin:0;align-self:center;justify-self:end}
.creator-collection-hero-no-cover .content-share-btn{white-space:nowrap}
@media(max-width:700px){
  .creator-collection-hero.creator-collection-hero-no-cover{padding:1.15rem}
  .creator-collection-hero-no-cover .creator-collection-hero-copy{grid-template-columns:1fr auto;grid-template-areas:"owner actions" "title title";column-gap:.75rem;row-gap:.8rem}
  .creator-collection-hero-no-cover .creator-collection-owner div{min-width:0}
  .creator-collection-hero-no-cover .creator-collection-owner a{display:block;max-width:52vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .creator-collection-hero-no-cover .creator-collection-title{padding-top:.8rem}
  .creator-collection-hero-no-cover .creator-collection-title h1{font-size:1.65rem}
  .creator-collection-hero-no-cover .content-share-btn{padding:.58rem .7rem}
}

/* V4.27 — séparation nette entre navigation Studio et contenu */
.creator-studio .studio-tabs{
  position:relative;
  z-index:2;
  margin-bottom:0!important;
}
.creator-studio .studio-tabs + .studio-grid.stats{
  margin-top:1.75rem!important;
}
.creator-studio .studio-tabs + .studio-card{
  margin-top:1.75rem!important;
}
@media(max-width:720px){
  .creator-studio .studio-tabs + .studio-grid.stats,
  .creator-studio .studio-tabs + .studio-card{
    margin-top:1.15rem!important;
  }
}

/* V4.28 — bannière locale par défaut des chaînes */
.creator-channel-banner.is-default-image{
  background-color:#dff5ff;
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
}


/* V4.29 — Annuaire public des chaînes */
.channel-directory-page{background:#f6f9fc;min-height:70vh;padding-bottom:5rem}.channel-directory-hero{background:linear-gradient(135deg,#edf7ff,#f8fbff);border-bottom:1px solid #dce8f3;padding:3rem 0 2.5rem}.channel-directory-hero-inner{align-items:center;display:flex;gap:2rem;justify-content:space-between}.channel-directory-eyebrow{color:#2b67b1;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.channel-directory-hero h1{color:#173d5e;font-size:clamp(2rem,4vw,3.15rem);line-height:1.05;margin:.5rem 0 .7rem}.channel-directory-hero p{color:#587086;font-size:1rem;line-height:1.65;margin:0;max-width:720px}.channel-directory-my{background:#fff;border:1px solid #b9cee1;border-radius:999px;color:#1d507a;font-weight:850;padding:.78rem 1.1rem;text-decoration:none;white-space:nowrap}.channel-directory-shell{padding-top:1.5rem}.channel-directory-search{align-items:end;background:#fff;border:1px solid #dbe6f0;border-radius:20px;box-shadow:0 10px 30px rgba(32,63,91,.07);display:grid;gap:.85rem;grid-template-columns:minmax(260px,1.8fr) repeat(3,minmax(145px,.75fr)) auto;padding:1rem}.channel-directory-search label{display:grid;gap:.36rem}.channel-directory-search label>span{color:#536b81;font-size:.75rem;font-weight:850}.channel-directory-search input,.channel-directory-search select{background:#fff;border:1px solid #c7d5e2;border-radius:11px;font:inherit;height:44px;min-width:0;padding:0 .8rem}.channel-directory-search .btn{height:44px}.channel-directory-reset{align-self:center;color:#446b90;font-size:.82rem;font-weight:800;text-decoration:none}.channel-directory-summary{align-items:end;display:flex;justify-content:space-between;margin:2rem 0 1rem}.channel-directory-summary h2{color:#1d405f;margin:0}.channel-directory-summary p{color:#718398;margin:.25rem 0 0}.channel-directory-grid{display:grid;gap:1.2rem;grid-template-columns:repeat(3,minmax(0,1fr))}.channel-directory-card{background:#fff;border:1px solid #dce6ef;border-radius:20px;box-shadow:0 9px 26px rgba(35,65,91,.065);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.channel-directory-card:hover{box-shadow:0 15px 35px rgba(35,65,91,.11);transform:translateY(-2px)}.channel-directory-banner{background-color:#eaf4fb;background-position:center;background-size:cover;display:block;height:118px}.channel-directory-body{padding:0 1.1rem 1.15rem;position:relative}.channel-directory-avatar{align-items:center;background:#fff;border:4px solid #fff;border-radius:50%;box-shadow:0 4px 13px rgba(23,55,82,.15);display:flex;height:70px;justify-content:center;margin-top:-35px;overflow:hidden;width:70px}.channel-directory-avatar img{height:100%;object-fit:cover;width:100%}.channel-directory-avatar span{font-size:1.6rem}.channel-directory-title{align-items:center;display:flex;gap:.4rem;margin-top:.65rem}.channel-directory-title h3{font-size:1.15rem;line-height:1.25;margin:0}.channel-directory-title h3 a{color:#173d5e;text-decoration:none}.channel-directory-title>span{align-items:center;background:#2968d7;border-radius:50%;color:#fff;display:inline-flex;font-size:.62rem;font-weight:900;height:18px;justify-content:center;width:18px}.channel-directory-headline{color:#47647f;font-size:.84rem;font-weight:750;margin:.35rem 0}.channel-directory-description{color:#687d90;font-size:.86rem;line-height:1.55;margin:.65rem 0}.channel-directory-subjects{display:flex;flex-wrap:wrap;gap:.35rem;margin:.7rem 0}.channel-directory-subjects span{background:#edf5fd;border-radius:999px;color:#315f88;font-size:.7rem;font-weight:800;padding:.28rem .5rem}.channel-directory-meta{color:#7a8b9b;display:flex;font-size:.76rem;gap:.85rem;margin:.75rem 0}.channel-directory-open{align-items:center;border-top:1px solid #edf1f5;color:#255d91;display:flex;font-size:.84rem;font-weight:850;justify-content:space-between;margin-top:.8rem;padding-top:.85rem;text-decoration:none}.channel-directory-open:after{content:"→"}.channel-directory-empty{background:#fff;border:1px dashed #bfd0df;border-radius:18px;color:#64798d;padding:3rem;text-align:center}.channel-directory-empty h2{color:#284862;margin-top:0}.course-catalog-summary-main{align-items:center;display:flex;gap:.85rem;flex-wrap:wrap}.courses-discover-channels{background:#f1f7fd;border:1px solid #c8dced;border-radius:999px;color:#285d88;font-size:.78rem;font-weight:850;padding:.45rem .68rem;text-decoration:none}.courses-discover-channels:hover{background:#e7f2fb}.channel-directory-search .channel-directory-q{min-width:0}
@media(max-width:1050px){.channel-directory-search{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-directory-search .channel-directory-q{grid-column:1/-1}.channel-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.channel-directory-hero{padding:2rem 0}.channel-directory-hero-inner{align-items:flex-start;flex-direction:column;gap:1rem}.channel-directory-search{grid-template-columns:1fr}.channel-directory-search .channel-directory-q{grid-column:auto}.channel-directory-grid{grid-template-columns:1fr}.channel-directory-summary{margin-top:1.4rem}.channel-directory-banner{height:105px}}

/* === V4.30 — ergonomie mobile cartes cours & Communauté === */
@media (max-width: 760px){
  /* Sur mobile l'abonnement reste sur la même ligne que l'auteur, comme sur desktop. */
  .course-creator-row{
    align-items:center!important;
    flex-direction:row!important;
    justify-content:space-between!important;
    gap:.65rem!important;
  }
  .course-creator{
    flex:1 1 auto;
    min-width:0;
  }
  .course-follow-form{
    flex:0 0 auto!important;
    width:auto!important;
  }
  .course-follow{
    flex:0 0 auto!important;
    text-align:center;
    padding:.46rem .66rem;
  }

  /* Auteur/date à gauche, Répondre + menu à droite sur la même ligne. */
  .community-message-meta{
    align-items:flex-start!important;
    display:flex!important;
    justify-content:space-between!important;
    gap:.45rem!important;
  }
  .community-message-meta>div:first-child{
    flex:1 1 auto;
    min-width:0;
    gap:.22rem .48rem;
  }
  .community-message-actions{
    align-items:center!important;
    align-self:flex-start;
    display:flex!important;
    flex:0 0 auto!important;
    gap:.3rem!important;
    margin-top:0!important;
  }
}

@media (max-width: 420px){
  .course-creator-row{gap:.45rem!important}
  .course-creator>img,.course-creator>span:first-child{height:34px;width:34px;flex-basis:34px}
  .course-creator strong{font-size:.82rem}
  .course-creator small{font-size:.68rem}
  .course-follow{font-size:.72rem;padding:.42rem .58rem}
  .community-message-meta strong{font-size:.9rem}
  .community-message-meta span{font-size:.72rem}
}


/* === V4.31 — chaîne mobile, notices sécurité et modal liens === */
.community-system-notice{display:block!important;padding:.82rem .95rem!important;}
.community-system-notice strong{margin:0 0 .22rem!important;}
.community-system-avatar{display:none!important;}

.community-link-modal{background:rgba(10,24,38,.62)!important;backdrop-filter:blur(7px)!important;}
.community-link-modal-card{width:min(560px,100%)!important;border:1px solid #d7e2ec!important;border-radius:20px!important;padding:1.5rem!important;box-shadow:0 28px 75px rgba(5,20,34,.28)!important;}
.community-link-status,.community-link-kicker{display:none!important;}
.community-link-eyebrow{margin:0 2.5rem .4rem 0!important;color:#718398!important;font-size:.76rem!important;font-weight:850!important;letter-spacing:.055em!important;text-transform:uppercase!important;}
.community-link-modal-card h2{margin:0 2.5rem .55rem 0!important;font-size:1.38rem!important;line-height:1.2!important;color:#163b59!important;}
.community-link-message{margin:0!important;color:#5e7285!important;font-size:.93rem!important;line-height:1.55!important;}
.community-link-destination{margin-top:1.05rem!important;padding:.85rem .95rem!important;background:#f7f9fc!important;border:1px solid #e0e7ef!important;border-radius:13px!important;}
.community-link-destination span{display:block!important;color:#7a8b9c!important;font-size:.7rem!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.045em!important;margin-bottom:.24rem!important;}
.community-link-destination strong{display:block!important;color:#203f5a!important;font-size:.96rem!important;overflow-wrap:anywhere!important;}
.community-link-destination small{display:block!important;color:#718395!important;font-size:.76rem!important;margin-top:.18rem!important;overflow-wrap:anywhere!important;}
.community-link-modal-actions{display:flex!important;justify-content:flex-end!important;gap:.65rem!important;margin-top:1.1rem!important;}
.community-link-cancel,.community-link-confirm{border-radius:11px!important;min-height:42px!important;padding:.68rem 1rem!important;font:inherit!important;font-weight:850!important;cursor:pointer!important;}
.community-link-cancel{background:#fff!important;color:#40576b!important;border:1px solid #cbd7e2!important;}
.community-link-cancel:hover{background:#f4f7fa!important;border-color:#b8c7d5!important;}
.community-link-confirm{background:#1c4f79!important;color:#fff!important;border:1px solid #1c4f79!important;box-shadow:none!important;}
.community-link-confirm:hover{background:#163f62!important;border-color:#163f62!important;}
.community-link-modal.is-external .community-link-modal-card{border-color:#e7d2b9!important;}
.community-link-modal.is-external .community-link-eyebrow{color:#93611d!important;}
.community-link-modal.is-external .community-link-destination{background:#fffaf3!important;border-color:#eddcc5!important;}
.community-link-modal.is-external .community-link-confirm{background:#8a5418!important;border-color:#8a5418!important;}
.community-link-modal.is-external .community-link-confirm:hover{background:#714313!important;border-color:#714313!important;}

@media(max-width:780px){
  .creator-channel-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.55rem!important;width:100%!important;align-items:stretch!important;}
  .creator-channel-actions:has(.channel-bell){grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .creator-channel-actions .course-follow-form{display:contents!important;}
  .creator-channel-actions .channel-subscribe,
  .creator-channel-actions .channel-bell,
  .creator-channel-actions .channel-share-btn{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:.6rem .55rem!important;box-sizing:border-box!important;}
  .creator-channel-actions .channel-bell{font-size:1rem!important;}
  .creator-channel-actions .channel-studio-btn{grid-column:1/-1!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;box-sizing:border-box!important;}
  .creator-channel-actions .channel-report-btn{grid-column:1/-1!important;text-align:center!important;}
  .community-link-modal{padding:.75rem!important;}
  .community-link-modal-card{border-radius:17px!important;padding:1.2rem!important;}
  .community-link-modal-actions{display:grid!important;grid-template-columns:1fr!important;}
  .community-link-cancel,.community-link-confirm{width:100%!important;}
}

/* V4.42 — badges niveau/matière identiques collège et lycée */
.course-card .course-card-tags{height:auto!important;min-height:24px!important;overflow:visible!important;align-items:center!important}
.course-card .course-card-tags>span{height:24px!important;min-height:24px!important;max-height:24px!important;border-radius:999px!important;padding:0 9px!important;line-height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important}
.course-card .course-tag-level{flex:0 0 auto!important;max-width:none!important}
.course-card .course-tag-subject{flex:0 1 auto!important;max-width:min(75%,260px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* V4.43 — badges niveau/matière strictement identiques collège / lycée */
.course-catalog-v2 .course-card-tags{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:7px!important;min-height:26px!important;height:26px!important;overflow:hidden!important;margin:0!important}
.course-catalog-v2 .course-card-tags>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:26px!important;min-height:26px!important;max-height:26px!important;line-height:1!important;padding:0 10px!important;border-radius:999px!important;background:#edf4ff!important;color:#2456b8!important;border:0!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important;vertical-align:middle!important;transform:none!important}
.course-catalog-v2 .course-tag-level{flex:0 0 auto!important;max-width:none!important}
.course-catalog-v2 .course-tag-subject{flex:0 1 auto!important;min-width:0!important;max-width:min(72%,280px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:520px){.course-catalog-v2 .course-card-tags{height:24px!important;min-height:24px!important}.course-catalog-v2 .course-card-tags>span{height:24px!important;min-height:24px!important;max-height:24px!important;font-size:10.5px!important;padding:0 8px!important}.course-catalog-v2 .course-tag-subject{max-width:70%!important}}

/* V4.44 — badges catalogue : un seul rendu collège / lycée */
.course-catalog-v2 .course-card-tags{display:flex!important;align-items:center!important;gap:8px!important;height:auto!important;min-height:28px!important;overflow:visible!important;flex-wrap:wrap!important}
.course-catalog-v2 .course-card-tags .course-tag-level,
.course-catalog-v2 .course-card-tags .course-tag-subject{position:static!important;float:none!important;transform:none!important;margin:0!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0 12px!important;border:0!important;border-radius:999px!important;background:#edf4ff!important;color:#2456b8!important;font-size:13px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important}
.course-catalog-v2 .course-card-tags .course-tag-level{flex:0 0 auto!important;max-width:none!important}
.course-catalog-v2 .course-card-tags .course-tag-subject{flex:0 1 auto!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
.studio-establishment-options{display:grid;gap:10px;margin:12px 0 16px}.studio-establishment-option{align-items:flex-start!important}.studio-establishment-option span{display:grid;gap:2px}.studio-establishment-option small{color:#6b7d8f;font-weight:600}
.creator-channel-establishments{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.creator-channel-establishment{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #dce6ef;border-radius:999px;background:#fff;color:#203b55;text-decoration:none}.creator-channel-establishment img,.creator-channel-establishment>span[aria-hidden]{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#edf4ff;flex:0 0 34px}.creator-channel-establishment span:not([aria-hidden]){display:grid;line-height:1.15}.creator-channel-establishment strong{font-size:.86rem}.creator-channel-establishment small{font-size:.7rem;color:#718396;margin-top:3px}


/* V4.45 — bouton d'abonnement lecteur + badges catalogue stabilisés */
.course-header-follow{margin:0;display:inline-flex;align-items:center}
.course-header-follow .btn-secondary{appearance:none;border:1px solid #b9cbe0;background:#fff;color:#17466f;border-radius:999px;min-height:42px;padding:0 17px;font:inherit;font-weight:850;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(20,55,85,.06);transition:.15s ease}
.course-header-follow .btn-secondary:hover{background:#f4f8fd;border-color:#7fa1c4;box-shadow:0 7px 18px rgba(20,55,85,.11);transform:translateY(-1px)}
.course-catalog-v2 .course-card-tags .course-tag-level,
.course-catalog-v2 .course-card-tags .course-tag-subject{background-image:none!important;filter:none!important;text-shadow:none!important;outline:0!important}
.course-catalog-v2 .course-card-tags .course-tag-level::before,
.course-catalog-v2 .course-card-tags .course-tag-level::after,
.course-catalog-v2 .course-card-tags .course-tag-subject::before,
.course-catalog-v2 .course-card-tags .course-tag-subject::after{content:none!important;display:none!important}
.course-catalog-v2 .course-card-tags .course-tag-level{background:#edf4ff!important;border:1px solid transparent!important;box-shadow:none!important}

/* V4.45 — établissements affichés sur la chaîne */
.studio-establishment-options{display:grid;gap:10px;margin:14px 0 18px}
.studio-establishment-option{position:relative;display:grid!important;grid-template-columns:1fr auto;align-items:center!important;gap:14px;padding:13px 14px;border:1px solid #dce6ef;border-radius:14px;background:#fff;cursor:pointer}
.studio-establishment-option>input[type=checkbox]{appearance:none;width:46px!important;height:26px!important;min-width:46px;border-radius:999px;background:#cbd5e1;position:relative;cursor:pointer;transition:.18s ease;order:2}
.studio-establishment-option>input[type=checkbox]::after{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(15,23,42,.24);transition:.18s ease}
.studio-establishment-option>input[type=checkbox]:checked{background:#2864ed}.studio-establishment-option>input[type=checkbox]:checked::after{transform:translateX(20px)}
.studio-establishment-option>input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}.studio-establishment-option span{display:grid;gap:3px;order:1}.studio-establishment-option small{color:#6b7d8f;font-weight:600}
.creator-channel-establishments{margin-top:14px!important;margin-bottom:18px!important}
.studio-channel-establishments-card .studio-section-heading{margin-bottom:12px}.studio-channel-establishments-card .studio-section-heading h2{margin:.2rem 0 .35rem}.studio-channel-establishments-card .studio-section-heading p{margin:0;color:#64748b;line-height:1.55}.studio-establishment-option span a{font-size:.76rem;font-weight:800;color:#2864ed;text-decoration:none;margin-top:3px}.studio-empty-inline{padding:16px;border:1px dashed #c8d6e4;border-radius:14px;background:#f8fbff}.studio-empty-inline p{color:#64748b}.studio-empty-inline .btn-secondary{display:inline-flex;text-decoration:none}

/* V4.48 — bouton désactivation et signalement de chaîne */
.studio-danger-zone form{margin-top:14px}.studio-danger-zone .btn-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #e4a7ad;border-radius:12px;background:#fff5f6;color:#a3202a;font-weight:850;padding:.68rem 1rem;box-shadow:0 4px 12px rgba(153,27,27,.05);transition:.18s ease}.studio-danger-zone .btn-secondary:hover{background:#ffecee;border-color:#cf6d77;box-shadow:0 8px 20px rgba(153,27,27,.1);transform:translateY(-1px)}.studio-danger-zone .btn-secondary:focus-visible{outline:3px solid rgba(190,24,93,.18);outline-offset:2px}
html.channel-report-open{overflow:hidden}.channel-report-btn{font:inherit;cursor:pointer}.channel-report-modal{position:fixed;inset:0;z-index:14000}.channel-report-backdrop{position:absolute;inset:0;background:rgba(7,18,38,.68);backdrop-filter:blur(4px)}.channel-report-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,calc(100% - 28px));box-sizing:border-box;background:#fff;border:1px solid #dce5f0;border-radius:24px;box-shadow:0 30px 90px rgba(15,23,42,.28);padding:28px}.channel-report-close{position:absolute;right:14px;top:14px;width:40px;height:40px;border:0;border-radius:50%;background:#eef3f8;color:#1f2937;font-size:1.35rem;cursor:pointer}.channel-report-kicker{display:block;color:#245cc7;font-weight:900;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase}.channel-report-card h2{margin:.4rem 48px .45rem 0;font-size:1.75rem}.channel-report-card>p{margin:0 0 1.2rem;color:#64748b}.channel-report-card form{display:grid;gap:14px}.channel-report-card label{display:grid;gap:7px;font-weight:800;color:#26364d}.channel-report-card label span{font-weight:500;color:#7b8798}.channel-report-card select,.channel-report-card textarea{width:100%;box-sizing:border-box;border:1px solid #ced9e7;border-radius:12px;background:#fff;padding:11px 12px;font:inherit;outline:none}.channel-report-card select:focus,.channel-report-card textarea:focus{border-color:#3269d8;box-shadow:0 0 0 3px rgba(50,105,216,.12)}.channel-report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:3px}.channel-report-status{border-radius:12px;padding:10px 12px;font-weight:750;background:#f1f5f9;color:#475569}.channel-report-status.success{background:#ecfdf3;color:#166534}.channel-report-status.error{background:#fff1f2;color:#991b1b}@media(max-width:620px){.channel-report-card{padding:22px 17px;border-radius:18px}.channel-report-actions{display:grid;grid-template-columns:1fr 1fr}.channel-report-actions .btn,.channel-report-actions .btn-secondary{width:100%}}


/* V4.49 — actions Studio > Contenus */
.studio-course-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:9px}
.studio-course-row-actions .btn-small{display:inline-flex;align-items:center;justify-content:center;min-height:36px;box-sizing:border-box;text-decoration:none;white-space:nowrap}
.studio-table td:last-child{min-width:300px}
.studio-table td:last-child>details{display:block;width:100%;margin-top:4px}
.studio-table td:last-child>details>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid #c9d6e3;border-radius:9px;background:#fff;color:#173f63;font-weight:800;cursor:pointer;box-sizing:border-box}
.studio-table td:last-child>details>summary::-webkit-details-marker{display:none}
.studio-table td:last-child>details[open]>summary{background:#eef5fb;border-color:#9db5cb}
.studio-inline-form{margin-top:10px;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr);gap:8px;align-items:end;min-width:0}
.studio-inline-form input[name="access_code"]{grid-column:1/-1}
.studio-inline-form .btn-small{justify-self:start;min-width:110px}
@media(max-width:900px){.studio-table td:last-child{min-width:260px}.studio-inline-form{grid-template-columns:1fr}.studio-inline-form input[name="access_code"]{grid-column:auto}}
