/* Student portal inspired by the supplied interface references. */
.portal-sidebar{position:fixed;inset:0 auto 0 0;width:242px;z-index:4;display:flex;flex-direction:column;background:linear-gradient(155deg,#012767,#03234a 68%,#0b3c70);color:white;overflow:auto;padding:24px 14px 18px}.portal-brand{text-decoration:none;color:white;padding:0 16px 24px}.portal-brand img{width:155px;max-width:100%;height:auto;display:block}.portal-brand span{font-size:12px;display:block;margin-top:8px;color:#d2e3fc}.portal-sidebar nav{display:flex;flex-direction:column;gap:9px;width:100%;flex:0;order:initial;padding:0}.portal-sidebar nav a{display:flex;align-items:center;gap:15px;color:white;padding:15px;border-radius:12px;font-size:13px;min-height:53px;text-decoration:none}.portal-sidebar nav a svg{width:25px;height:25px;flex-shrink:0}.portal-sidebar nav a:hover{background:#ffffff12}.portal-sidebar nav a[aria-current]{background:#ffcd36;color:#012767;box-shadow:0 4px 16px #0002}.portal-landscape{margin-top:auto;min-height:220px;position:relative;overflow:hidden}.portal-landscape svg{width:100%;max-height:260px;display:block}.portal-landscape p{position:relative;margin:-18px 10px 10px;text-align:center;color:white;font-size:16px;font-style:italic}.portal-back{color:#ccdef9;font-size:11px;text-align:center;margin-top:18px}
.student-portal{background:linear-gradient(120deg,#f7fbff,white);padding-left:242px}.student-portal .beta{font-size:9px}.student-portal>header{min-height:76px;padding:16px 30px;justify-content:flex-end;background:#f8fbff}.student-portal>header>.logo,.student-portal>header>nav{display:none}.student-portal #session{max-width:100%;justify-content:flex-end}.student-portal #session>a:first-child{font-weight:700;font-size:13px}.student-portal #session button{background:#e94361;color:white}.student-portal main,.student-portal main:has(.workspace-shell){width:calc(100% - 64px);max-width:1500px;margin:28px auto}.student-portal footer{width:calc(100% - 64px)}.student-portal .workspace-shell{display:block}.student-portal .workspace-sidebar{display:none}.student-portal .workspace-body{min-width:0}.student-portal .workspace-heading{margin-bottom:24px}.student-portal h1{font-size:clamp(26px,2.5vw,38px);letter-spacing:-1px}.student-portal .workspace-heading .eyebrow{display:none}.student-portal .workspace-heading p{font-size:15px;color:#5579b0}.student-portal .workspace-marker{display:none}.student-portal .welcome-panel{display:none}.student-portal .section-caption>span{display:none}.student-portal .section-caption h2{font-size:19px}.student-portal .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.student-portal .overview-card{background:linear-gradient(110deg,#eaf3ff,#f8fbff);border-color:#bad8ff;box-shadow:none;padding:24px;position:relative}.student-portal .overview-card.tone-parcours{background:linear-gradient(110deg,#e6fbf4,#f7fffc);border-color:#b6eadb}.student-portal .overview-card.tone-checkup{background:#f5f1ff;border-color:#ddd0ff}.student-portal .overview-card.tone-ecole{background:#fff8e9;border-color:#f2dfb6}.student-portal .overview-card-top{margin:0 0 14px}.student-portal .module-icon{width:48px;height:48px;border-radius:50%;background:#d3e7ff;color:#086ae9}.student-portal .module-icon svg{width:28px;height:28px}.student-portal .overview-card h3{font-size:21px;min-height:0;margin:0 0 12px}.student-portal .module-stat{flex-direction:row;align-items:baseline;gap:8px}.student-portal .module-stat strong{font-size:24px}.student-portal .overview-card>p{font-size:13px;line-height:1.65;margin:8px 0 16px}.student-portal .module-link{font-size:12px;border-color:#d7e4f3}.student-portal .card,.student-portal .list-item{border-color:#d4e5fb;box-shadow:none;border-radius:12px}.portal-journey{margin:26px 0}.portal-journey h2{font-size:24px}.phase-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.phase-column{border:1px solid #bcd9ff;border-radius:10px;overflow:hidden;background:linear-gradient(#eff6ff,white)}.phase-column h3{display:flex;align-items:center;gap:10px;background:#e2f0ff;padding:18px 14px;font-size:14px;margin:0;color:#0967cf;min-height:77px}.phase-column h3 svg{width:24px;height:24px;flex-shrink:0}.phase-column>a{display:flex;flex-direction:column;gap:8px;padding:16px 14px;margin:0 10px;border-bottom:1px solid #e5edf7;text-decoration:none;font-size:12px;color:#295b9b}.phase-column>a:last-child{border:0}.phase-column small{font-size:10px;color:#657a94}.phase-1{border-color:#d6c6ff;background:linear-gradient(#f6f0ff,white)}.phase-1 h3{background:#efe5ff;color:#7743db}.phase-2{border-color:#a9e8d8;background:linear-gradient(#edfcf7,white)}.phase-2 h3{background:#def8ee;color:#008770}
.housing-shortcuts{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0}.housing-shortcuts a{padding:16px 22px;background:#eff6ff;border:1px solid #cce0fc;border-radius:12px;text-decoration:none;font-weight:600;font-size:13px}.housing-categories{margin:30px 0}.housing-categories h2{font-size:23px}.housing-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.type-card{padding:20px 14px;border:1px solid #cce0ff;border-radius:14px;background:linear-gradient(145deg,#edf5ff,white);display:flex;flex-direction:column}.type-symbol{height:68px;display:grid;place-items:center;margin:0 0 17px;background:#d9ebff;border-radius:10px;color:#0872db}.type-symbol svg{width:42px;height:42px}.type-card h3{font-size:16px;min-height:42px;margin-bottom:10px}.type-card p{font-size:12px;color:#53719b;flex:1}.type-card button{font-size:11px;padding:10px;border-radius:20px;text-align:left}.tone-1{background:#fff9e9;border-color:#f8df9b}.tone-1 .type-symbol{background:#ffecb4;color:#b58000}.tone-2{background:#effcf7;border-color:#bcefdc}.tone-2 .type-symbol{background:#d4f5e7;color:#00996a}.tone-3{background:#f7f1ff;border-color:#ddceff}.tone-3 .type-symbol{background:#eadbff;color:#8250d2}.housing-search-title{font-size:22px}.student-portal .filters{border-color:#cde1fc;background:#f6faff}.student-portal #results{margin-top:20px}.journey-progress{display:flex;align-items:center;gap:22px;padding:22px;background:#edf6ff;border:1px solid #c9e1ff;border-radius:12px;margin:24px 0}.journey-progress strong{font-size:24px;color:#012767}.journey-progress progress{accent-color:#1876ed;width:180px;max-width:100%;height:12px}.student-portal .journey-grid{grid-template-columns:1fr}.student-portal .journey-grid>section{padding:22px;border:1px solid #cce1ff;background:linear-gradient(120deg,#edf7ff,#fbfdff);border-radius:12px}.student-portal .journey-grid>section:nth-child(2){background:linear-gradient(120deg,#f3edff,#fcfaff);border-color:#dfd0ff}.student-portal .journey-grid>section:nth-child(3){background:linear-gradient(120deg,#e9fbf5,#fcfffe);border-color:#bcebdd}.student-portal .journey-grid>section>h2{border:0;text-transform:none;letter-spacing:0;font-size:20px;padding:0;margin-bottom:20px}.student-portal .journey-grid>section>.list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.student-portal .journey-grid .card{padding:20px}.student-portal .journey-grid .card h3{font-size:16px}.student-portal .journey-grid .card .muted{font-size:12px}
@media(min-width:1450px){.student-portal .overview-card{padding:26px 28px 24px 96px}.student-portal .overview-card-top{position:absolute;left:25px;top:28px}.student-portal .overview-card .card-arrow{display:none}.student-portal .journey-grid>section>.list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:601px) and (max-width:1100px){.student-portal{padding-left:180px}.portal-sidebar{width:180px;padding:22px 9px}.portal-brand{padding-left:10px}.portal-brand img{width:140px}.portal-sidebar nav a{padding:13px 10px;font-size:11px;gap:10px}.student-portal main,.student-portal main:has(.workspace-shell){width:calc(100% - 36px)}.student-portal>header{padding:14px 20px}.housing-types{grid-template-columns:repeat(3,minmax(0,1fr))}.phase-overview{grid-template-columns:1fr}.phase-column h3{min-height:0}.phase-column>a{display:inline-flex;width:calc(50% - 24px);vertical-align:top}.student-portal .overview-card{padding:18px}.student-portal .overview-card h3{font-size:18px}}
@media(max-width:600px){.student-portal{padding-left:0}.portal-sidebar{position:static;width:100%;padding:12px;max-height:none;display:block}.portal-brand{display:flex;align-items:center;gap:16px;padding:0 3px 10px}.portal-brand img{width:110px}.portal-brand span{font-size:12px;margin:0}.portal-sidebar nav{flex-direction:row;overflow-x:auto;gap:6px;padding:0;flex-wrap:nowrap}.portal-sidebar nav a{flex-direction:column;min-width:90px;min-height:66px;gap:6px;font-size:10px;padding:10px;white-space:nowrap}.portal-sidebar nav a svg{width:21px;height:21px}.portal-landscape,.portal-back{display:none}.student-portal>header{padding:12px 15px;min-height:60px}.student-portal main,.student-portal main:has(.workspace-shell){width:calc(100% - 28px);margin:24px auto}.student-portal .overview-grid{grid-template-columns:1fr}.phase-overview{grid-template-columns:1fr}.housing-types{grid-template-columns:repeat(2,minmax(0,1fr))}.type-card h3{min-height:0}.student-portal .journey-grid>section>.list{grid-template-columns:1fr}.journey-progress{flex-wrap:wrap}.student-portal #session a{font-size:10px}.student-portal footer{width:calc(100% - 28px)}.student-portal .portal-journey{padding:20px}.student-portal h1{font-size:30px}}

@media(min-width:601px) and (max-height:760px){.portal-sidebar{padding-top:18px}.portal-brand{padding-bottom:16px}.portal-sidebar nav{gap:5px}.portal-sidebar nav a{min-height:46px;padding-top:11px;padding-bottom:11px}.portal-landscape{min-height:120px;flex:1}.portal-landscape svg{max-height:185px}.portal-landscape p{font-size:13px}.portal-back{margin-top:12px}}

.phase-3{border-color:#efd8a2;background:linear-gradient(#fff8e9,white)}.phase-3 h3{background:#fff0cd;color:#a26b00}@media(min-width:1450px){.phase-overview{grid-template-columns:repeat(4,minmax(0,1fr))}}.journey-plan{margin-top:16px}.student-portal .journey-grid>section:nth-child(4){background:#fff9ed;border-color:#f2dfb3}

.document-library-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.document-library-stats strong{display:block;color:var(--blue);font-size:28px}.document-library-stats span{font-size:12px;color:var(--muted)}#document-library h2{font-size:20px;margin:0}#document-library .library-file{padding:14px 0;border-bottom:1px solid var(--line)}#document-library details .library-file:last-child{border:0}@media(max-width:1100px){.document-library-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
