#videoTutorials > p {
    margin: 12px 0 18px;
}

#videoTutorials .video-tutorial-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 12px;
}

#videoTutorials .video-tutorial-buttons button {
    margin: 0;
    width: 100%;
    min-height: 58px;
    text-align: left;
    justify-content: flex-start;
    white-space: normal;
}

#videoTutorialDialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(960px, 94vw);
    max-width: 94vw;
    max-height: 90vh;
    padding: 20px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    overflow-y: auto;
}

#videoTutorialDialog::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

#videoTutorialDialog .video-tutorial-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

#videoTutorialDialog h3 {
    margin: 0;
    flex: 1 1 220px;
}

#closeVideoTutorial {
    margin: 0;
    flex: 0 0 auto;
}

#videoTutorialPlayer {
    display: block;
    width: 100%;
    max-height: 65vh;
    background: #000;
}

#videoTutorialError {
    margin-top: 12px;
}
