@layer prepago-legacy {
.matieres-overview{color:#101a33}
.matieres-hero{min-height:154px;display:flex;align-items:center;gap:30px;padding:26px 32px;margin:6px 0 20px;border:1px solid #e2eaff;border-radius:15px;background:linear-gradient(105deg,#f8fbff,#eef3ff);box-shadow:0 2px 12px #172d6505}
.matieres-hero-copy{flex:1;min-width:0}
.matieres-hero h1{margin:0 0 8px;font-size:40px;line-height:1.1;letter-spacing:-1.4px;font-weight:var(--font-bold);color:#10182e}
.matieres-hero p{margin:0;color:#536486;font-size:var(--text-panel);line-height:1.45}
.matieres-hero-note{display:flex;align-items:center;gap:9px;min-width:185px;color:#5673ab;font-size:var(--text-xs);font-style:italic;line-height:1.4;transform:rotate(-5deg)}
.matieres-book-icon{display:grid;place-items:center;width:74px;height:65px;color:#83abed;filter:drop-shadow(7px 7px 0 #cee1ff)}
.matieres-book-icon .icon-svg{width:58px;height:58px;stroke-width:1.25}
.matieres-add.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:52px;min-width:225px;padding:12px 20px;border-radius:11px;background:#0b56ea;color:#fff;box-shadow:none;white-space:nowrap;font-size:15px;font-weight:var(--font-semibold)}
.matieres-add span{font-size:25px;line-height:15px;font-weight:var(--font-regular)}
.matieres-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.matieres-stat{display:flex;align-items:center;gap:32px;min-height:137px;padding:22px 26px;border:1px solid #dfe7f7;border-radius:14px;background:#fff;box-shadow:0 3px 16px #162b6205}
.matieres-stat-icon{display:grid;place-items:center;flex:none;width:66px;height:66px;border-radius:50%}
.matieres-stat-icon .icon-svg{width:29px;height:29px;stroke-width:1.8}
.matieres-stat-icon.blue{background:#e9f0ff;color:#075cf0}
.matieres-stat-icon.green{background:#e7f8f0;color:#0a9d65}
.matieres-stat-icon.purple{background:#eeebff;color:#5841dc}
.matieres-stat strong{display:block;font-size:31px;line-height:1.05;letter-spacing:-.7px;color:#111b34}
.matieres-stat b{display:block;margin-top:3px;font-size:17px;line-height:1.2;color:#425374}
.matieres-stat p{margin:9px 0 0;color:#536587;font-size:15px;line-height:1.35}
.matieres-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:42px 0 18px}
.matieres-tabs,.matieres-tools,.matieres-view{display:flex;align-items:center}
.matieres-tabs{gap:0}
.matieres-tabs button{position:relative;min-height:46px;padding:0 29px;border:0;border-radius:11px;background:transparent;color:#405173;font:inherit;font-size:var(--text-sm);cursor:pointer}
.matieres-tabs button:first-child{padding-left:31px;padding-right:31px}
.matieres-tabs button+button:not(.active):before{content:"";position:absolute;left:0;top:14px;height:18px;border-left:1px solid #e2e8f5}
.matieres-tabs button.active{background:#e3ecff;color:#0652dc;font-weight:var(--font-semibold)}
.matieres-tools{gap:18px}
.matieres-sort{display:flex;align-items:center;gap:10px;min-width:220px;height:47px;padding:0 15px;border:1px solid #dce5f5;border-radius:11px;background:#fff;color:#203866;box-shadow:0 2px 8px #14295d08}
.matieres-sort select{width:100%;border:0;outline:0;background:transparent;color:#182b4c;font:inherit;font-size:var(--text-sm);cursor:pointer;appearance:none}
.matieres-sort>span:last-child{font-size:21px;line-height:1}
.matieres-view{height:47px;border:1px solid #dce5f5;border-radius:11px;background:#fff;overflow:hidden}
.matieres-view button{width:51px;height:47px;border:0;background:transparent;color:#315077;font-size:23px;line-height:1;cursor:pointer}
.matieres-view button.active{background:#0b56ea;color:#fff;border-radius:9px}
.matieres-overview .subject-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.matieres-overview .subject-hub-card{min-width:0;border:1px solid #dce5f5;border-radius:14px;box-shadow:0 5px 18px #1b326108;background:#fff}
.matieres-overview .subject-hub-open{display:flex;flex-direction:column;width:100%;min-height:305px;padding:20px 22px 17px;text-align:left;background:transparent;border:0;border-radius:14px;color:#14203a;cursor:pointer}
.matieres-overview .subject-hub-open:hover{background:#fcfdff}
.matieres-overview .subject-hub-top{display:block}
.matieres-overview .subject-hub-top .subject-symbol{display:grid;place-items:center;width:66px;height:66px;border-radius:16px;font-size:var(--text-greeting);font-weight:var(--font-medium)}
.matieres-overview .subject-symbol-math{background:#f0ebff;color:#452184}
.matieres-overview .subject-symbol-physics{background:#e7f0ff;color:#0876cf}
.matieres-overview .subject-symbol-industry{background:#fff2dd;color:#80520b}
.matieres-overview .subject-hub-card h2{margin:19px 0 11px;font-size:var(--text-lg);line-height:1.25;letter-spacing:-.4px;color:#14203a}
.matieres-overview .subject-hub-card p{margin:0 0 20px;font-size:var(--text-base);line-height:1.35;color:#516587}
.matieres-overview .subject-separator{padding:0 11px;color:#4271bb}
.matieres-overview .subject-progress-line{display:flex;align-items:center;gap:16px;width:100%;margin-bottom:31px}
.matieres-overview .progress-bar{height:8px;flex:1;border-radius:9px;background:#e4ebf8;overflow:hidden}
.matieres-overview .progress-fill{height:100%;background:#2369ef}
.matieres-overview .subject-progress-line strong{font-size:var(--text-base);font-weight:var(--font-bold);color:#172442}
.matieres-overview .subject-card-link{display:flex;align-items:center;gap:18px;width:100%;min-height:48px;margin-top:auto;padding:0 14px;border-radius:10px;background:#f0f4ff;color:#1c3564;font-size:15px;font-weight:var(--font-semibold)}
.matieres-overview .subject-card-link span{font-size:var(--text-title);line-height:18px;font-weight:var(--font-regular);color:#0e59e8}
.matieres-overview .subject-menu{top:20px;right:19px}
.matieres-overview .subject-menu summary{font-size:17px;color:#304772}
.matieres-overview .subject-hub-grid.is-list{grid-template-columns:1fr}
.matieres-overview .is-list .subject-hub-open{display:grid;grid-template-columns:70px minmax(170px,1fr) minmax(150px,1.2fr) minmax(130px,.9fr) 190px;align-items:center;column-gap:18px;min-height:112px;padding:17px 65px 17px 20px}
.matieres-overview .is-list .subject-hub-card h2,.matieres-overview .is-list .subject-hub-card p,.matieres-overview .is-list .subject-progress-line{margin:0}
.matieres-overview .is-list .subject-card-link{margin:0;min-height:46px;justify-content:center}
.matieres-overview .is-list .subject-menu{top:38px;right:14px}
.matieres-empty{grid-column:1/-1;padding:50px 24px;border:1px dashed #d9e4f6;border-radius:14px;background:#fbfdff;text-align:center;color:#536587}
@media(max-width:1250px){.matieres-hero-note{display:none}.matieres-stat{gap:16px;padding:18px}.matieres-overview .subject-hub-card p{font-size:var(--text-sm)}.matieres-overview .is-list .subject-hub-open{grid-template-columns:60px 1fr 1fr;row-gap:12px}.matieres-overview .is-list .subject-progress-line{grid-column:2}.matieres-overview .is-list .subject-card-link{grid-column:3}}
@media(max-width:1050px){.matieres-overview .subject-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.matieres-stats{gap:10px}.matieres-stat{min-height:125px}.matieres-stat-icon{width:48px;height:48px}.matieres-stat p{font-size:var(--text-xs)}.matieres-stat b{font-size:15px}}
@media(max-width:820px){.matieres-hero{flex-wrap:wrap}.matieres-hero h1{font-size:var(--text-greeting)}.matieres-stats{grid-template-columns:1fr}.matieres-stat{min-height:95px}.matieres-stat p{font-size:var(--text-sm)}.matieres-toolbar{flex-wrap:wrap;margin-top:26px}.matieres-tools{width:100%;justify-content:space-between}}
@media(max-width:580px){.matieres-hero{padding:24px}.matieres-hero p{font-size:15px}.matieres-add.primary-btn{width:100%;min-width:0}.matieres-overview .subject-hub-grid{grid-template-columns:1fr}.matieres-tabs{width:100%;justify-content:space-between}.matieres-tabs button,.matieres-tabs button:first-child{flex:1;padding:0 9px;font-size:var(--text-label)}.matieres-sort{min-width:0;flex:1}.matieres-tools{gap:10px}.matieres-view button{width:42px}.matieres-overview .is-list .subject-hub-open{display:flex;min-height:0;padding:18px 55px 18px 18px}.matieres-overview .is-list .subject-card-link{margin-top:16px}.matieres-overview .is-list .subject-progress-line{margin-top:12px}}

}
