.quickroute-help-overlay[hidden] {
    display: none;
}

.quickroute-help-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, .72);
}

.quickroute-help-dialog {
    position: relative;
    width: min(720px, 100%);
    height: min(86vh, 820px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: #0b1510;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.quickroute-help-content {
    height: 100%;
    overflow-y: auto;
    padding: 58px 20px 24px;
    overscroll-behavior: contain;
}

.quickroute-help-content .driver-card {
    margin: 0;
}

.quickroute-help h2 {
    margin: 22px 0 8px;
}

.quickroute-help h2:first-child {
    margin-top: 0;
}

.quickroute-help ol,
.quickroute-help ul {
    margin: 0;
    padding-left: 24px;
}

.quickroute-help li {
    margin: 8px 0;
    line-height: 1.45;
}

.quickroute-help-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, .7);
    cursor: pointer;
}

.quickroute-overlay-open {
    overflow: hidden;
}

html[data-runtime-v2-active="true"] #routeStops [data-persistent-status="READY"],
html[data-runtime-v2-active="true"] #routeStops [data-persistent-status="WAITING"],
html[data-runtime-v2-active="true"] #routeStops [data-persistent-status="PENDING"] {
    cursor: pointer;
}

html[data-runtime-v2-active="true"] #routeStops [data-persistent-status="READY"]:active,
html[data-runtime-v2-active="true"] #routeStops [data-persistent-status="WAITING"]:active,
html[data-runtime-v2-active="true"] #routeStops [data-persistent-status="PENDING"]:active {
    transform: scale(.995);
}

textarea[name="CustomerNumbers"] {
    overflow-y: auto;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

@media (max-width: 520px) {
    .quickroute-help-overlay {
        padding: 8px;
    }

    .quickroute-help-dialog {
        width: 100%;
        height: 92vh;
        border-radius: 14px;
    }
}
