[data-open-local-files][hidden], [data-local-files-container][hidden] { display: none !important; }
.amx-local-files { box-sizing: border-box; width: min(620px, calc(100% - 24px)); max-height: calc(100vh - 24px); overflow: auto; border: 1px solid #cbd8e6; border-radius: 8px; background: #fff; color: #263a55; font: 14px system-ui, sans-serif; padding: 18px; }
.amx-local-files::backdrop { background: rgba(15, 23, 42, .45); }
.amx-local-files h2 { margin: 0 0 8px; font-size: 17px; }
.amx-local-files p { color: #536c87; line-height: 1.45; }
.amx-local-files label { display: grid; gap: 5px; margin: 12px 0; font-weight: 600; }
.amx-local-files button, .amx-local-files select, .amx-local-files input { font: inherit; }
.amx-local-files button { border: 1px solid #c5d6e9; border-radius: 5px; padding: 7px 10px; background: #f4f8fd; color: #205c9f; cursor: pointer; }
.amx-local-files button:disabled { opacity: .55; cursor: default; }
.amx-local-files-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.amx-local-files-list { border: 1px solid #dce6f0; border-radius: 5px; max-height: 250px; overflow: auto; padding: 4px 10px; }
.amx-local-file-row { padding: 3px 0; border-bottom: 1px solid #eaf0f6; }
.amx-local-file-row button { border: 0; background: none; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.amx-local-files [data-local-output] { padding: 8px 0; }
