
*{box-sizing:border-box}body{margin:0;background:#f6f7fb;color:#191b29;font:16px/1.5 system-ui,sans-serif}header{background:#141520;color:white}header>div,main{max-width:950px;margin:auto;padding:20px 24px}header>div{display:flex;align-items:center;justify-content:space-between}b.brand{font-size:23px;letter-spacing:-1px}.brand i{color:#a8a9ff;font-style:normal}small{font-size:14px}main{padding-top:38px}h1{font-size:clamp(34px,6vw,52px);letter-spacing:-.055em;line-height:1.04;margin:0 0 12px}p{margin:0 0 18px;color:#55596a}.drop{background:#24275e;border:1px dashed #575be6;border-radius:20px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 0}.drop.active{outline:3px solid #666aff}h2{font-size:20px;margin:0}.drop p{margin:4px 0 0}button,input{font:inherit}button{border:0;border-radius:10px;padding:11px 16px;font-weight:600;cursor:pointer;background:#4142cc;color:white}button.alt{background:#f0f0fb;color:#383861}button:focus-visible,input:focus-visible{outline:3px solid #5256ed;outline-offset:3px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px}.toolbar input{width:min(52%,290px);padding:10px 14px;border:1px solid #c8cbda;border-radius:10px}.list{background:white;border:1px solid #dadae7;border-radius:16px;margin:14px 0}.row{display:flex;align-items:center;gap:14px;padding:17px;border-bottom:1px solid #e9e9f1}.row:last-child{border:0}.icon{width:44px;height:50px;background:#ededfc;border-radius:5px 13px 5px 5px;display:grid;place-items:center;font-size:12px;font-weight:750}.name{flex:1;min-width:0;overflow-wrap:anywhere}.name small{display:block;color:#646779}.actions{display:flex;gap:7px}.msg{min-height:1.5em}.empty{padding:18px}dialog{border:0;border-radius:16px;width:min(760px,94vw);padding:20px;color:inherit}dialog::backdrop{background:#161626aa}dialog header{background:white;color:inherit;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere}iframe{width:100%;height:62vh;border:0}img{max-width:100%;max-height:65vh;object-fit:contain} @media(max-width:620px){main{padding:26px 15px}.drop{align-items:flex-start;flex-direction:column}.row{flex-wrap:wrap}.actions{width:100%;margin-left:58px}.actions button{padding:10px 12px}.toolbar{align-items:flex-start;flex-direction:column}.toolbar input{width:100%}}

body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body>header{background:#fff;color:#161724;border-bottom:1px solid #dedfe8}
body>header>div,main{max-width:1060px}body>header>div{padding-block:18px}
.brand{display:inline-flex;align-items:center;gap:12px}.mark{width:34px;height:34px;display:inline-grid;place-items:center;background:linear-gradient(145deg,#8b83ff,#4531df);border-radius:11px;box-shadow:inset 0 1px 2px #ffffff80}
.mark:after{content:"";width:13px;height:17px;border-radius:2px;background:#fff;transform:skewY(-12deg);box-shadow:4px 3px 0 #b5b4ff}
body>header small{border:1px solid #dedfe8;border-radius:30px;padding:4px 12px;color:#535467}
main{padding-top:clamp(34px,6vw,72px)}main>p:first-of-type{max-width:56ch}
.drop{position:relative;isolation:isolate;overflow:hidden;padding:clamp(24px,5vw,54px);min-height:210px;color:white;border:0;border-radius:24px;background:linear-gradient(108deg,#181929 5%,#28224e 58%,#5142af);box-shadow:0 12px 35px -22px #32285b;margin:30px 0 38px}
.drop:before{content:"";position:absolute;z-index:-1;pointer-events:none;right:-115px;top:-135px;width:460px;height:460px;border-radius:44%;transform:rotate(-30deg) scaleX(.78);background:repeating-radial-gradient(ellipse at center,transparent 0 15px,#b6a7ff55 16px,transparent 18px);mask-image:linear-gradient(95deg,transparent 0%,black 60%)}
.drop h2{font-size:clamp(24px,4vw,36px);line-height:1.15;letter-spacing:-.05em}.drop p{color:#e1def2;max-width:33ch;margin-top:8px}.drop button{background:white;color:#282143;box-shadow:0 2px 6px #10101e33}.drop button:before{content:"+";margin-right:7px}.drop button:hover{background:#ededff}button:hover{filter:brightness(.96)}.row{padding:20px}.toolbar h2{letter-spacing:-.04em;font-size:23px}.icon{box-shadow:inset 0 0 0 1px #dad9fa;color:#4a40ac}.actions button{min-height:44px}.toolbar input{background:#fff}.list{box-shadow:0 8px 26px -22px #20233a}
@media(max-width:620px){.drop{justify-content:center;gap:18px}.row{padding:16px}.actions{margin-left:0}.toolbar{gap:12px}.toolbar input{width:100%}.actions button{flex:1}.drop button{width:100%}.toolbar h2{font-size:21px}}

.file-title{padding:3px 0;background:transparent;color:#33308d;text-align:left;overflow-wrap:anywhere}
.file-title:hover{text-decoration:underline}
#sharing{max-width:460px}#shared-file{overflow-wrap:anywhere;font-weight:650}
#people{border:0;padding:0;margin:16px 0}#people label{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e8e8f0}
#people input{width:20px;height:20px;accent-color:#4142cc}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}

.file-title{font-size:1.16rem;font-weight:720;line-height:1.45;color:#1c1743;white-space:normal}
#people label{font-size:1.15rem;font-weight:650;color:#19172e;line-height:1.4;padding:14px 10px;cursor:pointer}
#people label:has(input:checked){background:#efeefe;border-radius:8px}
.name small{font-size:1rem;color:#414154}.names{display:block;color:#22213b;font-weight:620;overflow-wrap:anywhere}
#notice-area{margin-top:24px;padding:14px 18px;border:1px solid #dadae7;border-radius:16px;background:white}
#notice-area summary{font-weight:650;cursor:pointer}#notice-area select{max-width:100%;font:inherit;padding:8px;margin:6px;border:1px solid #adaac2;border-radius:8px}
#notice-list{margin:8px 0;padding-left:22px}#notice-list li{padding:5px 0;overflow-wrap:anywhere}

input:not([type=checkbox]){border:1px solid #ccc9d8;border-radius:8px;padding:10px;width:100%}label{display:block;margin-bottom:12px}#login{max-width:480px}#notice{white-space:pre-line}.row{flex-wrap:wrap}[hidden]{display:none!important}.warning{color:#57209c}
#file-search{max-width:28rem;min-height:44px;margin:12px 0 4px;background:white}
#list.list{display:grid;gap:clamp(20px,3vw,32px);border:0;background:transparent;box-shadow:none;margin:18px 0 28px}
.file-category{--accent:#43459a;--tint:#eeeefb;min-width:0;background:#fff;border:1px solid #cccbd9;border-radius:16px;box-shadow:0 3px 12px #24253b0c}
.file-category[data-category="Images"]{--accent:#8a3266;--tint:#fbeef6}
.file-category[data-category="Audio et vidéo"]{--accent:#175587;--tint:#eaf3fb}
.file-category[data-category="Archives"]{--accent:#844508;--tint:#fbf0e2}
.file-category[data-category="Autres"]{--accent:#495164;--tint:#edf0f5}
.group-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;padding:14px clamp(14px,3vw,22px);border-left:6px solid var(--accent);border-bottom:1px solid #d5d4df;border-radius:15px 15px 0 0;background:var(--tint);color:var(--accent);font-size:clamp(1.15rem,2.4vw,1.4rem);font-weight:750;line-height:1.3}
.group-title small{font-size:.875rem;font-weight:600;white-space:nowrap}
#list .row .name{min-width:min(16rem,100%);text-align:left}
@media(max-width:620px){#file-search{max-width:100%}#list .row .name{flex-basis:100%}#list .row button{min-height:44px}}

#list .file-info{display:grid;justify-items:start;gap:2px;max-width:100%}#list .file-info :is(time,small){font-size:.875rem;font-weight:400;color:#55536b}

#folio-navigation{display:flex;gap:6px;margin:12px 0 20px}
#folio-navigation button[aria-pressed=false]{background:#eeedf6;color:#383351}
.chat-panel{padding:clamp(16px,4vw,28px);background:white;border:1px solid #dadae7;border-radius:16px}
.chat-panel h2{margin-bottom:16px}.chat-panel select,.chat-panel textarea{display:block;width:100%;margin-top:5px;padding:10px;font:inherit;border:1px solid #bcbaca;border-radius:8px}
.conversation{display:flex;flex-direction:column;gap:10px;overflow:auto;max-height:48vh;min-height:6rem;padding:10px 0;margin:8px 0}
.conversation article{max-width:85%;padding:10px 14px;border-radius:12px;overflow-wrap:anywhere}
.conversation .mine{align-self:flex-end;background:#e9e6ff}.conversation .theirs{align-self:flex-start;background:#f0f0f4}
.conversation small{color:#504a62}.conversation p{margin:4px 0 0;white-space:pre-wrap;color:#201d30}
.chat-panel button:disabled{opacity:.55}

#preview video{display:block;width:100%;max-height:65vh;background:#171622}#upload-report p{overflow-wrap:anywhere;margin:6px 0;color:#383451}

#view:has(.pdf-frame){width:min(94vw,64rem);max-width:96vw;box-sizing:border-box}#preview .pdf-frame{display:block;width:100%;height:min(64vh,55rem);border:0}.pdf-fullscreen{display:inline-block;margin:4px 0 10px;color:#403493;text-decoration:underline}

#folio-navigation .file-unread{display:inline-grid;place-items:center;min-width:1.4em;height:1.4em;padding:0 .25em;margin-left:.25em;border-radius:1em;background:#bd1732;color:white;font-size:.8rem;font-weight:750;font-variant-numeric:tabular-nums}#list .file-info .new-file{color:#a4142c;font-weight:650}
