.job-interests-editor{min-width:0;overflow-wrap:anywhere}
.settings-row[data-action="job-interests-open"] p{overflow-wrap:anywhere}
.job-interests-editor fieldset{min-width:0;margin:16px 0 0;padding:0;border:0}
.job-interests-editor legend{margin:0 0 8px;padding:0;font-weight:650}
.job-interest-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:min(38vh,290px);overflow-y:auto;padding:4px;scrollbar-gutter:stable}
.job-interests-editor .job-interest-choice{display:flex;gap:7px;align-items:center;min-height:44px;margin:0;padding:7px 9px;border:1px solid var(--line);border-radius:var(--ui-corner);background:var(--surface);font-size:14px;line-height:1.3;cursor:pointer}
.job-interest-choice:has(input:checked){border-color:var(--green);background:var(--soft)}
.job-interest-choice input{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--green)}
.job-interest-choice svg{width:17px;height:17px;color:var(--green)}
.job-interests-editor .job-interests-clear{min-height:44px}
.job-interests-editor .dialog-actions{margin-top:10px}
.large-text .job-interests-editor .job-interest-choice{font-size:17px;line-height:1.4;min-height:50px}
@media(max-width:480px){
  .job-interest-options{grid-template-columns:minmax(0,1fr);max-height:min(30dvh,220px)}
  .job-interests-editor .dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .job-interests-editor .dialog-actions button{min-width:0;padding-inline:6px}
}
.job-interests-count{margin:0 0 6px}.job-interests-later{margin:6px 0 0}
.job-interests-more{margin:4px 0 0;display:flex;gap:0 6px;flex-wrap:wrap;align-items:center}.job-interests-more[hidden]{display:none}
.job-interest-choice:has(input:disabled){opacity:.55}
/* «Заполните профиль»: the invitation a new performer gets, and «Шаг 1 из 2» on top of the two windows it opens.
   Size and spacing of paragraphs and of the rows' titles come from the window's own rules (dialog-parity.css). */
.onboard-step{font-weight:650;color:var(--cta-soft-ink)}
.profile-invite{display:grid;gap:12px;min-width:0}
.profile-invite-hello{display:flex;align-items:center;gap:8px;color:var(--ok-ink);font-weight:600}
.profile-invite-hello svg{width:22px;height:22px;padding:3px;border-radius:50%;background:var(--ok-soft);stroke-width:2.4}
.profile-invite-steps{display:grid;gap:8px}
/* The rows are settings rows, whose window rule has no side padding: the id keeps the number off the border. */
#dialog .profile-invite .profile-invite-row{gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--ui-corner);background:var(--surface)}
.profile-invite-row>svg{width:18px;height:18px;color:var(--muted)}
.profile-invite-n{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border:2.5px solid var(--cta);border-radius:50%;color:var(--cta-soft-ink);font-size:16px;font-weight:800;line-height:1}
.profile-invite-text{display:grid;gap:2px;flex:1;min-width:0}
.profile-invite-go{margin-top:2px}
.profile-invite .profile-invite-later{justify-content:center}
