.upload-zone{display:flex;align-items:center;gap:16px;padding:19px 22px;margin:0 0 20px;border:1.5px dashed #b5c9ec;border-radius:18px;background:linear-gradient(120deg,#f1f6ff,#fff);transition:background .2s,border-color .2s}
.upload-zone:hover{border-color:#2662d9;background:#edf4ff}.upload-zone-icon{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:14px;background:#e0ebff;color:#1d58cb}.upload-zone-icon svg{width:24px;height:24px}.upload-zone-copy{flex:1;min-width:0}.upload-zone-copy strong{font-size:14px}.upload-zone-copy p{font-size:12px;color:#6b7f9f;margin:5px 0 0;overflow-wrap:anywhere}.upload-zone-actions{display:flex;gap:8px;flex-wrap:wrap}.upload-zone-actions .button{padding:10px 13px;font-size:12px;background:#fff}
.upload-modal{max-width:560px}.upload-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.upload-tab{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;padding:15px 10px;border:1px solid #dce6f5;border-radius:13px;background:#f8faff;color:#546d94;cursor:pointer;font:inherit;font-weight:700}.upload-tab svg{width:20px;height:20px}.upload-tab small{width:100%;font-weight:400;font-size:11px}.upload-tab.is-active,.upload-tab:hover{background:#eaf1ff;border-color:#396ddd;color:#154bbb}.upload-tab:focus-visible{outline:3px solid #a9c4ff;outline-offset:2px}.upload-input-label{display:grid;gap:9px}.upload-input-label input{width:100%;max-width:100%;padding:12px;background:#f6f9ff;border:1px solid #dce6f5;border-radius:10px}.upload-input-label input::file-selector-button{padding:8px 12px;border:0;border-radius:7px;background:#dce9ff;color:#174da9;cursor:pointer;margin-right:10px}.upload-selection{padding:10px 13px;margin:0;background:#f0f5ff;border-radius:9px;color:#36547e;font-size:12px;overflow-wrap:anywhere}.upload-input-label[hidden],.upload-drop-overlay[hidden],.upload-progress[hidden],#upload-view-result[hidden],#upload-progress-close[hidden]{display:none!important}
.upload-drop-overlay{position:fixed;inset:12px;z-index:10000;display:grid;place-items:center;border:3px dashed #3d78ed;border-radius:24px;background:#eaf3fff2;backdrop-filter:blur(5px);pointer-events:none;text-align:center;color:#164697}.upload-drop-overlay svg{width:76px;height:76px;margin-bottom:14px}.upload-drop-overlay h2{font-size:28px;margin:8px 0}.upload-drop-overlay p{font-size:18px}.upload-drop-overlay span{font-size:13px;color:#5c78a5}
.upload-progress{position:fixed;right:24px;bottom:24px;z-index:1500;width:min(420px,calc(100vw - 32px));max-height:72vh;overflow:auto;padding:21px;background:#fff;border:1px solid #dae5f5;border-radius:20px;box-shadow:0 18px 60px #16346b30}.upload-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.upload-progress-head h2{font-size:18px;margin:6px 0}.upload-progress progress{display:block;width:100%;height:9px;margin:16px 0;accent-color:#265bd6;border:0;border-radius:9px;overflow:hidden}.upload-progress progress::-webkit-progress-bar{background:#e8effb}.upload-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#2873ef,#6a60d4)}#upload-progress-status{font-size:12px;color:#567198;overflow-wrap:anywhere}#upload-results{list-style:none;padding:0;margin:12px 0;max-height:220px;overflow:auto}#upload-results li{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid #eef2f8;font-size:12px;overflow-wrap:anywhere}#upload-results li strong{font-weight:600}#upload-results li span{color:#66809f;font-size:11px}#upload-results li[data-state=done] span{color:#157c59}#upload-results li[data-state=error] span{color:#c13943}.upload-progress .button{margin-top:12px}.file-type{overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.upload-zone{flex-wrap:wrap;padding:16px;gap:12px}.upload-zone-actions{width:100%}.upload-zone-actions .button{flex:1;justify-content:center}.upload-progress{bottom:78px;right:16px;max-height:65dvh;padding:17px}.upload-drop-overlay h2{font-size:23px}}
