.attachment-source{display:grid;gap:8px;min-width:0;margin-top:8px}.attachment-source-actions{display:flex;gap:8px;flex-wrap:wrap}.attachment-source-actions .button{font-size:16px;min-height:44px;flex:1 1 140px;white-space:normal}.attachment-source [data-file-status]{margin:0;overflow-wrap:anywhere;font-weight:400}.attachment-source .button:disabled{opacity:.5;cursor:not-allowed}.attachment-source-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.attachment-source-preview{width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff);color:var(--ink,#111820);padding:16px}.attachment-source-preview::backdrop{background:#11182099}.attachment-source-preview header{display:flex;justify-content:space-between;gap:12px;align-items:center}.attachment-source-preview h2{font-size:20px;min-width:0;overflow-wrap:anywhere}.attachment-source-preview header button{min-width:44px;min-height:44px}.attachment-source-preview img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}
.attachment-source-field{min-width:0;max-width:100%;align-self:start}.attachment-source-field>label{display:block;min-width:0}.attachment-source-field.full{grid-column:1/-1}
.attachment-source-field>label>span,.attachment-source-field>small{display:block}.attachment-source-field>small{margin-top:6px;color:var(--muted)}
.attachment-source [hidden]{display:none!important}
