:root{font-family:Arial,Helvetica,sans-serif;color:#102b49;background:#fff}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#fff}.container{width:min(100% - 32px,640px);margin:0 auto}.brand{display:flex;justify-content:space-between;align-items:center;padding:46px 0 50px;gap:16px}.brand-name{font-size:23px;letter-spacing:-.8px;font-weight:800}.dot{color:#fa4d48}.tag{font-size:10px;letter-spacing:1.1px;color:#728096;font-weight:700}.card{background:white;border:1px solid #f0dfda;border-radius:19px;padding:clamp(28px,5.5vw,48px);box-shadow:0 12px 36px rgba(16,43,73,.035)}.eyebrow{font-size:11px;letter-spacing:1.3px;font-weight:700;color:#fa4d48;margin-bottom:14px}h1{font-family:Georgia,'Times New Roman',serif;font-weight:700;font-size:clamp(43px,7vw,64px);line-height:1.08;letter-spacing:-1.5px;margin:0 0 27px}.intro{font-size:15px;line-height:1.65;color:#51657a;margin:0 0 28px}label:not(.dropzone){display:block;font-size:15px;font-weight:700;margin-bottom:12px}input[type=password]{display:block;width:100%;border:2px solid #171717;border-radius:9px;padding:14px 15px;font-size:17px;min-height:52px;outline-offset:3px}button{background:#f84d48;border:0;color:#fff;border-radius:10px;padding:16px 22px;font-weight:700;cursor:pointer;font-size:16px}form>button[type=submit]:not(.logout button){margin-top:18px;width:100%;display:flex;justify-content:center;gap:15px}button:hover{background:#e63d39}button:disabled{opacity:.65;cursor:wait}.dropzone{border:2px dashed #f2aaa5;border-radius:13px;padding:35px 15px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;cursor:pointer;background:#fffafa}.dropzone.dragover,.dropzone:hover{background:#fff0ef}.upload-symbol{font-size:36px;line-height:1;color:#f84d48}.dropzone strong{font-size:19px}.dropzone small{color:#687b90}.formats{font-size:12px;color:#758396;margin-top:12px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.selected{color:#53657b;font-size:14px;margin:16px 0 0;overflow-wrap:anywhere}.note{font-size:12px;color:#758396;line-height:1.5;text-align:center}.logout{text-align:center;margin-top:24px}.logout button{background:transparent;color:#62738a;padding:8px;font-weight:500;text-decoration:underline}.logout button:hover{color:#fa4d48}.message{padding:13px 16px;border-radius:10px;line-height:1.4;overflow-wrap:anywhere}.message.success{background:#e7f7ec;color:#145b30}.message.error{background:#ffefed;color:#9e221b}footer{text-align:center;padding:38px 0;font-size:10px;font-weight:700;color:#94a0aa;letter-spacing:1.2px}@media(max-width:450px){.brand{padding:25px 0 36px}.card{padding:27px 22px}h1{font-size:48px}}

/* Aperçus avant envoi et historique privé */
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:18px}
.photo-item{min-width:0;border:1px solid #f0dfda;border-radius:11px;overflow:hidden;background:#fff}
.photo-thumb{width:100%;aspect-ratio:1/1;background:#f8f2f0;display:flex;align-items:center;justify-content:center}
.photo-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.format-fallback{font-size:12px;color:#62738a;font-weight:700;letter-spacing:.5px}
.photo-info{padding:9px 10px;display:flex;flex-direction:column;gap:5px;min-width:0}
.photo-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}
.photo-info small{font-size:11px;color:#748296}
.sent-section{margin-top:34px;border-top:1px solid #f0dfda;padding-top:26px}
.sent-section h2{margin:0;font-family:Arial,Helvetica,sans-serif;font-size:21px;color:#102b49}
.count{font-size:13px;background:#fff0ef;color:#e63d39;padding:4px 8px;border-radius:20px;vertical-align:middle}
.empty-state{color:#748296;font-size:14px}
@media(max-width:450px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
