/* Keep the real input and OS chooser: camera capture, accept/multiple, file
   names, keyboard access and all existing upload/import handlers are unchanged. */
body input[type="file"] { box-sizing:border-box; max-width:100%; min-width:0; min-height:48px; padding:6px; border:1px solid var(--l); border-radius:9px; background:var(--ow-input,var(--p)); color:var(--t); font:400 13px/22px Inter,sans-serif; cursor:pointer; }
body .form-group input[type="file"] { width:100%; height:auto; }
body input[type="file"]::file-selector-button { box-sizing:border-box; margin:0 12px 0 0; padding:8px 13px; min-height:34px; border:1px solid var(--l); border-radius:6px; background:var(--p2); color:var(--t); font:600 12px/18px Inter,sans-serif; cursor:pointer; transition:background .15s,border-color .15s; }
body input[type="file"]:hover::file-selector-button { border-color:var(--o); background:color-mix(in srgb,var(--o) 10%,var(--p)); }
body input[type="file"]:focus-visible { outline:2px solid var(--o); outline-offset:3px; }
body input[type="file"]:disabled { opacity:.55; cursor:default; }
body input[type="file"]:disabled::file-selector-button { cursor:default; }
html[data-ow-theme="dark"] input[type="file"]::file-selector-button { background:var(--ow-raised); border-color:var(--l); color:var(--t); }
html[data-ow-theme="dark"] input[type="file"]:hover::file-selector-button { background:#2c4033; border-color:var(--o); }
@media(max-width:760px) { body input[type="file"] { font-size:14px; } body input[type="file"]::file-selector-button { min-height:38px; font-size:13px; padding:9px 12px; } }
@media(forced-colors:active) { body input[type="file"]::file-selector-button { border:1px solid ButtonText; } }
