.advanced-drop{padding:24px;border:2px dashed #417cae;border-radius:16px;text-align:center}.advanced-drop input{margin-top:12px}.advanced-files{padding-left:20px}.advanced-files li{margin:10px 0;overflow-wrap:anywhere}.advanced-files button{margin-left:8px}body>main a.advanced-download{display:inline-block;padding:12px 18px;background:#1768a3;color:white;border-radius:10px;margin:12px 0}.advanced-download[hidden]{display:none}
.advanced-preview{display:block;max-width:100%;max-height:512px;margin:1rem auto;border-radius:8px}.advanced-preview[hidden]{display:none}
.advanced-files li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--control)}
.advanced-files li>span{min-width:0;overflow-wrap:anywhere}
.advanced-file-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
.advanced-file-actions button{margin:0}
body>main input[type=file]::file-selector-button{padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--brand-dark);color:#fff;cursor:pointer;margin-right:12px}
@media(max-width:600px){.advanced-files{padding:0;list-style:none}.advanced-files li{align-items:flex-start;flex-direction:column}.advanced-file-actions{width:100%}.advanced-file-actions button{flex:1}}
