.an-main{min-width:0;width:100%;padding:20px 24px 48px;color:#e5f3ff;background:#070d15;box-sizing:border-box}.an-main *{box-sizing:border-box}.an-main .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.an-main h1{font-size:27px;margin:0 0 6px}.an-main h1 b,.an-main h2{color:#25d4ef}.an-main .eyebrow{font-size:11px;letter-spacing:1.5px;color:#7db6d1}.an-main .system{border:1px solid #335269;border-radius:24px;padding:8px 12px;font-size:11px}.an-panel{background:#0c1826;border:1px solid #29465e;border-radius:14px;padding:20px;margin:0 0 16px}.an-panel h2{font-size:16px;margin:0 0 12px}.an-panel p{color:#9db9cb;font-size:13px;line-height:1.55}.an-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.an-drop{border:1px dashed #3a607a;background:#0e2031;border-radius:12px;min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:18px}.an-plus{font-size:30px;color:#25d4ef}.an-drop p{margin:8px}.an-main button,.an-btn{background:#122c40;border:1px solid #37617c;color:#e8f5ff;padding:10px 14px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:600;text-decoration:none;display:inline-block}.an-main button:hover,.an-btn:hover{border-color:#25d4ef}.an-main .primary,.an-main .an-btn.primary{background:#26cde9;color:#00121a;border-color:#26cde9}.an-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.an-account{border:1px solid #29465e;border-radius:10px;padding:14px;margin:16px 0}.an-account .an-row{justify-content:space-between;margin:0}.an-library,.an-timeline{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;max-height:370px;overflow:auto}.an-tile{width:126px;background:#0a1723;border:1px solid #2b4b61;border-radius:9px;padding:8px;display:flex;flex-direction:column;gap:6px;min-width:0}.an-tile img{width:100%;height:86px;object-fit:contain;background:#132333;border-radius:5px}.an-tile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.an-tile input[type=number]{width:100%}.an-tile.selected{border-color:#25d4ef}.an-preview{background:#06111c;border:1px solid #2b4b61;border-radius:10px;padding:12px;min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column}.an-preview img{width:100%;max-height:300px;object-fit:contain}.an-preview .an-row{justify-content:center}.an-settings{display:flex;flex-direction:column;gap:12px}.an-settings label,.an-export label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#b8d5e7}.an-main select,.an-main input[type=number]{background:#122639;border:1px solid #3b607a;border-radius:8px;color:#f2faff;padding:10px;width:100%;min-width:0}.an-hint{font-size:12px}.an-export{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.an-timeline{min-height:80px}.an-tile[draggable=true]{cursor:grab}.an-main footer{text-align:center;font-size:11px;color:#6e9bb4;margin-top:24px}@media(max-width:900px){.an-grid{grid-template-columns:1fr}.an-export{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.an-main{padding:12px}.an-panel{padding:14px}.an-export{grid-template-columns:1fr}.an-tile{width:108px}}

/* V1.1 — boutons export, sans chevauchement */
.an-main .an-export-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}
.an-main .an-export-actions button,.an-main .an-export-actions a{position:static;display:inline-flex;align-items:center;justify-content:center;min-height:40px;width:auto;margin:0;flex:0 0 auto}
.an-main .an-export-actions [hidden]{display:none!important}
.an-main #anExportStatus{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
@media(max-width:550px){.an-main .an-export-actions{flex-direction:column;align-items:stretch}.an-main .an-export-actions button,.an-main .an-export-actions a{width:100%}}

/* V1.3 — cache miniatures et commandes de masse */
.an-library-actions{margin:12px 0;gap:10px;flex-wrap:wrap}.an-tile img{object-fit:contain;background:#0a1522}.an-timeline{content-visibility:auto}
