/* UNIMART Build layer — /entrepreneurship/ marketplace shell */

body.build-products-active .content-wrapper.full-width,
body.build-products-active .content-wrapper.full-width .content-inner,
body.build-products-active .content-inner {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: var(--unimart-bg-muted) !important;
}

.bp-dashboard,
.bp-page {
    --bp-orange: var(--unimart-orange, #f68b1e);
    --bp-slate: var(--unimart-slate, #2c3e50);
    --bp-muted: var(--gray);
    --bp-border: var(--unimart-border);
    --bp-surface: #ffffff;
    --bp-pad-x: 1rem;
    width: 100%;
    background: var(--unimart-bg-muted);
    color: var(--bp-slate);
    padding-bottom: 1.5rem;
}

.bp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--bp-pad-x);
}

.bp-wrap--journey {
    padding-bottom: 0;
}

.bp-hero { padding: 0.85rem 0 0.6rem; }

.bp-hero__brand {
    margin: 0 0 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bp-muted);
}

.bp-hero__brand span { color: var(--bp-orange); }

.bp-hero__greeting {
    margin: 0 0 0.15rem;
    font-size: clamp(1.2rem, 4vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
}

.bp-hero__sub {
    margin: 0;
    font-size: 0.8rem;
    color: var(--bp-muted);
}

.bp-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--bp-orange);
    border-radius: 999px;
    border: 1px solid var(--primary-light);
}

.bp-quick { margin: 0.6rem 0 0.85rem; }

.bp-quick__scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.bp-quick__scroll::-webkit-scrollbar { display: none; }

.bp-quick__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bp-slate);
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

.bp-quick__btn--primary {
    background: var(--bp-orange);
    border-color: var(--bp-orange);
    color: #fff;
}

.bp-section { margin: 0.75rem 0 1rem; }

.bp-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.bp-section__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.bp-section__title i { color: var(--bp-orange); margin-right: 0.35rem; }

.bp-section__link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bp-muted);
    text-decoration: none;
}

.bp-rail__scroll {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
}

.bp-rail__scroll::-webkit-scrollbar { display: none; }

.bp-rail__item { flex: 0 0 auto; width: min(280px, 78vw); }

.bp-card {
    display: block;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    padding: 0.75rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.bp-card:hover { border-color: var(--unimart-border); }

.bp-card__title {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
}

.bp-card__meta {
    margin: 0;
    font-size: 0.72rem;
    color: var(--bp-muted);
}

.bp-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.bp-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    background: var(--unimart-bg-muted);
    border-radius: 999px;
    color: var(--bp-muted);
}

.bp-tag--stage {
    background: var(--primary-light);
    color: var(--bp-orange);
}

.bp-form-card {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.bp-form-card label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bp-form-card input[type="text"],
.bp-form-card textarea,
.bp-form-card select {
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--bp-border);
    border-radius: 8px;
    font-size: 0.85rem;
}

.bp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: var(--bp-orange);
    color: #fff;
}

.bp-onboarding-stages {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
}

.bp-stage-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    cursor: pointer;
}

.bp-stage-option input { margin: 0; }

.bp-stage-option i {
    color: var(--bp-orange);
    width: 1.25rem;
    text-align: center;
}

.bp-grid {
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .bp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .bp-grid { grid-template-columns: repeat(3, 1fr); }
}

.bp-milestone-bar {
    height: 8px;
    background: var(--bp-border);
    border-radius: 999px;
    overflow: hidden;
    margin: 0.5rem 0 0.35rem;
}

.bp-milestone-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bp-orange), var(--primary));
    border-radius: 999px;
    transition: width 0.25s ease;
}

.bp-milestone-list {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.bp-milestone-item {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: 8px;
}

.bp-milestone-item--done {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.bp-milestone-form { margin: 0; }
.bp-milestone-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
}

.bp-agent-cta__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    border: 1px solid var(--primary-light);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
}

.bp-agent-cta__badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--bp-orange);
    color: #fff;
}

.bp-card--incubation {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.bp-card__poster {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    background: var(--primary-light);
    border-radius: 10px 10px 0 0;
    color: var(--bp-orange);
    font-size: 1.5rem;
}

.bp-card__poster--competition { background: var(--primary-light); color: var(--primary-dark); }
.bp-card__poster--fellowship { background: var(--unimart-bg-muted); color: var(--secondary); }

.bp-filters {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bp-filter-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bp-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.bp-dashboard-stats div {
    text-align: center;
    padding: 0.75rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid var(--bp-border, #eee);
}

.bp-dashboard-stats strong {
    display: block;
    font-size: 1.25rem;
}

.bp-dashboard-stats span {
    font-size: 0.72rem;
    color: #666;
}

.bp-dossier-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bp-dossier-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bp-dashboard-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 640px) {
    .bp-filters {
        grid-template-columns: repeat(3, 1fr) auto;
        align-items: end;
    }
}

/* Phase E — tiers, tables, cap chart */
.bp-tier-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .bp-tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bp-tier-card {
    border: 1px solid var(--bp-border, #eee);
    border-radius: 12px;
    padding: 1.25rem;
    background: #fff;
}

.bp-tier-card--current {
    border-color: var(--bp-orange, var(--primary));
    box-shadow: 0 0 0 1px var(--bp-orange, var(--primary));
}

.bp-tier-price {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem;
}

.bp-tier-features {
    font-size: 0.85rem;
    padding-left: 1.1rem;
    margin: 0 0 1rem;
}

.bp-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.bp-data-table th,
.bp-data-table td {
    text-align: left;
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid var(--bp-border, #eee);
}

.bp-data-table th {
    font-weight: 600;
    color: var(--gray-dark);
    background: #fafafa;
}

.bp-inline-form {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: wrap;
}

.bp-btn--sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
}

.bp-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.bp-cap-chart {
    display: flex;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 1rem;
    border: 1px solid var(--bp-border, #eee);
}

.bp-cap-slice {
    background: var(--bp-orange, var(--primary));
    min-width: 2px;
}

.bp-cap-slice--unallocated {
    background: var(--unimart-border);
}

.bp-cap-unallocated td {
    color: #666;
    font-style: italic;
}

.bp-alert {
    border-left: 3px solid var(--bp-orange, var(--primary));
    margin-bottom: 1rem;
}

.bp-partner-logo {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.bp-card--link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.bp-card--link:hover {
    border-color: var(--bp-orange, var(--primary));
}

/* Venture Creation journey stepper */
.vc-journey {
    margin: 0.75rem 0 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    background: #fff;
}

.vc-journey__mission {
    margin: 0 0 .65rem;
    font-size: .92rem;
    color: var(--unimart-text-muted, #6b7280);
}

.vc-journey__steps {
    display: flex;
    gap: .35rem;
    overflow-x: auto;
    padding-bottom: .15rem;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.vc-journey__step {
    flex: 0 0 auto;
    min-width: 5.5rem;
    padding: .35rem .45rem;
    border-radius: 10px;
    text-align: center;
    font-size: .72rem;
    line-height: 1.2;
    background: var(--unimart-bg-muted, #f5f6f8);
    color: var(--unimart-text-muted, #6b7280);
}

.vc-journey__step strong {
    display: block;
    font-size: .78rem;
    color: var(--unimart-text, #1a1a2e);
}

.vc-journey__step.is-done {
    background: rgba(25, 135, 84, 0.08);
    color: var(--unimart-success, #198754);
}

.vc-journey__step.is-done strong {
    color: var(--unimart-success, #198754);
}

.vc-journey__step.is-current {
    background: rgba(246, 139, 30, 0.08);
    color: var(--unimart-orange-deep, #e96703);
    box-shadow: inset 0 0 0 1px var(--unimart-orange, #f68b1e);
}

.vc-journey__step.is-current strong {
    color: var(--unimart-orange-deep, #e96703);
}

.vc-journey__step.is-upcoming {
    opacity: 0.6;
    color: var(--unimart-text-muted, #6b7280);
}
