/* Showcase Training Zone - self-contained replica of core's training zone CSS */
/* Scoped under #mrt-training-zone-preview to match core exactly */

#mrt-training-zone-preview {
    width: 100%;
    margin: 0 auto 15px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 18px;
    padding: 15px;
    border: none;
    box-shadow: none;
}

#mrt-training-zone-preview .mrt-performance-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

#mrt-training-zone-preview .mrt-performance-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#mrt-training-zone-preview .mrt-performance-title-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 6px;
}

#mrt-training-zone-preview .mrt-performance-title-text::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E")
        no-repeat center;
    mask-size: contain;
}

#mrt-training-zone-preview .mrt-progression-alt {
    padding: 16px 16px 30px;
    margin: 16px 0 12px 0;
    background: #f7fafc;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes tzGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#mrt-training-zone-preview .mrt-progression-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

#mrt-training-zone-preview .mrt-progression-label {
    font-weight: 500;
    color: #6c757d;
    letter-spacing: 0.02em;
}

#mrt-training-zone-preview .mrt-progression-value {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    padding: 4px 0;
    background: linear-gradient(90deg, #596d8f 0%, #6c7c97 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#mrt-training-zone-preview .mrt-preview-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    margin-top: auto;
}

#mrt-training-zone-preview .mrt-preview-footer .footer-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
}

#mrt-training-zone-preview .mrt-preview-footer .stat-label {
    color: #64748b;
    font-weight: 500;
    padding-right: 10px;
    font-size: 0.65rem;
}

#mrt-training-zone-preview .mrt-preview-footer .stat-value {
    font-weight: 500;
    color: #334155;
    font-size: 0.65rem;
}

@media (min-width: 768px) {
    #mrt-training-zone-preview .mrt-preview-footer {
        flex-direction: row;
        justify-content: space-around;
        padding-top: 18px;
    }
}

/* Pagination */
#mrt-training-zone-preview .mrt-preview-pagination-wrapper {
    position: relative;
    width: 100%;
}

#mrt-training-zone-preview .mrt-preview-pagination-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

#mrt-training-zone-preview .mrt-preview-nav-arrow {
    background: none;
    border: none;
    color: #667eea;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px 10px;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.7;
    flex-shrink: 0;
}

#mrt-training-zone-preview .mrt-preview-nav-arrow:hover {
    color: #764ba2;
    transform: scale(1.2);
    opacity: 1;
}

#mrt-training-zone-preview .mrt-preview-nav-arrow:active {
    transform: scale(1.1);
}

#mrt-training-zone-preview .mrt-preview-pagination-indicator {
    font-size: 0.85em;
    color: #888;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

#mrt-training-zone-preview .mrt-preview-page-current {
    font-weight: 700;
    color: #667eea;
}

#mrt-training-zone-preview .mrt-preview-pages-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-height: 200px;
}

#mrt-training-zone-preview .mrt-preview-pages-container::-webkit-scrollbar {
    display: none;
}

#mrt-training-zone-preview .mrt-preview-page {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

#mrt-training-zone-preview .mrt-preview-page > :only-child {
    flex: 1;
}

#mrt-training-zone-preview .mrt-preview-page > :last-child:not(:only-child) {
    margin-top: auto;
}

#mrt-training-zone-preview .mrt-preview-page > :first-child {
    margin-top: 0;
    padding-top: 0;
}

#mrt-training-zone-preview .mrt-preview-page > :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Copy button */
#mrt-training-zone-preview .mrt-copy-btn {
    padding: 6px;
    margin: 5px;
    border-radius: 6px;
    transition: all 0.15s ease;
    cursor: pointer;
    opacity: 0.5;
    background: none;
    border: none;
}

#mrt-training-zone-preview .mrt-copy-btn:hover {
    opacity: 1;
    background-color: #e2e8f0;
}

#mrt-training-zone-preview .mrt-copy-btn svg {
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: color 0.15s ease;
}

#mrt-training-zone-preview .mrt-copy-btn:hover svg {
    color: #1e293b;
}

/* Intensity badge */
#mrt-training-zone-preview .mrt-intensity-badge {
    position: relative;
    overflow: hidden;
    display: inline-block;
    isolation: isolate;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75em;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: normal;
}

#mrt-training-zone-preview .mrt-intensity-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.4) 0%,
        rgba(118, 75, 162, 0.4) 25%,
        rgba(240, 147, 251, 0.4) 50%,
        rgba(79, 172, 254, 0.4) 75%,
        rgba(0, 242, 254, 0.4) 100%
    );
    background-size: 400% 400%;
    animation: tzGradientShift 15s ease infinite;
    z-index: 0;
    border-radius: inherit;
}

#mrt-training-zone-preview .mrt-intensity-badge::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 70%
    );
    animation: tzShimmer 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes tzShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    #mrt-training-zone-preview .mrt-intensity-badge::before,
    #mrt-training-zone-preview .mrt-intensity-badge::after,
    #mrt-training-zone-preview .mrt-spectrum-marker,
    #mrt-training-zone-preview .mrt-spectrum-marker::before,
    #mrt-training-zone-preview .mrt-spectrum-marker::after {
        animation: none !important;
    }
}

/* Match core's arrow styling: no animations, inherit from parent <p> inline */
#mrt-training-zone-preview .mrt-arrow {
    display: inline;
    font-size: inherit;
    animation: none;
    transition: none;
}
#mrt-training-zone-preview .mrt-arrow.up,
#mrt-training-zone-preview .mrt-arrow.down,
#mrt-training-zone-preview .mrt-arrow.same {
    animation: none;
    transform: none;
}

/* Training Spectrum */
#mrt-training-zone-preview .mrt-training-spectrum-container {
    padding: 40px 16px 5px;
    margin: 0px 0px 15px 0px;
    border-radius: 18px;
    background: #f7fafc;
    transition:
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#mrt-training-zone-preview .mrt-training-spectrum-container:active {
    transform: scale(0.995);
}

#mrt-training-zone-preview .mrt-spectrum-bar-wrapper {
    position: relative;
    margin-bottom: 24px;
    padding-top: 12px;
}

#mrt-training-zone-preview .mrt-spectrum-bar {
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: none;
}

#mrt-training-zone-preview .mrt-spectrum-zone {
    height: 100%;
    position: relative;
}

#mrt-training-zone-preview .mrt-spectrum-zone.strength {
    width: 30%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

#mrt-training-zone-preview .mrt-spectrum-zone.hypertrophy {
    width: 30%;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
}

#mrt-training-zone-preview .mrt-spectrum-zone.endurance {
    width: 40%;
    background: linear-gradient(90deg, #ef44d2 0%, #f472b6 100%);
}

/* Phase dimming — non-active zones fade */
#mrt-training-zone-preview
    .mrt-spectrum-bar-wrapper.highlight-strength
    .mrt-spectrum-zone:not(.strength),
#mrt-training-zone-preview
    .mrt-spectrum-bar-wrapper.highlight-hypertrophy
    .mrt-spectrum-zone:not(.hypertrophy),
#mrt-training-zone-preview
    .mrt-spectrum-bar-wrapper.highlight-endurance
    .mrt-spectrum-zone:not(.endurance) {
    opacity: 0.25;
    filter: saturate(0.5);
}

/* Marker Animation & Style - Glowing "Wow" Effect */
#mrt-training-zone-preview .mrt-spectrum-marker {
    position: absolute;
    top: 50%;
    width: 6px;
    height: 32px;
    background: #ffffff;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    z-index: 20;
    box-shadow: none;
    transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pulse Animation for Active Marker */
@keyframes mrt-marker-pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Phase-specific marker glow */
#mrt-training-zone-preview .highlight-strength .mrt-spectrum-marker {
    box-shadow: none;
    border: 1px solid #10b981;
}

#mrt-training-zone-preview .highlight-hypertrophy .mrt-spectrum-marker {
    box-shadow: none;
    border: 1px solid #3b82f6;
}

#mrt-training-zone-preview .highlight-endurance .mrt-spectrum-marker {
    box-shadow: none;
    border: 1px solid #ef44d2;
}

/* Marker Label (Reps) - Floating above */
#mrt-training-zone-preview .mrt-spectrum-marker::after {
    content: attr(data-reps);
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 800;
    color: #1e293b;
    background: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    box-shadow: none;
    white-space: nowrap;
    opacity: 0;
    animation: mrt-fade-in 0.3s forwards 0.5s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes mrt-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(2px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Arrow for Reps Label */
#mrt-training-zone-preview .mrt-spectrum-marker::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
    opacity: 0;
    animation: mrt-fade-in 0.3s forwards 0.5s;
}

#mrt-training-zone-preview .mrt-zone-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 2px;
}

#mrt-training-zone-preview .mrt-zone-label-text {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
}

#mrt-training-zone-preview .mrt-zone-label-text:nth-child(1) {
    width: 30%;
}
#mrt-training-zone-preview .mrt-zone-label-text:nth-child(2) {
    width: 30%;
}
#mrt-training-zone-preview .mrt-zone-label-text:nth-child(3) {
    width: 40%;
}

/* Active label highlight */
#mrt-training-zone-preview
    .highlight-strength
    .mrt-zone-labels
    .mrt-zone-label-text:nth-child(1) {
    color: #059669;
}
#mrt-training-zone-preview
    .highlight-hypertrophy
    .mrt-zone-labels
    .mrt-zone-label-text:nth-child(2) {
    color: #2563eb;
}
#mrt-training-zone-preview
    .highlight-endurance
    .mrt-zone-labels
    .mrt-zone-label-text:nth-child(3) {
    color: #be185d;
}

/* Weight Tracking */
#mrt-training-zone-preview .mrt-weight-insights {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: hidden;
    position: relative;
}

#mrt-training-zone-preview .mrt-weight-insights > :last-child {
    margin-top: auto;
}

#mrt-training-zone-preview .mrt-weight-insights .mrt-weight-tracker-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

#mrt-training-zone-preview
    .mrt-weight-insights
    .mrt-weight-tracker-title
    small {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 6px;
}

#mrt-training-zone-preview
    .mrt-weight-insights
    .mrt-weight-tracker-title
    small::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E")
        no-repeat center;
    mask-size: contain;
}

#mrt-training-zone-preview .mrt-weight-tracker-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

#mrt-training-zone-preview .mrt-weight-tracker-row {
    width: 100%;
}

#mrt-training-zone-preview .mrt-weight-tracker-row .mrt-weight-tracker-item {
    width: 100%;
    min-height: 55px;
}

#mrt-training-zone-preview .mrt-weight-tracker-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.2s ease;
    min-height: 75px;
    border: 1px solid #f1f5f9;
}

#mrt-training-zone-preview .mrt-weight-tracker-item .mrt-weight-tracker-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#mrt-training-zone-preview .mrt-weight-tracker-item .mrt-weight-tracker-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

#mrt-training-zone-preview .mrt-weight-tracker-item.current {
    background: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 25%,
        #f093fb 50%,
        #4facfe 75%,
        #00f2fe 100%
    );
    background-size: 400% 400%;
    animation: tzGradientShift 15s ease infinite;
    color: white;
    box-shadow: none;
    border: none;
    transform: scale(1.02);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

#mrt-training-zone-preview .mrt-weight-tracker-item.current::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    animation: tzShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

#mrt-training-zone-preview
    .mrt-weight-tracker-item.current
    .mrt-weight-tracker-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: mrtFadeInDown 0.6s ease;
}

#mrt-training-zone-preview
    .mrt-weight-tracker-item.current
    .mrt-weight-tracker-value {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.5rem;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(79, 51, 255, 0.2);
    animation: mrtScaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#mrt-training-zone-preview .mrt-weight-tracker-item.secondary {
    display: flex;
}

#mrt-training-zone-preview .mrt-weight-tracker-item.change-col {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
}

#mrt-training-zone-preview .mrt-weight-tracker-change {
    font-size: 1.15rem;
    font-weight: 800;
    color: #6d28d9;
}

#mrt-training-zone-preview .mrt-weight-tracker-change.gain {
    color: #8b5cf6;
}

#mrt-training-zone-preview .mrt-weight-tracker-percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8b5cf6;
}

#mrt-training-zone-preview .mrt-weight-tracker-footer {
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    margin-top: 5px;
}

#mrt-training-zone-preview .mrt-weight-tracker-footer.secondary {
    display: flex;
}

#mrt-training-zone-preview .mrt-weight-tracker-footer .footer-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
}

#mrt-training-zone-preview .mrt-weight-tracker-footer .stat-label {
    color: #64748b;
    font-weight: 500;
    padding-right: 10px;
    font-size: 0.65rem;
}

#mrt-training-zone-preview .mrt-weight-tracker-footer .stat-value {
    font-weight: 500;
    color: #334155;
    font-size: 0.65rem;
}

#mrt-training-zone-preview .mrt-weight-tracker-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    #mrt-training-zone-preview .mrt-weight-tracker-footer.secondary {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    #mrt-training-zone-preview
        .mrt-weight-tracker-item.current
        .mrt-weight-tracker-value {
        font-size: 1.15rem;
    }
}

/* Benchmark Entrance Animations */
@keyframes mrtFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mrtScaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes mrtFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Strength Benchmark */
#mrt-training-zone-preview .mrt-benchmark-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 20px 20px 0;
    margin-top: 16px;
    margin-bottom: 16px;
    position: relative;
}

#mrt-training-zone-preview .mrt-benchmark-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

#mrt-training-zone-preview .mrt-benchmark-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 6px;
}

#mrt-training-zone-preview .mrt-benchmark-title::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E")
        no-repeat center;
    mask-size: contain;
}

#mrt-training-zone-preview .mrt-benchmark-percentile {
    text-align: center;
    margin-bottom: 24px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 25%,
        #f093fb 50%,
        #4facfe 75%,
        #00f2fe 100%
    );
    background-size: 400% 400%;
    animation: tzGradientShift 15s ease infinite;
    -webkit-tap-highlight-color: transparent;
}

#mrt-training-zone-preview .mrt-benchmark-percentile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
    z-index: 1;
}

#mrt-training-zone-preview .mrt-benchmark-percentile::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    animation: tzShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

#mrt-training-zone-preview .mrt-benchmark-percentile .percentile-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: mrtFadeInDown 0.6s ease;
}

#mrt-training-zone-preview .mrt-benchmark-percentile .percentile-value {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin: 12px 0;
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 3;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(79, 51, 255, 0.2);
    animation: mrtScaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#mrt-training-zone-preview .mrt-benchmark-percentile .percentile-value span {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 2px;
    opacity: 0.9;
}

#mrt-training-zone-preview .mrt-benchmark-percentile .percentile-suffix {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: mrtFadeInUp 0.6s ease 0.2s backwards;
}

#mrt-training-zone-preview .mrt-benchmark-progress-container {
    position: relative;
    margin-bottom: 24px;
    padding-top: 12px;
}

#mrt-training-zone-preview .mrt-benchmark-bar {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: none;
}

#mrt-training-zone-preview .benchmark-segment {
    height: 100%;
    transition: opacity 150ms ease;
}

#mrt-training-zone-preview .benchmark-segment.beginner {
    width: 20%;
    background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 100%);
}
#mrt-training-zone-preview .benchmark-segment.novice {
    width: 20%;
    background: linear-gradient(90deg, #5eead4 0%, #2dd4bf 100%);
}
#mrt-training-zone-preview .benchmark-segment.intermediate {
    width: 30%;
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
}
#mrt-training-zone-preview .benchmark-segment.advanced {
    width: 20%;
    background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%);
}
#mrt-training-zone-preview .benchmark-segment.elite {
    width: 10%;
    background: linear-gradient(90deg, #6366f1 0%, #4f33ff 100%);
}

#mrt-training-zone-preview .mrt-benchmark-marker {
    position: absolute;
    top: 18px;
    width: 6px;
    height: 32px;
    background: #ffffff;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    z-index: 20;
    border: 1px solid currentColor;
    box-shadow: none;
    transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes benchmarkMarkerPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

#mrt-training-zone-preview .mrt-benchmark-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#mrt-training-zone-preview .mrt-benchmark-labels .current-level-label {
    font-weight: 700;
    font-size: 0.7rem;
    transition: color 150ms ease;
}

#mrt-training-zone-preview .mrt-benchmark-milestone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: none;
    transition: all 150ms ease;
}

#mrt-training-zone-preview .mrt-benchmark-milestone:hover {
    transform: translateX(4px);
    box-shadow: none;
}

#mrt-training-zone-preview .milestone-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

#mrt-training-zone-preview .milestone-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#mrt-training-zone-preview .milestone-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#mrt-training-zone-preview .milestone-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

/* Age Adjustment Badge */
#mrt-training-zone-preview .mrt-benchmark-age-adjustment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1) 0%,
        rgba(124, 58, 237, 0.1) 100%
    );
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

#mrt-training-zone-preview .mrt-benchmark-age-adjustment .age-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Segment hover */
#mrt-training-zone-preview .benchmark-segment:hover {
    opacity: 0.85;
}

/* Focus states */
#mrt-training-zone-preview .mrt-copy-btn:focus,
#mrt-training-zone-preview .mrt-benchmark-milestone:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

#mrt-training-zone-preview .mrt-benchmark-legend {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

#mrt-training-zone-preview .legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    color: #94a3b8;
}

#mrt-training-zone-preview .legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

#mrt-training-zone-preview .legend-dot.beginner {
    background: #94a3b8;
}
#mrt-training-zone-preview .legend-dot.novice {
    background: #2dd4bf;
}
#mrt-training-zone-preview .legend-dot.intermediate {
    background: #3b82f6;
}
#mrt-training-zone-preview .legend-dot.advanced {
    background: #8b5cf6;
}
#mrt-training-zone-preview .legend-dot.elite {
    background: #4f33ff;
}

/* Card body styles (was inline) */
#mrt-training-zone-preview .mrt-card-body {
    background: #f7fafc;
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 15px;
}

#mrt-training-zone-preview .mrt-card-body p {
    margin: 0;
}

#mrt-training-zone-preview .mrt-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    margin-top: 10px;
}

#mrt-training-zone-preview .mrt-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

#mrt-training-zone-preview .mrt-stat-cell {
    text-align: center;
}

#mrt-training-zone-preview .mrt-stat-label {
    margin: 0 0 4px;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

#mrt-training-zone-preview .mrt-stat-value {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

#mrt-training-zone-preview .mrt-stat-value--reps {
    color: #3182ce;
}

#mrt-training-zone-preview .mrt-stat-value--weight {
    color: #dd6b20;
}

#mrt-training-zone-preview .mrt-stat-value--1rm {
    color: #707070;
}

#mrt-training-zone-preview .mrt-benchmark-marker--highlight {
    color: #3b82f6;
}

#mrt-training-zone-preview
    .mrt-benchmark-labels
    .current-level-label--highlight {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 480px) {
    #mrt-training-zone-preview .mrt-benchmark-card {
        padding: 16px;
    }
    #mrt-training-zone-preview .mrt-benchmark-percentile {
        padding: 20px 16px;
        margin-bottom: 20px;
    }
    #mrt-training-zone-preview .mrt-benchmark-percentile .percentile-value {
        font-size: 2.5rem;
    }
    #mrt-training-zone-preview
        .mrt-benchmark-percentile
        .percentile-value
        span {
        font-size: 1.25rem;
    }
    #mrt-training-zone-preview .mrt-benchmark-percentile .percentile-suffix {
        font-size: 0.75rem;
    }
    #mrt-training-zone-preview .mrt-benchmark-milestone {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    #mrt-training-zone-preview .mrt-benchmark-milestone .milestone-content {
        align-items: center;
    }
    #mrt-training-zone-preview
        .mrt-weight-tracker-item.current
        .mrt-weight-tracker-value {
        font-size: 1.15rem;
    }
}

/* Reduced motion for benchmark elements */
@media (prefers-reduced-motion: reduce) {
    #mrt-training-zone-preview .mrt-benchmark-card,
    #mrt-training-zone-preview .mrt-benchmark-marker,
    #mrt-training-zone-preview .mrt-benchmark-milestone,
    #mrt-training-zone-preview .benchmark-segment,
    #mrt-training-zone-preview .mrt-benchmark-percentile,
    #mrt-training-zone-preview .mrt-benchmark-percentile::after,
    #mrt-training-zone-preview .mrt-benchmark-percentile .percentile-label,
    #mrt-training-zone-preview .mrt-benchmark-percentile .percentile-value,
    #mrt-training-zone-preview .mrt-benchmark-percentile .percentile-suffix,
    #mrt-training-zone-preview .mrt-weight-tracker-item.current,
    #mrt-training-zone-preview .mrt-weight-tracker-item.current::after,
    #mrt-training-zone-preview
        .mrt-weight-tracker-item.current
        .mrt-weight-tracker-label,
    #mrt-training-zone-preview
        .mrt-weight-tracker-item.current
        .mrt-weight-tracker-value,
    #mrt-training-zone-preview .mrt-training-spectrum-container {
        animation: none !important;
        transition: none;
    }
    #mrt-training-zone-preview .mrt-benchmark-percentile {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        background-size: 100% 100%;
    }
    #mrt-training-zone-preview .mrt-weight-tracker-item.current {
        background: linear-gradient(
            135deg,
            #8b5cf6 0%,
            #7c3aed 100%
        ) !important;
    }
}

@media (max-width: 360px) {
    #mrt-training-zone-preview .mrt-preview-pagination-header {
        padding: 0 2px;
    }
    #mrt-training-zone-preview .mrt-preview-nav-arrow {
        font-size: 1.2em;
        padding: 5px 6px;
    }
    #mrt-training-zone-preview .mrt-zone-label-text {
        font-size: 0.5rem;
    }
    #mrt-training-zone-preview .mrt-progression-header {
        font-size: 0.75rem;
    }
}

/* ====================================
   DARK MODE SUPPORT
   ==================================== */

html.maxreptracker-dark-mode-enabled #mrt-training-zone-preview {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-insights {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-insights
    .mrt-weight-tracker-title
    small {
    color: rgba(255, 255, 255, 0.7);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-item:not(.current) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-item
    .mrt-weight-tracker-label,
html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-item
    .mrt-weight-tracker-value {
    color: #f8fafc;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-item.change-col {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-change {
    color: #a78bfa;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-percentage {
    color: #c4b5fd;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-footer
    .stat-label {
    color: #94a3b8;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-weight-tracker-footer
    .stat-value {
    color: #f1f5f9;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-copy-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-copy-btn
    svg {
    color: rgba(255, 255, 255, 0.6);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-copy-btn:hover
    svg {
    color: rgba(255, 255, 255, 0.9);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-benchmark-age-adjustment {
    background: rgba(139, 92, 246, 0.2) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-benchmark-age-adjustment
    .age-badge {
    color: #a78bfa !important;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-preview-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-preview-footer
    .stat-label {
    color: #94a3b8;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-preview-footer
    .stat-value {
    color: #f1f5f9;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-stat-value--reps {
    color: #3182ce !important;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-stat-value--weight {
    color: #dd6b20 !important;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-stat-value--1rm {
    color: #707070 !important;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-benchmark-percentile {
    border: none !important;
}

html.maxreptracker-dark-mode-enabled
    #mrt-training-zone-preview
    .mrt-benchmark-card {
    background: transparent !important;
}
