.contract-form-shell:has(.contract-appendix-editor){width:75%;margin-left:12.5%}
.contract-general[hidden]{display:none}
.contract-appendix-editor{background:#fff;border:1px solid #e4e4e4;border-radius:5px;padding:40px 24px;color:#555;min-width:0}
.appendix-tabs,.appendix-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.appendix-tabs span{font-weight:600;margin-right:8px}
.appendix-tabs button{height:41px;border-radius:7px;padding:0 15px}
.appendix-tabs button.active{background:#e1f1e9;color:#55ab80;border-color:#cee7da}
.appendix-tools{align-items:flex-end;margin:26px 0 18px}
.appendix-tools>div{min-width:170px;flex:1}
.appendix-tools label,.appendix-tools>label>input{display:block}
.appendix-tools label{font-size:13px;margin-bottom:5px}
.appendix-tools>label{margin-bottom:0}
.appendix-tools input[data-barcode]{width:135px}
.appendix-tools>button,.appendix-tools input[data-barcode],.appendix-tools .filter-select-control{height:40px}
.appendix-tools>button{padding:0 12px}
.appendix-tools svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}
.appendix-tools [data-catalog],.appendix-tabs [data-add-appendix],.appendix-tools [data-barcode-add]{background:#55ab80;border-color:#55ab80;color:white}
.appendix-scroll{overflow-x:auto}
.appendix-table td,.appendix-table th{padding:8px 20px}
.appendix-table input,.appendix-table select,.contract-appendix-summary input:not([type=checkbox]),.appendix-tools input[data-barcode]{border:1px solid #d9d9d9;color:#555;border-radius:3px;padding:4px 10px}
.appendix-table input,.appendix-table select{height:32px;width:100%;min-width:0}
.appendix-table [data-remove]{background:none;border:0;color:#888}
.contract-appendix-summary{display:grid;justify-content:end;gap:8px;margin-top:22px}
.contract-appendix-summary p{margin:0;display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:14px}
.contract-appendix-summary b{min-width:85px;text-align:right}
.contract-appendix-summary input:not([type=checkbox]){height:32px;width:100px}
@media(max-width:850px){.contract-form-shell:has(.contract-appendix-editor){width:auto;margin:0 15px}.contract-appendix-editor{padding:20px 12px}.contract-appendix-summary input:not([type=checkbox]){width:65px}}

.contract-file-list{margin:8px 0;padding:0;list-style:none}.contract-file-list li{display:flex;align-items:center;gap:12px;padding:5px 0}.contract-file-list button{margin-left:auto;background:none;border:0}.contract-file-list a{color:#55ab80}.requirement-table th,.requirement-table td{min-width:140px}.requirement-table th:nth-child(-n+3){min-width:170px}.contracts-table tfoot td{background:#474747;color:white;font-weight:600;height:42px}
