/* Ytinéraire — visual system for the local beta */
:root{--bg:#f5f7fb;--line:#e5eaf2;--muted:#64748a}
body{font-family:"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
header{padding-top:17px;padding-bottom:17px;gap:32px;box-shadow:0 2px 12px #01276703}
header>nav a{font-size:13px;transition:color .15s}
header>nav a:hover{color:#bd7811}
.beta{font-size:10px;letter-spacing:.75px;padding:6px}
button,.button{border-radius:10px;padding:12px 18px;transition:background .15s,box-shadow .15s,transform .15s}
button:not(:disabled):hover,.button:hover{box-shadow:0 4px 12px #01276712}
.button svg{width:18px;height:18px;vertical-align:middle;margin-left:14px}
input,select,textarea{border-color:#dce3ed;border-radius:9px;min-height:44px;padding:12px;box-shadow:0 1px 2px #01276703}
input:focus,select:focus,textarea:focus{border-color:#6a8cbb}
label{font-size:12px;letter-spacing:.1px}
.card,.list-item{border-color:var(--line);border-radius:17px;box-shadow:0 4px 18px #01276703}
.list-item{padding:25px}.list-item h3{font-size:18px;letter-spacing:-.3px}
.list-item .row>div:first-child{min-width:0}.list-item h3,.prose{overflow-wrap:anywhere}
.badge{padding:6px 12px;font-size:11px;letter-spacing:.15px}
.badge:before{content:"";display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:6px;vertical-align:2px}
.empty{padding:45px 28px;border-color:#d5deeb;background:linear-gradient(130deg,#fff,#f8faff)}
.local-note{border:1px solid #f2e3c9;background:#fff9ee;border-radius:12px;font-size:12px;line-height:1.65}
.facts{gap:17px}.facts p{padding:8px 0 16px}.facts small{font-size:10px;text-transform:uppercase;letter-spacing:1px;margin-bottom:5px}
.messages{gap:15px;padding:5px 5px 5px 0}.message{padding:17px 20px;border-radius:14px 14px 14px 3px;background:#eef3fa}.message.mine{border-radius:14px 14px 3px 14px;background:#fff2db;margin-left:22px}.message strong{font-size:13px}.message small{font-size:10px}.message p{line-height:1.7}
.history{list-style:none;border-left:1px solid #dce4ef;margin-left:6px;padding-left:20px;line-height:1.6}.history li{position:relative;padding:9px 0}.history li:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold);border:3px solid white;position:absolute;left:-27px;top:13px;box-sizing:content-box}
.summary>div{border:1px solid var(--line);border-radius:16px;padding:22px 25px;box-shadow:0 4px 18px #01276703}.summary strong{font-size:35px;letter-spacing:-1px}.summary span{font-size:12px}
dialog{border:0;border-radius:22px;padding:32px;box-shadow:0 25px 100px #001b4340}dialog h2{font-size:28px}dialog::backdrop{background:#001b4366;backdrop-filter:blur(5px)}
.filters{padding:23px;border-radius:16px;box-shadow:0 4px 18px #01276703}.cover{height:210px}.card-body{padding:24px}.card-body h3{line-height:1.4;min-height:50px}
main:has(.workspace-shell){width:min(1360px,calc(100% - 64px));margin:32px auto}
.workspace-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}
.workspace-sidebar{background:white;border:1px solid var(--line);border-radius:20px;padding:25px 15px 15px;position:sticky;top:24px;min-width:0}
.sidebar-label{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#8d99aa;margin:0 14px 19px}
.space-nav{display:flex;flex-direction:column;gap:7px}
.space-nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;font-size:12px;line-height:1.4;font-weight:600;color:#67748a;border-radius:10px;text-decoration:none;border:1px solid transparent}
.space-nav a svg{width:19px;height:19px;flex-shrink:0}
.space-nav a:hover{background:#f5f7fb;color:var(--blue)}
.space-nav a[aria-current=page]{background:var(--blue);color:white;box-shadow:0 4px 10px #01276715}
.space-nav a[aria-current=page] svg{color:var(--gold)}
.sidebar-help{margin:32px 8px 25px;padding:18px 13px;background:#f6f8fc;border-radius:13px;font-size:11px;color:var(--muted)}
.sidebar-help>svg{width:23px;height:23px;color:var(--blue);display:block;margin-bottom:12px}
.sidebar-help strong{font-size:11px;color:var(--blue)}.sidebar-help p{line-height:1.7;margin:8px 0 12px}.sidebar-help a{font-size:10px;font-weight:600;text-decoration:none}
.sidebar-profile{border-top:1px solid var(--line);padding:18px 8px 4px;display:flex;align-items:center;gap:10px}
.avatar{width:35px;height:35px;border-radius:11px;background:#fff0d9;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:700}
.sidebar-profile strong{font-size:11px;display:block}.sidebar-profile small{font-size:10px;color:var(--muted);display:block;margin-top:2px}
.workspace-body{min-width:0}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:3px 0 26px}
.workspace-heading .eyebrow{font-size:9px;letter-spacing:1.8px;margin:0 0 9px;color:#76869d}.workspace-heading h1{font-size:34px;margin:0 0 8px;letter-spacing:-1.1px}.workspace-heading p.muted{font-size:12px;margin:0}
.workspace-marker{display:flex;align-items:center;gap:8px;font-size:10px;white-space:nowrap;color:#6d7c91;background:white;border:1px solid var(--line);padding:9px 12px;border-radius:20px}
.workspace-marker i{width:6px;height:6px;border-radius:50%;background:#4d9778}
.welcome-panel{background:var(--blue);border-radius:20px;color:#d8e3f4;padding:30px 35px;position:relative;overflow:hidden;min-height:245px;display:flex;align-items:center;isolation:isolate}
.welcome-panel>div:first-child{position:relative;z-index:2}.welcome-label{font-size:9px;letter-spacing:1.6px;color:var(--gold);font-weight:600}
.welcome-panel h2{font-size:31px;line-height:1.16;color:white;letter-spacing:-.8px;margin:13px 0}.welcome-panel p{font-size:12px;color:#c3d3ea;margin:0 0 20px;line-height:1.7}.welcome-panel .button{font-size:11px;padding:10px 15px}
.welcome-art{position:absolute;width:270px;height:270px;right:4%;top:0;z-index:1}.orbit{position:absolute;border:1px solid #ffffff15;border-radius:50%;inset:25px}.orbit-two{inset:-10px}.art-star{position:absolute;right:48px;top:31px;color:var(--gold);font-size:32px}
.floating-icon{display:grid;place-items:center;position:absolute;border-radius:20px;box-shadow:0 15px 40px #00183a38}.floating-icon svg{width:43px;height:43px}.icon-house{background:#ffbd59;color:var(--blue);width:96px;height:104px;top:67px;left:52px;transform:rotate(-10deg)}.icon-check{background:#fff;color:var(--blue);width:64px;height:68px;top:154px;left:151px;transform:rotate(9deg)}.icon-check svg{width:30px}.icon-school{background:#31568e;color:white;width:62px;height:65px;top:32px;left:168px;transform:rotate(12deg)}.icon-school svg{width:31px}
.section-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:29px 0 16px}.section-caption h2{font-size:18px;letter-spacing:-.4px;margin:0}.section-caption>span{font-size:10px;color:#8793a5}
.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.overview-card{display:flex;flex-direction:column;text-decoration:none;background:white;border:1px solid var(--line);border-radius:17px;padding:23px;color:var(--blue);box-shadow:0 3px 16px #01276703;transition:transform .18s,box-shadow .18s,border-color .18s}
.overview-card:hover{transform:translateY(-3px);border-color:#bccce2;box-shadow:0 10px 28px #0127670c}
.overview-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.module-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#edf3fd}.module-icon svg{width:23px;height:23px}.tone-parcours .module-icon{background:#fff1da;color:#9b681b}.tone-checkup .module-icon{background:#eaf5f0;color:#3a7f65}.tone-ecole .module-icon{background:#f0edfa;color:#796198}
.card-arrow{color:#a4afbd;font-size:20px}.overview-card h3{font-size:17px;line-height:1.3;letter-spacing:-.3px;margin:0 0 13px}.module-stat{display:flex;gap:10px;align-items:baseline}.module-stat strong{font-size:31px;letter-spacing:-1.2px;font-weight:650;line-height:1.2}.module-stat>span{font-size:11px;color:#78869a}.overview-card>p{font-size:11px;line-height:1.7;color:var(--muted);margin:12px 0 19px;flex:1}.module-link{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;padding-top:14px;border-top:1px solid #edf0f5}.module-link svg{width:17px;height:17px;color:#8f9caf}
.activity-panel{background:white;border:1px solid var(--line);border-radius:17px;padding:22px;margin-top:24px}.activity-panel .section-caption{margin:0 0 9px}.activity-row{display:flex;align-items:center;gap:13px;padding:17px 0;border-top:1px solid #edf0f5;text-decoration:none}.activity-row:first-of-type{border-top:0}.activity-row>div{flex:1;min-width:0}.activity-row strong{font-size:12px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-row small{font-size:10px;color:#8995a6;display:block;margin-top:5px}.activity-row .badge{font-size:9px;padding:5px 9px;flex-shrink:0}.activity-row>span:last-child{color:#a3adba;font-size:17px}.activity-dot{width:8px;height:8px;border:2px solid #bbcee8;border-radius:50%;flex-shrink:0}
.journey-grid>section>h2{font-size:12px;text-transform:uppercase;letter-spacing:1.3px;padding:12px 0 15px;border-top:3px solid var(--gold)}.journey-grid .card{position:relative}.journey-grid .card h3{font-size:17px;line-height:1.45}.journey-grid .card .muted{font-size:12px;line-height:1.75}.checkup-question{padding:24px 0;line-height:1.75}.checkup-question select{font-size:13px}.school-filter{padding:16px 20px;background:white;border:1px solid var(--line);border-radius:13px}.school-steps li::marker{color:#c38a2b;font-weight:700}
@media(min-width:1280px){.overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-card{padding:20px}.overview-card h3{min-height:44px}.module-stat{align-items:flex-start;flex-direction:column;gap:4px}.welcome-art{right:9%}.workspace-shell{gap:40px;grid-template-columns:225px minmax(0,1fr)}}
@media(max-width:1050px){main:has(.workspace-shell){width:calc(100% - 40px)}.workspace-shell{grid-template-columns:180px minmax(0,1fr);gap:22px}.workspace-sidebar{padding:20px 10px 10px}.space-nav a{padding:13px 9px;font-size:11px;gap:9px}.sidebar-help{margin:25px 3px;padding:15px 10px}.workspace-marker{display:none}.welcome-art{right:-50px;opacity:.7}.welcome-panel{padding:28px}.welcome-panel h2{font-size:28px}.overview-card{padding:20px}.workspace-heading h1{font-size:30px}}
@media(max-width:780px){header{padding:14px 22px;gap:15px}header>nav{padding-top:4px}main:has(.workspace-shell){width:calc(100% - 36px);margin-top:22px}.workspace-shell{grid-template-columns:1fr;gap:22px}.workspace-sidebar{position:static;border-radius:14px;padding:8px;background:white}.sidebar-label,.sidebar-help,.sidebar-profile{display:none}.space-nav{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:5px;scrollbar-width:thin;padding:2px;justify-content:flex-start}.space-nav a{flex-direction:column;gap:6px;padding:10px 13px;min-width:100px;text-align:center;flex:1;font-size:10px;white-space:nowrap}.space-nav a svg{width:18px;height:18px}.workspace-heading{margin:0 0 22px}.workspace-heading h1{font-size:30px}.workspace-heading .eyebrow{font-size:9px}.welcome-panel{min-height:225px;padding:25px}.welcome-panel h2{font-size:27px}.welcome-art{right:-8px;transform:scale(.85);transform-origin:right center}.overview-card h3{font-size:16px}.activity-panel{padding:20px}.workspace-body .summary{gap:10px}.workspace-body .summary>div{padding:18px;min-width:100px}.workspace-body .summary strong{font-size:27px}.card-body h3{min-height:0}}
@media(max-width:480px){main:has(.workspace-shell){width:calc(100% - 28px)}.overview-grid{gap:12px}.overview-card{padding:17px}.overview-card h3{font-size:15px;min-height:40px}.module-stat{flex-direction:column;gap:3px}.module-stat strong{font-size:28px}.module-stat>span{font-size:10px}.module-icon{width:36px;height:36px;border-radius:10px}.module-icon svg{width:20px;height:20px}.overview-card-top{margin-bottom:13px}.module-link{font-size:10px}.overview-card>p{font-size:10px}.welcome-panel{padding:24px 21px}.welcome-panel h2{font-size:25px}.welcome-panel p{font-size:11px;max-width:220px}.welcome-label{font-size:8px;letter-spacing:1px}.welcome-art{right:-85px;opacity:.35;transform:scale(.8)}.activity-panel .section-caption>span{display:none}.activity-row{gap:9px}.activity-row .badge{font-size:8px;padding:5px 7px}.section-caption>span{font-size:9px}.section-caption h2{font-size:17px}.message.mine{margin-left:10px}}
@media(prefers-reduced-motion:reduce){.overview-card,.button,button{transition:none}.overview-card:hover{transform:none}}
.staff-banner{padding:28px 30px;background:var(--blue);border-radius:18px;color:#d8e3f4;display:flex;align-items:center;justify-content:space-between;gap:20px}.staff-banner .eyebrow{color:var(--gold);font-size:10px}.staff-banner h2{color:white;font-size:25px;margin:10px 0}.staff-banner p{font-size:12px}.staff-badge{border:1px solid #ffffff33;border-radius:20px;padding:9px 14px;font-size:11px;color:var(--gold)}.staff-filters{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:12px;padding:20px;background:white;border:1px solid var(--line);border-radius:14px}.staff-stats>div{flex:1}.staff-meta{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.staff-meta strong{color:var(--blue)}.assign-inline{display:flex;align-items:center;gap:8px}.assign-inline select{min-width:160px;margin:0;font-size:12px}.assign-inline button{font-size:12px}.staff-tasks .check{padding:13px 0;border-bottom:1px solid var(--line);font-size:13px;gap:12px}.staff-tasks input{min-height:18px;min-width:18px;margin:0}.task-done span{text-decoration:line-through;color:var(--muted)}@media(max-width:1000px){.staff-filters{grid-template-columns:1fr 1fr}.staff-banner h2{font-size:21px}}@media(max-width:550px){.staff-banner{padding:23px;display:block}.staff-badge{display:inline-block;margin-top:12px}.assign-inline{width:100%}.assign-inline select{min-width:0;flex:1}.staff-filters{padding:15px;gap:10px}}
#session{flex-wrap:wrap;justify-content:flex-end}#session a{font-size:11px;text-decoration:none}#notification-count:not(:empty){background:var(--gold);color:var(--blue);padding:2px 6px;border-radius:12px;font-weight:700}.notification-item:not(.is-read){border-left:4px solid var(--gold)}.notification-item.is-read{opacity:.8}@media(max-width:780px){#session{max-width:70%;gap:8px}#session button{padding:8px 11px;font-size:11px}#session a{font-size:10px}}
.offer-card{display:flex;flex-direction:column}.offer-card>p.muted{flex:1}.offer-card>.badge{align-self:flex-start}.offer-card .button{align-self:flex-start}.offer-card .price{font-size:28px}.offer-edit label{font-size:12px}.offer-edit textarea{min-height:90px}.card>summary{cursor:pointer;color:var(--blue);line-height:1.8}.card>summary .badge{margin-left:10px}@media print{header,footer,.beta,button,form,.local-note,.workspace-sidebar{display:none!important}body{background:white}main{width:100%;margin:0}.detail-layout{display:block}.card{box-shadow:none;border:0}.badge{border:1px solid #bbb}}

.worklist-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.worklist-shortcuts button{font-size:12px;text-align:left}.worklist-shortcuts strong{display:inline-block;background:#fff0d5;border-radius:12px;padding:2px 8px;margin-left:6px}.staff-filters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end}@media(max-width:550px){.staff-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.worklist-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.worklist-shortcuts button{padding:10px;font-size:11px}}

.student-next{margin-top:24px}.student-next h2,.student-progress h2{font-size:21px}.next-action,.progress-item{border-top:1px solid var(--line);padding-top:18px}.next-action:first-child,.progress-item:first-child{border-top:0}.next-action h3,.progress-item h3{font-size:17px;margin:12px 0}.next-action p{font-size:13px}.student-next .list,.student-progress .list{gap:18px}.student-next .badge{white-space:normal}.student-progress{margin-bottom:28px}#housing-documents,#visits-panel,#school-proposals-panel{scroll-margin-top:25px}
