/* Shared user profile chip (matches Email Extractor header strip) */
.aura-user-strip-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 55%, #0ea5e9 100%);
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
}

/* Bleed to top of common white cards (padding 30px) */
.aura-user-strip-wrap.aura-user-strip--bleed-30 {
    margin: -30px -30px 12px -30px;
    width: calc(100% + 60px);
    border-radius: 20px 20px 0 0;
}

/* Project summary: container edge matches nav -20px */
.aura-user-strip-wrap.aura-user-strip--bleed-20 {
    margin: -20px -20px 12px -20px;
    width: calc(100% + 40px);
    border-radius: 20px 20px 0 0;
}

/* Power House Jobs container uses CSS variables */
.aura-user-strip-wrap.aura-user-strip--bleed-ph {
    margin: calc(-1 * var(--pad-y)) calc(-1 * var(--pad-x)) 12px calc(-1 * var(--pad-x));
    width: calc(100% + 2 * var(--pad-x));
    border-radius: 20px 20px 0 0;
}

/* Otter: full-width bar above nav */
.aura-user-strip-wrap.aura-user-strip--otter {
    max-width: 1200px;
    margin: 0 auto 12px auto;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 16px;
    box-sizing: border-box;
}

.aura-user-strip-home {
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    padding-top: 6px;
    flex: 0 0 auto;
}

.aura-user-strip-home:hover {
    text-decoration: underline;
}

.header-profile-strip {
    position: relative;
    flex: 0 1 auto;
    align-self: flex-start;
    max-width: min(300px, calc(100% - 8px));
    margin-left: auto;
    text-align: right;
    line-height: 1.38;
    pointer-events: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 55%, #e0f2fe 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header-profile-strip.header-profile-strip--idle {
    background: linear-gradient(160deg, rgba(248, 250, 252, 0.92) 0%, rgba(239, 246, 255, 0.94) 100%);
}

.header-profile-strip .header-brand-line {
    font-size: 0.74rem;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: 0.02em;
}

.header-profile-strip .header-name-accent {
    font-size: 0.66rem;
    font-weight: 700;
    color: #b45309;
    margin-left: 4px;
    letter-spacing: 0.02em;
}

.header-profile-strip .header-email-line {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #334155;
    margin-top: 5px;
    word-break: break-all;
}

.header-profile-strip .header-phone-line {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    color: #0369a1;
    margin-top: 4px;
}

.header-profile-strip.header-profile-strip--idle .header-email-line,
.header-profile-strip.header-profile-strip--idle .header-phone-line,
.header-profile-strip.header-profile-strip--idle .header-name-accent {
    display: none;
}

@media (max-width: 1100px) {
    .header-profile-strip {
        max-width: min(240px, 100%);
        padding: 8px 11px;
    }
}

@media (max-width: 680px) {
    .aura-user-strip-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .header-profile-strip {
        margin-left: 0;
        max-width: none;
        text-align: left;
    }
}
