/* CPool audit 2026-10-06 */
.cpool-client-hero { grid-template-columns:minmax(260px,1fr)!important; }
.cpool-client-hero-actions { justify-content:flex-start!important; flex-wrap:wrap; }
.cpool-client-hero h1 { min-width:0; overflow-wrap:break-word; }
.cpool-message-head span { color:#475467; font-size:14px; }
.cpool-request-file { display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px; }
.cpool-request-file span { overflow-wrap:anywhere; }
.cpool-reply-form textarea { width:100%;min-height:120px; }
.cpool-reply-form label { display:block;font-weight:600;margin:12px 0 6px; }
template-builder .fields-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
template-builder .field-type-button { min-height:70px; }
template-builder .field-type-button>div:last-child { padding-left:22px; padding-right:6px; min-width:0; }
template-builder .field-type-button span { white-space:normal;overflow-wrap:anywhere; }
@media(max-width:640px){.cpool-client-hero{grid-template-columns:minmax(0,1fr)!important}.cpool-v2-actions{flex-wrap:wrap}.cpool-request-v50-item{align-items:flex-start;flex-wrap:wrap}}

.cpool-audit-file-picker{position:relative;display:inline-flex;align-items:center;padding:10px 16px;border:1px solid #667085;border-radius:8px;background:#fff;color:#172133;min-height:44px;box-sizing:border-box;}
.cpool-audit-file-picker input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0;cursor:pointer;}
.cpool-audit-file-picker:focus-within{outline:2px solid #2f6bff;outline-offset:3px;}
.cpool-audit-file-names{display:block;margin:6px 0;overflow-wrap:anywhere;font-size:14px;}

/* R9: preserve readable attachments and inputs at narrow widths. */
.cpool-file-card{min-width:0;flex-wrap:wrap;gap:12px}
.cpool-file-card>div{min-width:0;flex:1 1 220px}
.cpool-file-card strong,.cpool-message-body{overflow-wrap:anywhere}
.cpool-reply-form input[type=text],.cpool-reply-form textarea{max-width:100%;box-sizing:border-box}
.cpool-reply-form input[type=text]{width:100%}
@media(max-width:640px){.cpool-file-card .btn{flex-shrink:0}.cpool-message-head{flex-wrap:wrap;gap:8px}.cpool-reply-form .cpool-v2-actions{gap:12px}}
