/* ==========================================================================
   Dashboard — broadcast overlay (camerinos + stadium, alineado a contacto/carrito)
   ========================================================================== */

#atelier-dashboard.dashboard-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1950;
    display: none;
    overflow: hidden;
    opacity: 0;
    background: rgba(6, 10, 18, 0.55);
    box-sizing: border-box;
}

#atelier-dashboard.dashboard-overlay.is-active {
    display: block;
    opacity: 1;
}

#atelier-dashboard .dashboard-stadium {
    z-index: 0;
}

.dashboard-shell {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 28px 48px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dashboard-shell::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.dashboard-close-btn {
    position: absolute;
    top: 22px;
    right: 28px;
    background: none;
    border: none;
    font-family: "Sora", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--sf-muted, #9aa8bc);
    transition: color 0.25s ease;
    z-index: 2;
    padding: 6px 0;
}

.dashboard-close-btn:hover,
.dashboard-close-btn:focus-visible {
    color: var(--sf-chrome, #eef4ff);
    outline: none;
}

.dashboard-hero {
    position: relative;
    padding: 48px 0 24px;
    pointer-events: none;
}

.dashboard-hero-lead {
    margin: 16px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(238, 244, 255, 0.78);
    max-width: 36rem;
}

.dashboard-viewport.is-cart-open {
    opacity: 0.55;
}

.dashboard-viewport.is-cart-open .dashboard-shell,
.dashboard-viewport.is-cart-open .dash-expanded-view {
    pointer-events: none;
}

/* --- Panel base (glow naranja como carrito) --- */
.dashboard-bento-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(165deg, rgba(255, 77, 0, 0.06) 0%, transparent 42%),
        linear-gradient(180deg, rgba(12, 20, 34, 0.94) 0%, rgba(4, 8, 14, 0.96) 100%);
    border: 1px solid rgba(34, 232, 144, 0.16);
    border-left: 3px solid var(--sf-primary, #ff4d00);
    border-radius: var(--radius-overlay, 12px);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 16px 40px rgba(0, 0, 0, 0.45);
    padding: 28px 26px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.dashboard-bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 36% at 50% 0%, rgba(255, 120, 40, 0.12) 0%, transparent 65%);
    z-index: 0;
}

.dashboard-bento-card > * {
    position: relative;
    z-index: 1;
}

.dashboard-bento-card:hover {
    border-color: rgba(34, 232, 144, 0.28);
}

.dashboard-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}

.dashboard-container.is-faded {
    opacity: 0.2;
    pointer-events: none;
    filter: blur(2px);
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.category-row-pill.dash-card-kicker,
.dashboard-member-pill {
    display: inline-flex;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 8px;
}

.empty-split-cta > .category-row-pill,
.empty-split-social > .category-row-pill,
.card-bento-header > .category-row-pill,
.hero-profile-main > .category-row-pill {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
}

.dashboard-welcome-title {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    color: var(--sf-chrome, #eef4ff);
    margin: 0 0 10px;
    letter-spacing: 0.01em;
}

.hero-profile-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.hero-profile-main {
    flex: 1;
    min-width: 0;
}

.hero-profile-actions {
    flex-shrink: 0;
    padding-top: 2px;
}

.hero-profile-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    margin: 16px 0 0;
    padding: 0;
}

.hero-profile-fact {
    margin: 0;
    min-width: 0;
}

.hero-profile-fact--wide {
    grid-column: 1 / -1;
}

.hero-profile-fact dt {
    font-family: "Sora", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(168, 240, 200, 0.85);
    margin: 0;
}

.hero-profile-fact dd {
    font-family: "Sora", sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: var(--sf-chrome, #eef4ff);
    margin: 6px 0 0;
    word-break: break-word;
}

.dashboard-logout-btn,
.dashboard-ghost-btn {
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(154, 168, 188, 0.35);
    border-radius: var(--radius-button, 6px);
    padding: 12px 18px;
    font-family: "Sora", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sf-muted, #9aa8bc);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dashboard-logout-btn:hover,
.dashboard-ghost-btn:hover {
    color: var(--sf-chrome, #eef4ff);
    border-color: rgba(255, 176, 0, 0.55);
    background: rgba(255, 77, 0, 0.08);
}

.card-hero {
    grid-column: span 2;
    justify-content: flex-start;
}

.card-profile-settings {
    grid-column: span 2;
    justify-content: flex-start;
}

.card-hero,
.card-profile-settings {
    min-height: 280px;
}

.card-profile-settings .card-bento-header {
    margin-bottom: 4px;
}

.card-tracker {
    grid-column: span 4;
}

.card-portal {
    grid-column: span 2;
    min-height: 240px;
    text-decoration: none;
    color: inherit;
    padding: 0;
    border-left-color: var(--sf-secondary, #22e890);
}

.portal-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("/spa/images/bento-nosotros.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    transition: transform 0.5s ease, opacity 0.35s ease;
}

.card-portal:hover .portal-media-overlay {
    transform: scale(1.04);
    opacity: 0.48;
}

.portal-info {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 26px;
    gap: 6px;
}

.portal-kicker {
    background: rgba(6, 10, 18, 0.55);
}

.portal-title {
    font-family: "Bebas Neue", "Sora", sans-serif;
    font-size: 1.65rem;
    letter-spacing: 0.04em;
    color: var(--sf-chrome, #eef4ff);
    margin: 0;
}

.portal-subtitle {
    font-family: "Sora", sans-serif;
    font-size: 12px;
    color: rgba(238, 244, 255, 0.72);
    margin: 0;
}

.card-recommendations,
.card-orders {
    grid-column: span 2;
    min-height: 340px;
}

.card-designs {
    grid-column: span 2;
    min-height: 280px;
}

.card-concierge,
.card-quick-cart,
.card-support-contact {
    grid-column: span 2;
}

.card-bento-header h3 {
    font-family: "Sora", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sf-chrome, #eef4ff);
    margin: 4px 0 0;
}

.card-bento-subtitle,
.card-concierge-desc,
.tracker-subtitle,
.empty-cta-description {
    font-family: "Sora", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: var(--sf-muted, #9aa8bc);
    margin: 6px 0 0;
}

.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.tracker-header h3 {
    font-family: "Sora", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sf-chrome, #eef4ff);
    margin: 0;
}

.tracker-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
}

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    z-index: 2;
}

.step-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(154, 168, 188, 0.25);
    border: 2px solid rgba(6, 10, 18, 0.9);
    margin-bottom: 10px;
    transition: all 0.35s ease;
}

.step-number {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(154, 168, 188, 0.45);
    margin-bottom: 4px;
}

.step-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(154, 168, 188, 0.65);
    max-width: 96px;
    line-height: 1.35;
}

.tracker-progress-bar {
    position: absolute;
    top: 24px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(154, 168, 188, 0.15);
    z-index: 1;
}

.tracker-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sf-secondary, #22e890), var(--sf-primary, #ff4d00));
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tracker-step.is-completed .step-led {
    background: var(--sf-secondary, #22e890);
    box-shadow: 0 0 8px rgba(34, 232, 144, 0.45);
}

.tracker-step.is-completed .step-label,
.tracker-step.is-completed .step-number {
    color: rgba(168, 240, 200, 0.9);
}

.tracker-step.is-active .step-led {
    background: var(--sf-primary, #ff4d00);
    box-shadow: 0 0 12px rgba(255, 77, 0, 0.55);
    animation: dash-led-pulse 1.4s infinite alternate;
}

.tracker-step.is-active .step-label,
.tracker-step.is-active .step-number {
    color: var(--sf-chrome, #eef4ff);
}

@keyframes dash-led-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.shipping-actions-bar {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(154, 168, 188, 0.12);
}

.tracker-empty-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: stretch;
}

.empty-split-cta,
.empty-split-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
}

.empty-split-social {
    justify-content: flex-start;
    padding-left: 28px;
    border-left: 1px solid rgba(154, 168, 188, 0.14);
}

.empty-split-cta h4,
.empty-split-social h5 {
    font-family: "Sora", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--sf-chrome, #eef4ff);
    margin: 0 0 8px;
}

.social-bento-links-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.social-bento-link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-button, 6px);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-bento-link.instagram-link {
    background: linear-gradient(135deg, #0066ff, #2ab5ff);
    color: #fff;
}

.social-bento-link.tiktok-link {
    background: linear-gradient(135deg, #0066ff, #00e5ff);
    color: #fff;
}

.dashboard-action-btn,
.dashboard-save-btn {
    width: 100%;
    max-width: 280px;
}

.dashboard-profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dash-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-input-group label {
    font-family: "Sora", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(168, 240, 200, 0.9);
    text-transform: uppercase;
}

.dash-input-group input,
.dash-select-minimal {
    background: rgba(8, 14, 24, 0.65);
    border: 1px solid rgba(34, 232, 144, 0.2);
    border-radius: var(--radius-button, 6px);
    padding: 12px 14px;
    font-family: "Sora", sans-serif;
    font-size: 13px;
    color: var(--sf-chrome, #eef4ff);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.dash-input-group input:focus,
.dash-select-minimal:focus {
    border-color: rgba(255, 77, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.12);
}

.dash-select-minimal option {
    background: #0f1828;
    color: #eef4ff;
}

.profile-form-footer {
    display: flex;
    justify-content: flex-end;
}

.dash-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.dash-expand-btn {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(255, 176, 0, 0.35);
    border-radius: 999px;
    padding: 8px 14px;
    font-family: "Sora", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffb000;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dash-expand-btn:hover {
    background: rgba(255, 176, 0, 0.12);
    border-color: #ffb000;
    color: var(--sf-chrome, #eef4ff);
}

.recommendations-carousel-container,
.orders-table-container {
    flex: 1;
    min-height: 0;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 77, 0, 0.45) rgba(0, 0, 0, 0.2);
}

/* Orders */
.dash-order-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(154, 168, 188, 0.12);
}

.dash-order-card.is-expanded {
    grid-template-columns: 88px minmax(0, 1fr) 120px;
}

.dash-order-card-media {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(8, 14, 24, 0.8);
    border: 1px solid rgba(34, 232, 144, 0.15);
}

.dash-order-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-order-media-fallback,
.dash-order-item-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 11px;
    font-weight: 800;
    color: #ffb000;
}

.dash-order-item-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: auto;
    height: auto;
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(6, 10, 18, 0.85);
    color: #fff;
    font-size: 8px;
}

.dash-order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.dash-order-card-head strong,
.dash-order-card-meta strong {
    font-size: 12px;
    color: var(--sf-chrome, #eef4ff);
}

.dash-order-date,
.dash-order-lead-item,
.dash-order-address,
.dash-order-contact,
.dash-order-tracking,
.dash-order-coupon {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--sf-muted, #9aa8bc);
}

.dash-order-lead-item {
    margin-top: 4px;
    color: rgba(238, 244, 255, 0.78);
}

.dash-order-status {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 77, 0, 0.12);
    color: #ffb000;
}

.dash-order-status.is-completed {
    background: rgba(34, 232, 144, 0.15);
    color: #22e890;
}

.dash-order-status.is-processing,
.dash-order-status.is-pending {
    background: rgba(255, 176, 0, 0.12);
    color: #ffb000;
}

.dash-order-items {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-order-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.dash-order-item img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
}

.dash-order-item strong,
.dash-order-item span {
    display: block;
    font-size: 11px;
    color: var(--sf-chrome, #eef4ff);
}

.dash-order-item span {
    color: var(--sf-muted, #9aa8bc);
}

.dash-order-card-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.dash-order-track-link {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #22e890;
    text-decoration: none;
}

.dash-order-track-link:hover {
    text-decoration: underline;
}

.dash-order-history-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(154, 168, 188, 0.12);
    font-size: 12px;
    color: var(--sf-chrome, #eef4ff);
}

/* Recommendations / designs */
.dash-rec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dash-rec-grid.is-expanded {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.dash-rec-card,
.dash-design-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 1px solid rgba(34, 232, 144, 0.15);
    border-radius: var(--radius-overlay, 12px);
    background: rgba(8, 14, 24, 0.65);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.dash-rec-card:hover,
.dash-design-card.is-clickable:hover {
    border-color: rgba(255, 77, 0, 0.45);
    transform: translateY(-2px);
}

.dash-rec-thumb,
.dash-design-thumb {
    aspect-ratio: 4 / 5;
    background: rgba(6, 10, 18, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.dash-rec-thumb img,
.dash-design-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dash-rec-meta,
.dash-design-meta {
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-rec-meta strong,
.dash-design-meta strong {
    font-size: 11px;
    color: var(--sf-chrome, #eef4ff);
}

.dash-rec-meta em,
.dash-design-meta em {
    font-size: 10px;
    font-style: normal;
    color: #22e890;
}

.designs-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

.dash-design-card.is-clickable {
    border: none;
    width: 100%;
}

/* Expanded layer */
.dash-expanded-view {
    position: fixed;
    inset: 0;
    z-index: 1965;
    background: rgba(6, 10, 18, 0.92);
    backdrop-filter: blur(8px);
    padding: 100px 4% 48px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    overflow-y: auto;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dash-expanded-view.is-active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.dash-expanded-toolbar {
    max-width: 1180px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.dash-expanded-close {
    background: transparent;
    border: 1px solid rgba(154, 168, 188, 0.35);
    border-radius: 999px;
    padding: 10px 18px;
    font-family: "Sora", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sf-muted, #9aa8bc);
    cursor: pointer;
}

.dash-expanded-close:hover {
    color: var(--sf-chrome, #eef4ff);
    border-color: #ffb000;
}

.dash-expanded-title {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sf-chrome, #eef4ff);
}

.dash-expanded-mount {
    max-width: 1180px;
    margin: 0 auto;
}

.dash-expanded-divider {
    margin: 28px 0 16px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sf-muted, #9aa8bc);
}

/* Cart preview */
.dash-cart-preview {
    margin-bottom: 8px;
}

.dash-cart-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(154, 168, 188, 0.1);
}

.dash-cart-row strong,
.dash-cart-row span {
    display: block;
    font-size: 11px;
    color: var(--sf-chrome, #eef4ff);
}

.dash-cart-remove {
    background: transparent;
    border: none;
    color: var(--sf-muted, #9aa8bc);
    font-size: 18px;
    cursor: pointer;
}

.dash-cart-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    font-size: 11px;
    color: var(--sf-muted, #9aa8bc);
}

.dash-cart-discount {
    color: #22e890;
}

/* B2B legacy (oculto en Nivel 1) */
.b2b-only-panel {
    grid-column: span 4;
}

.dashboard-container:not(.grid-has-wholesale) .card-concierge,
.dashboard-container:not(.grid-has-wholesale) .card-quick-cart,
.dashboard-container:not(.grid-has-wholesale) .card-support-contact {
    grid-column: span 2;
}

.grid-has-wholesale .card-concierge,
.grid-has-wholesale .card-quick-cart,
.grid-has-wholesale .card-support-contact {
    grid-column: span 1;
}

.grid-has-wholesale .card-become-partner {
    grid-column: span 2;
}

.dash-wholesale-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dash-metric-card {
    background: rgba(8, 14, 24, 0.65);
    border: 1px solid rgba(34, 232, 144, 0.15);
    border-radius: var(--radius-overlay, 12px);
    padding: 16px;
}

.dash-metric-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffb000;
}

.dash-inline-btn {
    margin-top: 8px;
    align-self: flex-start;
    background: rgba(255, 77, 0, 0.15);
    color: var(--sf-chrome, #eef4ff);
    border: 1px solid rgba(255, 77, 0, 0.35);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.dash-bulk-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) 2fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(154, 168, 188, 0.12);
}

@media (max-width: 991px) {
    .dashboard-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-hero,
    .card-profile-settings,
    .card-portal,
    .card-designs,
    .card-recommendations,
    .card-orders,
    .card-concierge,
    .card-quick-cart,
    .card-support-contact,
    .card-tracker,
    .b2b-only-panel {
        grid-column: span 2;
    }
    .tracker-empty-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-shell {
        padding: 24px 16px 40px;
    }
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .card-hero,
    .card-profile-settings,
    .card-tracker,
    .card-portal,
    .card-designs,
    .card-recommendations,
    .card-orders,
    .card-concierge,
    .card-quick-cart,
    .card-support-contact,
    .b2b-only-panel {
        grid-column: span 1 !important;
    }
    .hero-profile-body {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .hero-profile-actions {
        align-self: flex-start;
    }

    .hero-profile-facts {
        grid-template-columns: 1fr;
    }

    .empty-split-social {
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid rgba(154, 168, 188, 0.14);
    }
    .profile-form-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-action-btn,
    .dashboard-save-btn {
        max-width: none;
    }
    .tracker-stepper {
        flex-direction: column;
        gap: 16px;
        padding-top: 0;
    }
    .tracker-step {
        flex-direction: row;
        text-align: left;
        gap: 12px;
    }
    .step-led {
        margin-bottom: 0;
    }
    .tracker-progress-bar {
        display: none;
    }
    .dash-rec-grid {
        grid-template-columns: 1fr;
    }
    .dash-bulk-row {
        grid-template-columns: 1fr;
    }
}
