.transaction-documents {padding:18px; border:1px solid #dfd2e3;border-radius:12px;background:#fff}
.transaction-documents .document-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-block:16px}
.document-list article {padding:14px;background:#faf7fb;border:1px solid #eee3f0;border-radius:10px}
.document-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.transaction-documents label {display:block;margin-block:10px}
.transaction-documents input:not([type=checkbox]),.transaction-documents select,.transaction-documents textarea {width:100%;box-sizing:border-box}
.transaction-documents .check {display:flex;align-items:center;gap:10px}
.transaction-documents details {margin-block:16px}
.transaction-documents summary {font-weight:bold;cursor:pointer;margin-bottom:12px}
.transaction-documents fieldset {border:0;padding:0;min-width:0}
.transaction-documents .button-group {margin-block:16px;flex-wrap:wrap}
@media(max-width:650px){.document-fields {grid-template-columns:1fr}}

[data-doc-hijri-parts]{display:flex;gap:6px;flex-wrap:wrap}[data-doc-hijri-parts][hidden]{display:none}[data-doc-hijri-parts] select{width:auto;flex:1}

.document-field-group{grid-column:1/-1}

.compact-floor-section{grid-column:1/-1;min-width:0}.floor-choices{display:flex;flex-wrap:wrap;gap:10px}.floor-choices label{display:flex;gap:5px;align-items:center}.floor-choices input{width:auto}.floor-table-scroll{overflow-x:auto;max-width:100%}.compact-floor-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.compact-floor-table th,.compact-floor-table td{border:1px solid #d8cfe0;padding:5px;text-align:center;width:auto}.compact-floor-table input,.compact-floor-table select{width:100%;min-width:0;padding:5px;margin:0;font-size:12px}.compact-floor-table tbody[hidden]{display:none}@media screen and (max-width:650px){.compact-floor-table{min-width:600px}}
