body.portal-body {
    background: linear-gradient(180deg, #f5f8ff 0%, #eef3fb 100%);
    min-height: 100vh;
}

.portal-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-topbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.portal-brand-title {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

.portal-brand-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

.portal-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 1rem;
    background: rgba(255,255,255,0.8);
    padding: 0.4rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.portal-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.portal-page-title {
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.portal-page-subtitle {
    font-size: 1rem;
    color: #475569;
    max-width: 820px;
}

.portal-side-card,
.portal-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.portal-card + .portal-card {
    margin-top: 1rem;
}

.portal-footer {
    margin-top: auto;
    background: #0f172a;
    color: #fff;
}

.google-button-shell {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1rem;
    text-decoration: none;
    transition: all .2s ease;
}

.google-button-shell:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15,23,42,.12);
    color: #111827;
}

.provider-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: rgba(59,130,246,.1);
    color: #1d4ed8;
    font-size: .8rem;
    font-weight: 600;
}

.portal-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(37, 99, 235, 0.18);
}

.portal-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.portal-empty {
    border: 1px dashed rgba(148, 163, 184, 0.6);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
    background: rgba(255,255,255,0.7);
}
