/* Shared mobile note files. Kept separate from the note composer layout. */
.sg-notedlg-files{margin:16px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--line,#d8e4ec);min-width:0}
.sg-notedlg-files legend{padding:0;font-weight:650;font-size:13px;color:var(--navy,#0b2646)}
.sg-notedlg-files legend span{margin-left:8px;font-weight:400;color:var(--muted,#657b92)}
.sg-notedlg-file-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.sg-notedlg-files>small{display:block;font-size:12px;color:var(--muted,#657b92);line-height:1.5}
.sg-notedlg-files ul{padding:0;margin:8px 0;list-style:none}
.sg-notedlg-files li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line,#d8e4ec);font-size:13px}
.sg-notedlg-files li>span{min-width:0;overflow-wrap:anywhere}
.sg-notedlg-files li small{display:block;margin-top:4px;color:var(--muted,#657b92)}
.sg-notedlg-files li>div{display:flex;gap:4px;flex:none}
.sg-notedlg-files li button{min-height:36px;border:0;background:transparent;padding:6px;color:var(--blue,#007bb5);cursor:pointer;font:inherit}
.sg-notedlg-files [role=status]{font-size:13px;line-height:1.5;margin:0;color:var(--muted,#657b92)}
.crm-file-links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:12px 0;padding:0;max-width:100%}
.crm-file-links li{min-width:0;max-width:100%}
.crm-file-links a{display:inline-block;border:1px solid var(--line,#d8e4ec);border-radius:6px;padding:8px 10px;max-width:100%;color:var(--blue,#007bb5);background:var(--surface,#fff);font-size:13px;line-height:1.4;overflow-wrap:anywhere;text-decoration:none}
.crm-file-links a:hover{text-decoration:underline}
.crm-file-links a:focus-visible,.sg-notedlg-files button:focus-visible{outline:2px solid var(--blue,#007bb5);outline-offset:2px}
@media(max-width:820px){.sg-notedlg-file-actions .btn,.sg-notedlg-files li button,.crm-file-links a{min-height:44px}.sg-notedlg-files li{align-items:flex-start}.sg-quick-card{min-width:40px}}
