.agent-groups{gap:14px;display:grid}.agent-group{padding:0;overflow:hidden}.agent-group>summary{cursor:pointer;align-items:center;gap:14px;padding:20px 24px;font-size:21px;font-weight:800;list-style:none;display:flex}.agent-group>summary::-webkit-details-marker{display:none}.agent-group>summary>span{flex:1}.agent-group>summary>b{color:#1769aa;background:#e6f2fc;border-radius:20px;place-items:center;min-width:34px;height:34px;display:grid}.agent-group>summary>button,.secondary{color:#20304a;cursor:pointer;background:#f7f9fc;border:1px solid #aebdce;border-radius:8px;padding:9px 14px}.agent-name-link{color:#1769aa;font-weight:800;text-decoration:none}.agent-name-link:hover{text-decoration:underline}.agent-cards{background:#f7f9fc;gap:14px;padding:0 20px 20px;display:grid}.agent-card{background:#fff;border:1px solid #dce4ee;border-radius:12px;padding:18px}.agent-card>header{justify-content:space-between;gap:16px;display:flex}.agent-card h3{margin:0 0 8px;font-size:20px}.edit-agent{color:#1769aa;cursor:pointer;background:#e6f2fc;border:0;border-radius:8px;width:42px;height:42px;font-size:22px}.agent-status{border-radius:20px;padding:4px 9px;font-size:12px;font-weight:800}.agent-status.active{color:#087f5b;background:#def7ec}.agent-status.inactive{color:#626d7a;background:#eceff3}.agent-card dl{grid-template-columns:170px 1fr;gap:7px 15px;margin:18px 0;display:grid}.agent-card dt{color:#647187}.agent-card dd{margin:0;font-weight:600}.agent-people{border-top:1px solid #e5eaf0;padding-top:12px}.agent-people summary{cursor:pointer;font-weight:750}.agent-people table{margin-top:12px}.agent-form{margin-bottom:18px}.agent-form-head,.people-editor>div{justify-content:space-between;align-items:center;display:flex}.agent-form-head h2{margin:0}.agent-form-head p{color:#65738a;margin:4px 0 18px}.agent-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.agent-fields label,.people-editor article label{font-weight:650}.agent-fields input,.agent-fields select,.people-editor input,.people-editor select{border:1px solid #c8d2df;border-radius:8px;width:100%;margin-top:6px;padding:11px;display:block}.same-address{align-items:center;gap:10px;padding-top:27px;display:flex}.same-address input{width:auto;margin:0}.people-editor{border-top:1px solid #dce3ec;margin-top:24px;padding-top:18px}.people-editor article{background:#f5f8fb;border-radius:10px;grid-template-columns:repeat(5,minmax(0,1fr)) auto;align-items:end;gap:10px;margin-top:10px;padding:14px;display:grid}.remove-person{color:#b42318;background:#fff2f1;border:1px solid #efb2ad;border-radius:8px;height:43px}.agent-form-actions{justify-content:flex-end;margin-top:20px;display:flex}.agent-form-actions .primary{width:auto;min-width:210px}.required{color:#c02b20}.success-message{color:#087f5b;background:#def7ec;border-radius:8px;padding:12px}.agent-empty{color:#65738a;padding:10px 4px}@media (max-width:1100px){.people-editor article{grid-template-columns:repeat(2,1fr)}.agent-fields{grid-template-columns:1fr}}@media (max-width:700px){.agent-group>summary{flex-wrap:wrap}.agent-card dl,.people-editor article{grid-template-columns:1fr}.agent-people{overflow-x:auto}}
.agent-account-extras{margin-bottom:18px}.agent-account-extras h2{margin-top:0}.agent-account-extras select,.agent-account-extras textarea{border:1px solid #c8d2df;border-radius:8px;width:100%;margin-top:6px;padding:11px;display:block}.block-comment{grid-column:1/-1}.block-comment textarea{min-height:85px}.account-people{gap:10px;margin-top:18px;display:grid}.account-people article{background:#f5f8fb;border-radius:10px;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;padding:14px;display:grid}.account-people h3{grid-column:1/-1;margin:0}.reset-password{color:#735c0f;cursor:pointer;background:#fff8df;border:1px solid #d4a72c;border-radius:8px;height:43px;padding:0 14px}.access-not-active{color:#526176;background:#f3f7fb;border:1px solid #cbd8e5;border-radius:9px;grid-column:1/-1;margin:0;padding:12px 14px;line-height:1.45}@media (max-width:900px){.account-people article{grid-template-columns:1fr}}.agent-save-bar{align-items:center;gap:18px;margin-bottom:18px;display:flex}.agent-save-bar span{color:#52627a}@media (max-width:700px){.agent-save-bar{flex-direction:column;align-items:stretch}}.agent-form-actions{display:none}.agent-save-bar .save-ok{color:#087443}.agent-save-bar .save-status{color:#a33b20}
.archive-panel{gap:14px;margin-bottom:18px;display:grid}.archive-panel h2,.archive-panel p{margin:0}.archive-panel p,.archive-panel small{color:#65738a}.archive-panel>button{justify-self:start}.archive-workers{gap:8px;display:grid}.archive-workers>div{border:1px solid #dce4ee;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex}.archive-agent,.restore-agent,.archive-person,.restore-person{color:#344054;cursor:pointer;background:#fff;border:1px solid #aebdce;border-radius:8px;padding:9px 12px}.archive-agent,.archive-person{color:#b42318;background:#fff7f6;border-color:#efb2ad}.restore-agent,.restore-person{color:#087f5b;background:#effbf6;border-color:#9ad8c2}.agent-archive-group{margin-top:14px;padding:0;overflow:hidden}.agent-archive-group>summary{cursor:pointer;align-items:center;gap:14px;padding:20px 24px;font-size:21px;font-weight:800;list-style:none;display:flex}.agent-archive-group>summary::-webkit-details-marker{display:none}.agent-archive-group>summary span{flex:1}.agent-archive-group>summary b{color:#626d7a;background:#eceff3;border-radius:20px;place-items:center;min-width:34px;height:34px;display:grid}.archive-directory{background:#f7f9fc;gap:10px;padding:0 20px 20px;display:grid}.archive-directory article{background:#fff;border:1px solid #dce4ee;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.archive-directory article div{gap:4px;display:grid}.archive-directory small{color:#65738a}.compact-agent-list{background:#f7f9fc;display:grid}.compact-agent-list article{background:#fff;border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:12px 20px;display:flex}.compact-agent-list article>div{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.compact-agent-list article span{color:#65738a}.archive-row-actions{grid-auto-flow:column;align-items:center;gap:8px!important;display:flex!important}.delete-agent{color:#b42318;cursor:pointer;background:#fff2f1;border:1px solid #d92d20;border-radius:8px;padding:9px 12px}.settlement-rules{margin-bottom:18px}.settlement-rules h2{margin-top:0}.settlement-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settlement-options label{font-weight:650}.settlement-options select,.settlement-options input[type=number]{background:#fff;border:1px solid #c8d2df;border-radius:8px;width:100%;margin-top:6px;padding:11px;display:block}.settlement-rules p{color:#526176;margin:16px 0 0;line-height:1.5}.settlement-rules .sales-terms-intro{margin-top:-4px;margin-bottom:16px}.commission-threshold-toggle{align-self:end;padding:11px 0}.sales-operation-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin-top:16px;display:grid}.sales-operation-options label{background:#f8fafc;border:1px solid #d7e0e9;border-radius:8px;align-items:center;gap:9px;padding:11px 12px;font-weight:650;display:flex}.sales-operation-options input{flex:none;width:18px;height:18px}.sales-block-comment{gap:6px;margin-top:14px;font-weight:650;display:grid}.sales-block-comment textarea{resize:vertical;border:1px solid #c8d2df;border-radius:8px;min-height:80px;padding:10px}@media (max-width:700px){.settlement-options,.sales-operation-options{grid-template-columns:1fr}}
