.hmw-upload{margin:12px 0;--hmw-upload-green:#26774c;--hmw-upload-ink:#263746}
.hmw-upload-drop{position:relative!important;display:flex!important;flex-direction:column;align-items:center;gap:10px;min-height:160px;padding:24px!important;border:1.5px dashed #9aafbc;border-radius:16px;background:#f7fafb;color:var(--hmw-upload-ink);text-align:center;cursor:pointer;transition:background .15s,border-color .15s}
.hmw-upload-drop>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e7f2ea;color:#26774c;font-size:26px}.hmw-upload-drop small{font-size:12px;line-height:1.5;color:#536577}.hmw-upload-drop:focus-within,.hmw-upload-drop.is-dragging{background:#ecf6ef;border-color:#26774c;outline:2px solid #26774c;outline-offset:3px}.hmw-upload-picker{position:absolute!important;inset:0!important;opacity:0;cursor:pointer;width:100%!important;height:100%!important}.hmw-upload-picker:disabled{cursor:not-allowed}.hmw-upload-drop.is-busy{pointer-events:none;opacity:.7}
.hmw-upload-files{list-style:none!important;padding:0!important;margin:12px 0!important;display:grid;gap:9px}.hmw-upload-file{display:flex;align-items:center;gap:12px;padding:12px!important;background:#fff;border:1px solid #dce5ea;border-radius:12px;min-width:0}.hmw-upload-file img,.hmw-file-icon{width:48px;height:48px;object-fit:cover;border-radius:8px;flex:none;background:#eef2f5}.hmw-file-icon{display:grid;place-items:center;font-size:26px}.hmw-upload-file>div{flex:1;min-width:0;display:grid;gap:4px}.hmw-upload-file strong{font-size:13px;overflow-wrap:anywhere}.hmw-upload-file small{font-size:12px;color:#536577}.hmw-upload-file.is-ready{border-color:#b8d8c4}.hmw-upload-file.is-ready small{color:#26774c}.hmw-upload-file.is-error,.hmw-upload-status.is-error{color:#9c2931}.hmw-upload-file button{border:0!important;background:#edf1f4!important;color:#263746!important;border-radius:8px!important;min-width:36px;min-height:36px;padding:4px!important;font-size:22px!important;cursor:pointer}.hmw-upload-file progress{width:100%;height:6px;accent-color:#26774c}.hmw-upload-status{font-size:12px;line-height:1.6;color:#536577}.hmw-upload-panel{border:1px solid #c6ddd0;border-radius:12px;padding:18px;background:#f5faf6;margin:16px 0}.hmw-upload-panel h4{margin:0 0 8px}.hmw-upload-panel .hmw-editor-grid{gap:12px}.hmw-upload-panel fieldset{margin:14px 0;border:0;padding:0;display:flex;gap:12px;flex-wrap:wrap}.hmw-upload-panel legend{font-weight:600;margin-bottom:8px}.hmw-upload-panel fieldset label{display:flex;align-items:center;gap:5px}.hmw-upload-banner{padding:20px;background:#eef5f0;border:1px solid #bfd6c7;border-radius:14px;margin:14px 0}.hmw-upload-banner button{background:#263746;color:#fff;padding:10px 16px;border:0;border-radius:8px;cursor:pointer}.hmw-portal{font:16px/1.6 system-ui,sans-serif;background:#f0f3f6;color:#263746;padding:24px}.hmw-portal main{max-width:580px;margin:6vh auto;background:#fff;padding:32px;border-radius:20px}.hmw-portal label{display:grid;gap:6px;margin:18px 0}.hmw-portal input,.hmw-portal select{font:inherit;padding:10px;border:1px solid #a6b6c2;border-radius:8px;width:100%;box-sizing:border-box}.hmw-portal button{background:#263746;color:#fff;border:0;border-radius:8px;padding:12px 18px;font:inherit;cursor:pointer}
@media(max-width:600px){.hmw-upload-drop{padding:18px!important}.hmw-portal{padding:12px}.hmw-portal main{padding:22px}}
@media(prefers-reduced-motion:reduce){.hmw-upload-drop{transition:none}}
