/**
 * @file        sg-household.css
 * @description SynthGlobe household views: family members, shared storage, gift choices, profile list and the profile switcher in the avatar menu (U8-01 to U8-08)
 *
 * @author      Thomas Dobler - SYNTHETIXMIND LTD
 * @company     SYNTHETIXMIND LTD, Paphos, Cyprus
 * @url         https://synthetixmind.com
 *
 * @uid         5e9b3c71-0a2d-4c8f-b6e4-d17a93f0c258
 * @version     0.1.0.1
 * @created     2026-12-02
 * @updated     2026-12-02
 *
 * @copyright   (c) 2026 by SYNTHETIXMIND LTD
 * @license     Proprietary — All rights reserved
 */

/* Mobile first: every list wraps at 360 px and 130 % text size; logical properties only, so RTL mirrors (U8-09). */
.sg-household .sg-person {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sg-household .sg-person > span:first-child {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.sg-household .sg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sg-household .sg-radios .sg-radio {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.sg-household select {
  max-inline-size: 100%;
}

.sg-household blockquote {
  margin-block: 0.75rem;
  margin-inline: 0;
  padding-inline-start: 0.75rem;
  border-inline-start: 3px solid var(--sg-border, currentColor);
  overflow-wrap: anywhere;
}

.sg-household-lock .sg-icon {
  vertical-align: middle;
}

/* U8-07: profiles inside the avatar menu; the active one is marked, the others are buttons. */
.sg-household-switch {
  border-block-end: 1px solid var(--sg-border, rgba(127, 127, 127, 0.3));
  padding-block: 0.25rem 0.5rem;
  margin-block-end: 0.25rem;
}

.sg-household-switch__label {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

.sg-household-switch ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sg-household-switch li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-block-size: 44px;
}

.sg-household-switch__current {
  font-weight: 600;
}

.sg-household-switch .sg-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-block-size: 44px;
  text-align: start;
}
