.website-attachments { width:100%; max-width:1080px; margin:28px auto 0; padding:20px; border:1px solid #e2e8f0; border-radius:12px; background:#fff; box-sizing:border-box; }
.website-attachments h3 { margin:0 0 14px; font-size:16px; color:#0f172a; }
.website-attachment-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.website-attachment-card { display:flex; align-items:center; gap:14px; min-width:0; padding:14px; border:1px solid #e2e8f0; border-radius:10px; color:#0f172a; background:#f8fafc; text-decoration:none; text-align:left; box-sizing:border-box; }
a.website-attachment-card:hover { border-color:#2563eb; background:#eff6ff; }
.website-attachment-icon { position:relative; display:flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px; height:48px; border-radius:5px; background:#64748b; color:white; font-family:Arial,sans-serif; font-size:13px; font-weight:700; line-height:1; }
.website-attachment-icon::after { content:""; position:absolute; top:0; right:0; border-top:11px solid #f8fafc; border-left:11px solid #ffffff55; border-bottom-left-radius:3px; }
.website-attachment-icon.kind-word { background:#2563eb; }
.website-attachment-icon.kind-excel { background:#16824a; }
.website-attachment-icon.kind-powerpoint { background:#d85b28; }
.website-attachment-icon.kind-office { background:#7c3aed; }
.website-attachment-icon.kind-pdf { background:#dc2626; }
.website-attachment-icon.kind-archive { background:#b7790b; }
.website-attachment-icon.kind-image { background:#0891b2; }
.website-attachment-copy { display:flex; flex:1; flex-direction:column; gap:6px; min-width:0; }
.website-attachment-name { font-size:14px; font-weight:600; overflow-wrap:anywhere; line-height:1.5; }
.website-attachment-meta { font-size:12px; color:#64748b; line-height:1.5; }
.website-attachment-actions { display:flex; gap:8px; flex-wrap:wrap; }
.website-attachment-actions button { cursor:pointer; padding:5px 9px; border:1px solid #cbd5e1; border-radius:6px; background:white; font-size:12px; }
.website-attachment-empty { margin:0; color:#64748b; font-size:13px; }
.website-rich-editor > .website-attachments { border-radius:0; margin:0; border-top:1px solid #e2e8f0; border-bottom:0; border-left:0; border-right:0; max-width:none; }
@media(max-width:560px) { .website-attachment-list { grid-template-columns:minmax(0,1fr); } .website-attachments { padding:16px; } }
