/* AB2BA7 — Timeline Boundary Fix */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.app-shell,
.editor-layout,
.workspace,
.timeline-panel {
    min-width: 0 !important;
    max-width: 100% !important;
}

.timeline-panel {
    position: relative;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.timeline-heading {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.timeline-body {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.tracks {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    box-sizing: border-box;
    overscroll-behavior-x: contain;
}

.timeline-track {
    position: relative;
    width: max-content;
    min-width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

#timelineRulerPro,
#timelineRulerV21,
.timeline-ruler-pro,
.timeline-ruler-v21 {
    position: relative;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.track-labels {
    flex: 0 0 auto;
    min-width: 70px;
}

#playhead {
    max-height: 100% !important;
}

@media (max-width: 900px) {
    .timeline-panel {
        width: 100vw !important;
        max-width: 100% !important;
    }

    .timeline-body {
        overflow-x: hidden !important;
    }

    .tracks {
        width: 100% !important;
    }
}
