/* Household status inside the existing chat-side profile panel. */
#profilePanel .profile-scroll { gap: 14px; }
#profilePanel .settings-card {
  background: color-mix(in srgb, var(--card-bg) 48%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
#profilePanel .household-overview { padding: 18px; }
#profilePanel .household-kicker { color: var(--text-soft); font-size: 12px; letter-spacing: .09em; }
#profilePanel .household-title { margin: 4px 0 13px; font-size: 23px; font-weight: 600; color: var(--text); }
#profilePanel .profile-identity { padding: 0 0 10px; }
#profilePanel .household-avatar-toggle {
  border: 1px solid var(--card-line); border-radius: 999px;
  background: transparent; color: var(--text-soft); padding: 5px 11px;
  font: inherit; font-size: 12px; cursor: pointer; margin: 0 0 10px;
}
#profilePanel.avatar-hidden .profile-avatar { display: none; }
#profilePanel.avatar-hidden .profile-identity { grid-template-columns: 1fr; }
body.household-avatar-hidden #avatarBtn { display: none !important; }
body.household-avatar-hidden .row.ai::before,
body.household-avatar-hidden .row.human::after { display: none !important; }
body.household-avatar-hidden .row.ai { padding-left: 0; }
body.household-avatar-hidden .row.human { padding-right: 0; }
#profilePanel .household-primary { font-size: 17px; font-weight: 600; color: var(--text); margin: 3px 0; }
#profilePanel .household-muted { color: var(--text-soft); font-size: 12px; line-height: 1.55; margin: 4px 0; }
#profilePanel .household-next { border-top: 1px solid var(--card-line); margin-top: 12px; padding-top: 10px; }
#profilePanel .household-heading { color: var(--text); font-size: 15px; font-weight: 600; margin: 0 0 10px; }
#profilePanel .household-line { display: flex; gap: 10px; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--card-line); font-size: 12.5px; }
#profilePanel .household-line:first-of-type { border-top: 0; }
#profilePanel .household-line span:first-child { color: var(--text-soft); }
#profilePanel .household-line span:last-child { color: var(--text); text-align: right; min-width: 0; overflow-wrap: anywhere; }
#profilePanel .household-lights { display: flex; flex-wrap: wrap; gap: 7px; }
#profilePanel .household-light { border: 1px solid var(--card-line); border-radius: 999px; padding: 5px 9px; font-size: 12px; color: var(--text-soft); }
#profilePanel .household-light::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: #b7a99b; }
#profilePanel .household-light[data-state="ok"]::before { background: #6da78a; }
#profilePanel .household-light[data-state="bad"]::before { background: #cb8174; }
@media (min-width: 1000px) {
  #profilePanel { left: auto; width: min(440px, 42vw); box-shadow: -14px 0 40px rgba(30,40,50,.13); }
}
:root[data-theme="night"] #profilePanel .settings-card { background: #101010; backdrop-filter: none; -webkit-backdrop-filter: none; }
:root[data-theme="eink"] #profilePanel .settings-card { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
