.device-preferences { margin-block: 16px; padding: 12px 16px; border: 1px solid var(--border, var(--line, #b8c8bd)); border-radius: 8px; }
.device-preferences > summary { min-height: 44px; display: list-item; align-content: center; cursor: pointer; font-weight: 600; }
.device-language-label { display: block; margin: 12px 0 8px; }
.device-preferences .device-language-label { font-size: 1rem; }
[data-device-language] { display: flex; flex-wrap: wrap; gap: 8px; }
[data-device-language] button { box-sizing: border-box; min-height: 44px; min-width: 88px; flex: 0 1 auto; padding: 8px 12px; font: inherit; white-space: normal; }
[data-device-language] button[aria-pressed="true"] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.device-preferences :is(summary, button, select):focus-visible, [data-device-language] button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.device-preferences select { min-height: 44px; max-width: 100%; font: inherit; }
.trainer-tools-menu .device-preferences { margin: 0; padding: 8px; }
.trainer-tools-menu [data-device-language] .nav-btn { flex: 1 1 88px; min-width: 88px; width: auto; text-align: center; justify-content: center; }
#memberGuestPreferences .device-preferences { margin-block: 16px 0; }
#memberSettingsPreferences .device-preferences { margin: 0; padding: 0; border: 0; }
/* Member workout-load preference; existing language/role controls are unchanged. */
.member-weight-unit { min-inline-size: 0; margin: 16px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--border, var(--line, #b8c8bd)); color: var(--text, #1d2a24); }
.member-weight-unit legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font: inherit; font-weight: 600; }
.member-weight-options { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.member-weight-options label { box-sizing: border-box; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--control-border, #62756a); border-radius: 8px; background: var(--surface, #fff); cursor: pointer; overflow-wrap: anywhere; }
.member-weight-unit .member-weight-options label input[type="radio"] { flex: 0 0 auto; width: 16px; height: 16px; min-height: 16px; padding: 0; margin: 0; accent-color: var(--focus, var(--forest, #234d3b)); }
.member-weight-options label:has(input:checked) { border: 2px solid var(--focus, var(--forest, #234d3b)); padding: 9px 11px; font-weight: 700; }
.member-weight-options label:has(input:focus-visible) { outline: 3px solid var(--focus, var(--forest, #234d3b)); outline-offset: 3px; }
.member-weight-description, .member-weight-status { margin: 10px 0 0; color: inherit; font-size: .875rem; line-height: 1.5; }
.member-weight-status:empty { display: none; }
