/* Dashboard sidebar / owner shell — always-visible profile chip */
.dash-profile-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    margin: 0.5rem 0.75rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.dash-profile-chip:hover,
.dash-profile-chip:focus {
    text-decoration: none;
    color: inherit;
    border-color: rgba(238, 173, 43, 0.45);
    background: rgba(238, 173, 43, 0.08);
    transform: translateY(-1px);
}

.dash-profile-chip-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(238, 173, 43, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.dash-profile-chip-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dash-profile-chip-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.dash-profile-chip-name {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile nav compact profile avatar */
.dash-profile-nav-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
}

.dash-profile-nav-chip .dash-profile-chip-avatar {
    width: 28px;
    height: 28px;
}

.client-dash-lodge .dash-profile-chip {
    border-color: var(--cd-panel-border, rgba(255, 255, 255, 0.12));
    background: var(--cd-panel-bg, rgba(0, 0, 0, 0.25));
    color: var(--cd-text, #e2e0db);
}

.consultant-dash-lodge .dash-profile-chip {
    border-color: var(--cdl-panel-border, rgba(255, 255, 255, 0.1));
    background: var(--cdl-panel-bg, rgba(0, 0, 0, 0.35));
    color: var(--cdl-text, #e2e0db);
}

.owner-dashboard-theme .dash-profile-chip {
    border-color: var(--owner-card-border, rgba(255, 255, 255, 0.12));
    background: var(--owner-card-bg, rgba(0, 0, 0, 0.3));
    color: var(--owner-text, #f0e6d2);
}

[data-theme="light"] .dash-profile-chip,
html:not(.dark) .dash-profile-chip {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.1);
    color: #3e2723;
}

[data-theme="light"] .dash-profile-chip-label,
html:not(.dark) .dash-profile-chip-label {
    color: #6b5b4f;
}

/* Home header avatar in user trigger */
.home-header-user-avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(238, 173, 43, 0.72);
  box-shadow: 0 0 0 2px rgba(238, 173, 43, 0.14);
  flex-shrink: 0;
}
