/* Padrão global: vazio -> Anexar; salvo -> Baixar + Remover. */
:root { --attachment-size: 32px; --attachment-radius: 8px; }
.attachment-row { display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid var(--border,#e4e8ee);border-radius:var(--radius-sm,8px);background:var(--surface-2,#f3f6fa); }
.attachment-row.is-attached { border-color:var(--green,#0b8f62);background:var(--green-soft,#eaf7f1); }
.attachment-action,
:is(.reembolso-doc-act,.checklist-pc-doc-act).is-attach {
    height:var(--attachment-size);min-width:var(--attachment-size);padding:0 13px;border-radius:var(--attachment-radius);
    border:1px solid var(--brand,#003da5);background:var(--brand,#003da5);color:#fff;cursor:pointer;
    display:inline-flex;align-items:center;justify-content:center;gap:6px;font:700 11.5px var(--font-ui,sans-serif);
    text-decoration:none;white-space:nowrap;transition:background .12s,border-color .12s,color .12s;
}
.attachment-action:hover,.attachment-action:focus-visible,
:is(.reembolso-doc-act,.checklist-pc-doc-act).is-attach:hover { background:var(--brand-ink,#0a4dba);border-color:var(--brand-ink,#0a4dba);outline:none; }
.attachment-action.is-download,
:is(.reembolso-doc-act,.checklist-pc-doc-act).is-view,.attachment-actions>a {
    width:var(--attachment-size);padding:0;border-color:var(--green,#0b8f62);background:var(--surface,#fff);color:var(--green,#0b8f62);
}
.attachment-action.is-download:hover,
:is(.reembolso-doc-act,.checklist-pc-doc-act).is-view:hover,.attachment-actions>a:hover { background:var(--green,#0b8f62);color:#fff; }
.attachment-action.is-remove,
:is(.reembolso-doc-act,.checklist-pc-doc-act).is-remove,.attachment-actions>.btn-delete {
    width:var(--attachment-size);padding:0;border-color:var(--border,#e4e8ee);background:var(--surface,#fff);color:var(--text-muted,#647084);
}
.attachment-action.is-remove:hover,
:is(.reembolso-doc-act,.checklist-pc-doc-act).is-remove:hover,.attachment-actions>.btn-delete:hover { background:var(--accent,#e4002b);border-color:var(--accent,#e4002b);color:#fff; }
.attachment-action:disabled,.attachment-input:disabled::file-selector-button { opacity:.55;cursor:not-allowed; }
.attachment-input:not([hidden]):not(.hidden) { width:100%;color:var(--text-muted,#647084);font:600 11.5px var(--font-ui,sans-serif); }
.attachment-input:not([hidden]):not(.hidden)::file-selector-button {
    height:var(--attachment-size);margin-right:10px;padding:0 13px;border:1px solid var(--brand,#003da5);
    border-radius:var(--attachment-radius);background:var(--brand,#003da5);color:#fff;cursor:pointer;font:700 11.5px var(--font-ui,sans-serif);
}
@media(max-width:600px){.attachment-row{flex-wrap:wrap}.attachment-row>:is(.attachment-info,.reembolso-doc-body,div){min-width:0}}
