/* VÉO — Documents institution v562 */
body.institution-mode.institution-documents-v562{background:#faf8f3!important;overflow-x:hidden!important}
body.institution-mode.institution-documents-v562 .institution-unified-tools{display:none!important}
body.institution-mode.institution-documents-v562 .veo-inst-content{max-width:1180px!important;padding-top:24px!important}

.inst62-page{width:100%;font-family:'Inter',Arial,sans-serif;color:#15222b}
.inst62-head{margin-bottom:18px}
.inst62-kicker{margin-bottom:8px;color:#ee5a22;font-size:12px;font-weight:760;letter-spacing:.035em}
.inst62-head h1{margin:0;font-size:40px;line-height:1.02;font-weight:820;letter-spacing:-.045em;color:#15222b}
.inst62-head p{max-width:830px;margin:9px 0 0;color:#64737b;font-size:15px;line-height:1.48}

.inst62-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100vw;box-sizing:border-box;margin:0 calc(50% - 50vw) 20px;padding:0 max(24px,calc((100vw - 1180px)/2));background:#195B6E;color:#fff}
.inst62-stats>div{display:grid;grid-template-columns:50px 48px minmax(0,1fr);align-items:center;gap:12px;min-height:108px;padding:0 22px;border-right:1px solid rgba(255,255,255,.28)}
.inst62-stats>div:last-child{border-right:0}
.inst62-stats>div>span{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.48);border-radius:50%}
.inst62-stats svg{width:20px;height:20px}
.inst62-stats strong{font-size:29px;line-height:1;font-weight:820}
.inst62-stats p{display:grid;gap:2px;margin:0;font-size:12px;font-weight:650;line-height:1.15}
.inst62-stats small{font-size:11.5px;font-weight:500;color:#fff}

.inst62-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;align-items:start}
.inst62-side{position:sticky;top:88px;border:1px solid #dfe3df;border-radius:8px;background:#fff;overflow:hidden}
.inst62-nav{display:grid;padding:10px}
.inst62-nav button{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:43px;padding:0 9px;border:0;border-left:3px solid transparent;border-radius:6px;background:#fff;color:#195B6E;text-align:left;font:650 10.5px 'Inter',Arial,sans-serif;cursor:pointer}
.inst62-nav button:hover{background:#f5f8f6}.inst62-nav button.active{border-left-color:#195B6E;background:#E7F0F3;color:#195B6E}
.inst62-nav i{display:grid;place-items:center;width:20px;height:20px;font-style:normal}.inst62-nav svg{width:16px;height:16px}
.inst62-nav b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border-radius:999px;background:#eef1f2;color:#5a6a72;font-size:9.5px}
.inst62-nav button.active b{background:#E7F0F3;color:#195B6E}

.inst62-filter-block{display:grid;gap:10px;padding:14px;border-top:1px solid #ecefeb}
.inst62-filter-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.inst62-filter-head strong{font-size:11px}.inst62-reset{border:0;background:transparent;color:#195B6E;font:700 9.5px 'Inter',Arial,sans-serif;cursor:pointer}
.inst62-filter-block label{display:grid;gap:6px;color:#195B6E;font-size:10px;font-weight:720}
.inst62-filter-block select{height:38px;padding:0 32px 0 10px;border:1px solid #d4dcda;border-radius:7px;background:#fff;color:#195B6E;font:600 10px 'Inter',Arial,sans-serif;outline:0}

.inst62-main{min-width:0}
.inst62-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:10px;align-items:center;margin-bottom:10px}
.inst62-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 11px;border:1px solid #d6dddd;border-radius:7px;background:#fff}
.inst62-search svg{width:17px;height:17px;color:#195B6E}.inst62-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#195B6E;font:500 11px 'Inter',Arial,sans-serif}
.inst62-sort{height:42px;padding:0 34px 0 10px;border:1px solid #d6dddd;border-radius:7px;background:#fff;color:#195B6E;font:650 10.5px 'Inter',Arial,sans-serif;outline:0}
.inst62-add{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 14px;border:1px solid #195B6E;border-radius:7px;background:#195B6E;color:#fff;font:760 10.5px 'Inter',Arial,sans-serif;cursor:pointer;white-space:nowrap}.inst62-add:hover{background:#195B6E;border-color:#195B6E}.inst62-add span{font-size:18px;font-weight:400}

.inst62-table-wrap{border:1px solid #dfe3df;border-radius:8px;background:#fff;overflow:visible}
.inst62-table-head,.inst62-row{display:grid;grid-template-columns:minmax(250px,1.7fr) 130px minmax(150px,1fr) 100px 95px 90px 34px;gap:10px;align-items:center}
.inst62-table-head{min-height:38px;padding:0 12px;border-bottom:1px solid #e7ebe8;background:#f8faf9;color:#5e7078;font-size:9px;font-weight:760}
.inst62-row{min-height:70px;padding:8px 12px;border-bottom:1px solid #edf0ed}
.inst62-row:last-child{border-bottom:0}.inst62-row[hidden]{display:none!important}.inst62-row:hover{background:#F2F8FA}
.inst62-doc{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.inst62-thumb{display:grid;place-items:center;width:46px;height:46px;border-radius:6px;overflow:hidden;background:#edf1ef;color:#195B6E}
.inst62-thumb img{width:100%;height:100%;object-fit:cover}.inst62-thumb svg{width:20px;height:20px}
.inst62-doc-copy{min-width:0}.inst62-doc-copy strong{display:block;color:#195B6E;font-size:11.5px;font-weight:810;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inst62-doc-copy small{display:block;margin-top:3px;color:#738087;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inst62-category{display:inline-flex;align-items:center;justify-self:start;min-height:24px;padding:0 9px;border-radius:999px;background:#e1f2ff;color:#2672b6;font-size:9px;font-weight:760;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.inst62-project{min-width:0;color:#586d76;font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inst62-project a{color:#195B6E;text-decoration:none;font-weight:700}.inst62-project a:hover{color:#195B6E}
.inst62-date,.inst62-downloads{color:#60747d;font-size:9.7px}.inst62-downloads{display:flex;align-items:center;gap:5px}.inst62-downloads svg{width:14px;height:14px}
.inst62-status{display:inline-flex;align-items:center;justify-self:start;gap:6px;min-height:25px;padding:0 9px;border-radius:999px;font-size:9px;font-weight:760;white-space:nowrap}.inst62-status.public{background:#E7F0F3;color:#195B6E}.inst62-status.private{background:#eef1f2;color:#52636b}.inst62-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.inst62-more{position:relative}.inst62-more>button{display:grid;place-items:center;width:28px;height:34px;border:0;background:transparent;color:#195B6E;font-size:18px;cursor:pointer}
.inst62-menu{position:absolute;right:0;top:35px;z-index:50;display:grid;min-width:190px;padding:6px;border:1px solid #d8dedb;border-radius:8px;background:#fff;box-shadow:0 12px 30px rgba(17,24,32,.14)}
.inst62-menu[hidden]{display:none!important}.inst62-menu button,.inst62-menu a{display:block;width:100%;box-sizing:border-box;padding:9px 10px;border:0;border-radius:6px;background:#fff;color:#195B6E;text-align:left;text-decoration:none;font:650 10px 'Inter',Arial,sans-serif;cursor:pointer}.inst62-menu button:hover,.inst62-menu a:hover{background:#F2F8FA}.inst62-menu .danger{color:#c34d39}
.inst62-empty{padding:44px 24px;text-align:center;color:#6d7b82}.inst62-empty h3{margin:0 0 6px;color:#195B6E;font-size:16px}.inst62-empty p{margin:0;font-size:12px}

/* Formulaire */
.inst62-modal{position:fixed;inset:0;z-index:10060;display:grid;place-items:center;padding:20px;background:rgba(13,28,32,.4);backdrop-filter:blur(2px)}
.inst62-modal[hidden]{display:none!important}
.inst62-modal-card{width:min(720px,100%);max-height:min(790px,92vh);overflow:auto;border-radius:10px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.22)}
.inst62-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px;border-bottom:1px solid #e9ece9}
.inst62-modal-head span{display:block;margin-bottom:5px;color:#ee5a22;font-size:9px;font-weight:820;letter-spacing:.09em}.inst62-modal-head h2{margin:0;color:#195B6E;font-size:22px;font-weight:820}.inst62-modal-head p{margin:5px 0 0;color:#718087;font-size:11.5px;line-height:1.45}.inst62-modal-head>button{flex:0 0 34px;width:34px;height:34px;border:1px solid #d8dedb;border-radius:50%;background:#fff;color:#53666e;font-size:19px;cursor:pointer}
.inst62-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px}
.inst62-form label{display:grid;gap:6px;color:#195B6E;font-size:10.5px;font-weight:720}.inst62-form label.full{grid-column:1/-1}
.inst62-form input,.inst62-form select,.inst62-form textarea{width:100%;box-sizing:border-box;border:1px solid #d0d8d5;border-radius:7px;background:#fff;padding:10px;color:#195B6E;font:500 11px/1.45 'Inter',Arial,sans-serif;outline:0}.inst62-form input,.inst62-form select{min-height:42px}.inst62-form textarea{resize:vertical}
.inst62-form input:focus,.inst62-form select:focus,.inst62-form textarea:focus{border-color:#195B6E;box-shadow:0 0 0 3px rgba(25,91,110,.08)}
.inst62-form label>small{color:#75848a;font-size:9.5px;font-weight:500;line-height:1.4}.inst62-form input[type=file]{padding:8px;background:#f8faf9}
.inst62-form-note{grid-column:1/-1;padding:11px 12px;border-radius:7px;background:#F2F8FA;color:#60727a;font-size:10px;line-height:1.45}
.inst62-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.inst62-cancel,.inst62-save{min-height:42px;padding:0 15px;border-radius:7px;font:750 11px 'Inter',Arial,sans-serif;cursor:pointer}.inst62-cancel{border:1px solid #d4dcda;background:#fff;color:#195B6E}.inst62-save{border:1px solid #f26422;background:#f26422;color:#fff}.inst62-save:hover{background:#df531c;border-color:#df531c}.inst62-save:disabled{opacity:.6;cursor:wait}

@media(max-width:1080px){
 .inst62-table-head,.inst62-row{grid-template-columns:minmax(220px,1.7fr) 110px minmax(130px,1fr) 88px 78px 82px 30px;gap:8px}
 .inst62-layout{grid-template-columns:220px minmax(0,1fr)}
}
@media(max-width:850px){
 .inst62-layout{grid-template-columns:1fr}.inst62-side{position:static}.inst62-nav{grid-template-columns:1fr 1fr}
 .inst62-toolbar{grid-template-columns:1fr 145px auto}
 .inst62-table-head{display:none}
 .inst62-row{grid-template-columns:1fr auto;grid-template-areas:"doc more" "cat status" "project project" "date downloads";padding:12px;gap:8px}
 .inst62-doc{grid-area:doc}.inst62-category{grid-area:cat}.inst62-status{grid-area:status;justify-self:end}.inst62-project{grid-area:project}.inst62-date{grid-area:date}.inst62-downloads{grid-area:downloads;justify-self:end}.inst62-more{grid-area:more}
}
@media(max-width:700px){
 body.institution-mode.institution-documents-v562 .veo-inst-content{padding:20px 16px 44px!important}
 .inst62-head h1{font-size:32px}.inst62-head p{font-size:14px}
 .inst62-stats{grid-template-columns:repeat(2,minmax(0,1fr));width:100vw;margin:0 calc(50% - 50vw) 18px;padding:10px 16px}
 .inst62-stats>div{grid-template-columns:38px 32px minmax(0,1fr);gap:7px;min-height:72px;padding:10px 12px;border-right:0;border-bottom:1px solid rgba(255,255,255,.2)}
 .inst62-stats>div:nth-child(odd){border-right:1px solid rgba(255,255,255,.2)}.inst62-stats>div:nth-last-child(-n+2){border-bottom:0}
 .inst62-stats>div>span{width:34px;height:34px}.inst62-stats svg{width:17px;height:17px}.inst62-stats strong{font-size:24px}.inst62-stats p,.inst62-stats small{font-size:11px}
 .inst62-nav{grid-template-columns:1fr}.inst62-toolbar{grid-template-columns:1fr}.inst62-sort,.inst62-add{width:100%}
 .inst62-form{grid-template-columns:1fr}.inst62-form label.full,.inst62-form-note,.inst62-form-actions{grid-column:1}.inst62-form-actions{display:grid;grid-template-columns:1fr 1fr}
}