/* TRELLAN: the profile screens. Report 258.

   Boards Profile and Profile-Phone. Scoped to `.ofs-profile` (My profile,
   `profile/index.html`). The profile's fields are bare <label>s that wrap
   their input, so the caps label style is set here and not globally: a
   check box's label elsewhere is a sentence. */

.ofs-profile .prof-grid > label,
.ofs-profile .prof-grid fieldset > legend,
/* ADE-734 A23/B13: Add a license and Record something too, as the
   person record draws the same forms. */
.ofs-profile .lic-grid > label,
.ofs-profile .lic-grid > fieldset > legend,
.ofs-profile form > label,
.ofs-profile .prof-readonly dt {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray);
}
/* A hint inside a caps label is a sentence, in the reading font. */
.ofs-profile .prof-grid > label > :not(.pw-field),
.ofs-profile .lic-grid > label > :not(.pw-field) {
  font-family: var(--font-sans); font-weight: 400; letter-spacing: 0;
  text-transform: none;
}
/* The words typed in a field keep their own case. */
.ofs-profile label input, .ofs-profile label select, .ofs-profile label textarea {
  text-transform: none; letter-spacing: 0; font-family: var(--font-sans);
}
.ofs-profile .prof-grid > label { display: flex; flex-direction: column; gap: 6px; }
.ofs-profile .prof-readonly dd { color: var(--ink); }
.ofs-profile .prof-note { color: var(--gray); }
/* The summary's name is a name: its own case, Nunito 600. */
.ofs-profile .ofs-summary__name, .ofs-profile .prof-name { text-transform: none; letter-spacing: 0; }

/* Report 271 (R1 item 22): Show / Hide on a password field
   (`js/password-toggle.js`), on sign-in, set and reset password, and here.
   The button sits inside the field's right edge. */
.pw-field { position: relative; display: block; width: 100%; }
.pw-field > input { width: 100%; padding-right: 72px !important; box-sizing: border-box; }
.pw-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  min-height: 32px; padding: 4px 10px; border: 0; border-radius: var(--radius-sm, 6px);
  background: transparent; color: var(--accent, #2f6b4f); font: inherit; font-size: 14px;
  font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.pw-toggle:focus-visible { outline: 2px solid var(--accent, #2f6b4f); outline-offset: 1px; }

/* Report 278. "My brokers' CE": two choices, one per line, in sentence
   case (they sit in a fieldset, so the caps label rule above skips them). */
.ofs-profile .prof-choice { border: 0; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ofs-profile .prof-radio {
  display: flex; gap: 10px; align-items: flex-start; color: var(--ink);
  font-size: 15px; line-height: 1.4; cursor: pointer;
}
.ofs-profile .prof-radio input { margin-top: 3px; flex: none; accent-color: var(--accent, #2f6b4f); }
