.testament-import{width:min(1040px,100%);margin:24px auto 80px;display:grid;gap:15px}
.testament-import h1{font-size:clamp(1.9rem,4vw,3.2rem);line-height:1.06;letter-spacing:-.035em;margin:0}
.testament-import-form{display:grid;gap:14px;padding:23px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.testament-import-field{display:grid;gap:8px;min-width:0}
.testament-import-field span{font-weight:650;font-size:.91rem}
.testament-import-field select,.testament-import-field input,.testament-import-field textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;color:var(--text);background:var(--surface);font:inherit}
.testament-import-attestation{display:flex;gap:12px;align-items:flex-start;font-size:.9rem;line-height:1.4}
.testament-import-attestation input{width:20px;height:20px;flex:none}
.testament-import-etat{display:grid;gap:6px}
.testament-import .message{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.testament-import{margin:12px auto 85px}.testament-import-form{padding:15px}.testament-import h1{font-size:1.9rem}}

.testament-integral {margin-top:2rem;display:grid;gap:1rem}
.testament-integral-table {overflow:auto;max-height:65vh;border:1px solid #ccc}
.testament-integral table {border-collapse:collapse;font-size:.85rem}
.testament-integral td,.testament-integral th {border:1px solid #ddd;padding:.45rem;min-width:6rem;max-width:28rem;white-space:pre-wrap;overflow-wrap:anywhere}
.testament-integral thead {position:sticky;top:0;background:var(--surface,#fff);color:var(--text,#222)}
