.message-attachment-dialog { box-sizing:border-box; padding:10px; background:#14202a; color:#fff; border:1px solid #71818d; width:min(460px,100%); max-width:100%; }
.message-attachment-dialog::backdrop { background:rgb(0 0 0 / 65%); }
.message-attachment-dialog header,.message-attachment-dialog footer { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.message-attachment-dialog button { background:#1c3545; color:#fff; border:1px solid #71818d; border-radius:4px; padding:8px 12px; min-height:36px; }
.message-attachment-sheet { position:fixed; inset:auto 0 0; margin:0 auto; border-radius:8px 8px 0 0; }
.message-attachment-sheet > button { width:100%; margin-top:8px; }
.message-location-dialog { position:fixed; inset:0; margin:0; width:100%; height:100%; max-height:100%; display:none; }
.message-location-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; gap:6px; }
.message-location-map { min-height:0; width:100%; height:100%; }
.message-location-status { margin:0; font-size:12px; }
.message-attachment-selection { display:flex; align-items:center; gap:6px; font-size:12px; }
.message-attachment-selection:empty { display:none; }
.message-attachment-selection button { background:transparent; color:#fff; border:0; padding:4px 10px; }
.message-location-preview { display:block; margin-top:6px; padding:10px; max-width:100%; background:#1c3545; color:#fff; border:1px solid #71818d; border-radius:4px; font-size:12px; overflow-wrap:anywhere; }
