.rs-client-link{margin:0 0 16px;padding:16px 18px;background:#fff;border:1px solid #e0e5ed;border-radius:14px;color:#202b40}
.rs-client-link [hidden]{display:none!important}
.rs-client-line,.rs-client-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rs-client-link .rs-client-caption{margin:0 0 3px;color:#596781;font-size:.83rem;font-weight:600}
.rs-client-name{margin:0;font-size:1.04rem;font-weight:650;overflow-wrap:anywhere}
.rs-client-picker{max-width:640px;margin-top:12px}
.rs-client-search{display:grid;gap:6px;font-weight:600}
.rs-client-search input{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #cdd5e1;border-radius:9px;background:#fff;color:inherit;padding:9px 12px;font:inherit;font-weight:400}
.rs-client-options{max-height:228px;overflow:auto;overscroll-behavior:contain;margin:6px 0 10px}
.rs-client-link .rs-client-option{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:1rem;overflow-wrap:anywhere;border:0;border-bottom:1px solid #e8ebf0;border-radius:0;background:#fff;color:#26334b;text-align:left;box-shadow:none;padding:8px 10px}
.rs-client-option small{color:#596781;white-space:nowrap}
.rs-client-option[aria-pressed=true]{background:#fff0f1;color:#9a2335;font-weight:700;box-shadow:inset 3px 0 #bc2542}
.rs-client-link button:focus-visible,.rs-client-search input:focus-visible{outline:2px solid #345695;outline-offset:1px}
.rs-client-actions{justify-content:flex-start;margin-top:8px}
.rs-client-note,.rs-client-message,.rs-client-chosen{margin:.5rem 0;color:#536079;font-size:.92rem;overflow-wrap:anywhere}
.rs-client-message.is-error{color:#a32236}
.rs-object-facts .rs-tile-client{display:flex;gap:.35rem;align-items:baseline;flex-wrap:wrap;overflow-wrap:anywhere}
.rs-tile-client .rs-client-key{font-weight:500;color:#607087}

.rs-customer-anchor .rs-client-link{margin:0 0 12px}
.rs-editor-customer{border:0;padding:0;margin:0;min-inline-size:0}
.rs-editor-customer .rs-client-link{margin:12px 20px 0}
.rs-cabinet-customer{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;overflow-wrap:anywhere}
.rs-cabinet-customer strong{color:#586680;font-size:.9em}
@media(max-width:600px){.rs-editor-customer .rs-client-link{margin:10px 12px 0}}

#rs-project-edit-dialog .rs-project-customer-field { min-width: 0; display: grid; gap: 6px; }
#rs-project-edit-dialog .rs-project-customer-field select {
  box-sizing: border-box; display: block; width: 100%; min-height: 46px; padding: 9px 12px;
  border: 1px solid #cfd8e5; border-radius: 10px; background-color: #fff; color: #25344b; font: inherit;
}
#rs-project-edit-dialog .rs-project-customer-field select:disabled { opacity: 1; background-color: #f4f6f9; color: #53647b; }
#rs-project-edit-dialog .rs-project-customer-field button { justify-self: start; }
#rs-project-edit-dialog .rs-project-customer-field [hidden],
#rs-project-edit-dialog .rs-project-customer-field .il-field-hint:empty { display: none; }

.rs-team-form .rs-project-customer-field{grid-column:1/-1;min-width:0;max-width:48rem;display:grid;align-content:start;gap:6px}
.rs-team-form .rs-project-customer-field input,.rs-team-form .rs-project-customer-field select{width:100%;box-sizing:border-box}
.rs-team-form .rs-project-customer-field select:disabled{color:#526078;opacity:1}
.rs-team-form .rs-project-customer-field button{justify-self:start}
.rs-team-form .rs-project-customer-field [hidden],.rs-team-form .rs-project-customer-field .il-field-hint:empty{display:none!important}
