/* Optional document selection follows the existing restrained form rhythm. */
.project-documents .spec-fields{padding-bottom:1.2rem}
.project-documents input[type=file]{display:block;width:100%;font:inherit;font-size:1rem;line-height:1.5;border:1px solid var(--line,#d8d4ca);border-radius:12px;padding:.55rem;background:#fff;min-height:48px}
.project-documents input[type=file]::file-selector-button{font:inherit;background:#262722;color:#fff;border:0;border-radius:8px;padding:.55rem .85rem;margin-right:.65rem;min-height:40px;cursor:pointer}
.document-file-list{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.5rem}
.document-file-list li{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 0;border-bottom:1px solid var(--line,#d8d4ca);min-width:0}
.document-file-list li>div{min-width:0;display:grid;gap:.2rem}
.document-file-list strong{font-size:1rem;font-weight:500;overflow-wrap:anywhere;line-height:1.45}
.document-file-list span{font-size:.9375rem;line-height:1.5;color:#595c54}
.document-remove,.document-service-check{font:inherit;font-size:.9375rem;line-height:1.4;color:inherit;border:0;background:transparent;min-height:44px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.document-remove{flex-shrink:0;padding:.5rem}
.document-service-check{padding:.5rem 0}
.document-review{margin:1.5rem 0;padding:1.35rem;border:1px solid var(--line,#d8d4ca);border-radius:18px;background:#f5f3ee}
.document-review h3{font:inherit;font-weight:500;font-size:1.2rem;line-height:1.35;margin:0 0 .5rem}
.document-review .field-help{max-width:65ch}
.document-review[hidden]{display:none}
@media(max-width:600px){.document-review{padding:1rem}.document-file-list li{align-items:flex-start}.project-documents input[type=file]{font-size:1rem}}
@media print{.project-documents,.document-review{display:none!important}}
