.v35-user-manage{margin:18px 0;border:1px solid #c6d9e7!important;background:linear-gradient(165deg,#fff,#f7fbff)}
.v35-accounts-table{min-width:890px}.v35-accounts-table th{background:#122947;color:#f5faff}.v35-accounts-table td{vertical-align:middle}
.v35-accounts-table .v35-inactive{opacity:.58}.v35-password{letter-spacing:2px;direction:ltr;white-space:nowrap}
.v35-contract-chip{background:#eef5fb;border:1px solid #d6e6f2;border-radius:8px;font-size:11px;padding:5px 7px;margin:3px 0;max-width:290px}
.v35-actions{display:flex;flex-wrap:wrap;gap:5px}.v35-actions .btn{font-size:11px;padding:6px 9px}
.v35-signature{max-width:120px;max-height:50px;object-fit:contain;background:white;padding:3px;border:1px solid #d9e4f1;border-radius:6px}
.v35-signature-large{max-width:290px;max-height:120px;object-fit:contain;border:1px solid #cbdbe6;border-radius:8px;background:white;padding:8px}
#v35-signature-preview{margin:8px 0;min-height:40px}
.v35-contract-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:8px;padding:10px;max-height:350px;overflow-y:auto;background:#f8fbfe;border:1px solid #dbe5ee;border-radius:12px}
.v35-contract-choice{display:flex;gap:9px;align-items:flex-start;padding:8px;border-radius:8px;border:1px solid #e0eaf2;background:#fff;cursor:pointer}
.v35-contract-choice input{margin-top:5px;flex-shrink:0}.v35-contract-choice small{display:block;font-size:11px;color:#506279}

/* V36: compact, legible contract-scope selection for Najafi's user-management form. */
#v35-user-form .v35-contract-checks{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 grid-auto-rows:min-content;align-content:start;align-items:stretch;
 gap:7px!important;padding:9px!important;max-height:260px;overflow-y:auto;overflow-x:hidden;
 direction:rtl;
}
#v35-user-form .v35-contract-choice{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:flex-start;gap:9px!important;width:auto!important;max-width:100%;
 margin:0!important;padding:8px 10px!important;min-width:0;min-height:39px;height:auto!important;
 border-radius:8px;box-sizing:border-box;
}
#v35-user-form .v35-contract-choice input[type="checkbox"]{
 appearance:auto!important;display:block!important;position:static!important;
 width:17px!important;min-width:17px!important;max-width:17px!important;
 height:17px!important;min-height:17px!important;max-height:17px!important;
 padding:0!important;margin:0!important;flex:0 0 17px!important;
 border-radius:3px!important;accent-color:#1765ac;cursor:pointer;
}
#v35-user-form .v35-contract-choice .v36-scope-name{
 display:block;min-width:0;flex:1;color:#193b5f;font-size:12px;
 font-weight:800;line-height:1.65;white-space:normal;overflow-wrap:break-word;
}
#v35-user-form .v35-contract-choice:has(input:checked){
 background:#e6f2ff;border-color:#5a9cda;box-shadow:inset 0 0 0 1px #b7dafa;
}
#v35-user-form .v35-contract-choice:focus-within{outline:2px solid #4185c7;outline-offset:1px}
.v35-accounts-table .v35-contract-chip{font-size:11px;padding:4px 7px;line-height:1.6;max-width:230px;overflow-wrap:break-word}
@media(max-width:1100px){#v35-user-form .v35-contract-checks{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){#v35-user-form .v35-contract-checks{grid-template-columns:1fr!important;max-height:300px}}
@media print{.v35-user-manage{display:none!important}}
