/* Shared chrome for /xp/ app pages: breadcrumb + related lessons.
   Sits below the (usually dark, full-height) app, so it sets its own light
   surface rather than inheriting whatever the app painted. */
.xp-crumbs,
.xp-related {
    background: #f8fafc;
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

.xp-crumbs {
    border-top: 1px solid #e5e7eb;
    padding: 14px 20px 0;
}

.xp-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
    font-size: 0.86rem;
}

.xp-crumbs li { display: flex; align-items: center; gap: 8px; color: #6b7280; }
.xp-crumbs li + li::before { content: '\203A'; color: #9ca3af; }
.xp-crumbs a { color: #4c1d95; text-decoration: none; font-weight: 600; }
.xp-crumbs a:hover { text-decoration: underline; }

.xp-related { padding: 18px 20px 26px; }

.xp-related h2 {
    max-width: 1100px;
    margin: 0 auto 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.xp-related ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
}

.xp-related a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.xp-related a:hover {
    border-color: #7c3aed;
    color: #4c1d95;
    transform: translateY(-1px);
}
