.contextHelpButton {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0d6efd, #0ea5e9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.26);
}

.contextHelpButton:hover {
    filter: brightness(1.05);
}

.contextHelpOverlay {
    position: fixed;
    inset: 0;
    z-index: 1201;
    background: rgba(15, 23, 42, 0.35);
}

.contextHelpDrawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 95vw);
    height: 100vh;
    z-index: 1202;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    background: #ffffff;
    border-left: 1px solid #dbe4ee;
    box-shadow: -8px 0 28px rgba(15, 23, 42, 0.24);
    display: flex;
    flex-direction: column;
}

.contextHelpDrawer.isOpen {
    transform: translateX(0);
}

.contextHelpDrawerHeader {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contextHelpDrawerTitle {
    margin: 0;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 700;
}

.contextHelpDrawerBody {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.9rem 1rem;
}

.contextHelpSummary {
    color: #334155;
}

.contextHelpBlock {
    margin-bottom: 1rem;
}

.contextHelpBlockTitle {
    margin-bottom: 0.45rem;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
}

.contextHelpList {
    margin: 0;
    padding-left: 1.15rem;
    color: #334155;
}

.contextHelpList li {
    margin-bottom: 0.3rem;
}

.contextHelpVideoGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.contextHelpVideoCard {
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.contextHelpVideoFrameWrap {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    background: #0f172a;
}

.contextHelpVideoFrameWrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contextHelpVideoCardBody {
    padding: 0.7rem 0.8rem;
}

.contextHelpVideoTitle {
    margin: 0 0 0.45rem;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
}

.contextHelpVideoLink {
    color: #0d6efd;
    font-size: 0.86rem;
}

.contextHelpInlineAction {
    color: #0d6efd;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.contextHelpInlineAction:hover {
    color: #084298;
}

.contextHelpDrawerFooter {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.contextHelpTutorialModal {
    position: fixed;
    inset: 0;
    z-index: 1204;
    display: block;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.36);
    transition: background 0.18s ease;
}

.contextHelpTutorialModal.hasGuidedTarget {
    background: rgba(15, 23, 42, 0.2);
}

.contextHelpTutorialModal.hasGuidedTarget.isInteractive {
    background: rgba(15, 23, 42, 0.1);
}

.contextHelpTutorialDialog {
    width: min(560px, calc(100vw - 24px));
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.28);
    position: fixed;
}

.contextHelpTutorialDialog.isCentered {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contextHelpTutorialDialog:not(.isCentered) {
    transform: none;
}

.contextHelpTutorialDialog:not(.isCentered)::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-left: 1px solid #dbe4ee;
    border-top: 1px solid #dbe4ee;
    transform: rotate(45deg);
}

.contextHelpTutorialDialog.placement-top::after {
    bottom: -8px;
    left: var(--contextHelpArrowLeft, 24px);
    border-left: 0;
    border-top: 0;
    border-right: 1px solid #dbe4ee;
    border-bottom: 1px solid #dbe4ee;
}

.contextHelpTutorialDialog.placement-bottom::after {
    top: -8px;
    left: var(--contextHelpArrowLeft, 24px);
}

.contextHelpTutorialDialog.placement-left::after {
    right: -8px;
    top: var(--contextHelpArrowTop, 20px);
    border-left: 0;
    border-top: 0;
    border-right: 1px solid #dbe4ee;
    border-bottom: 1px solid #dbe4ee;
}

.contextHelpTutorialDialog.placement-right::after {
    left: -8px;
    top: var(--contextHelpArrowTop, 20px);
}

.contextHelpTutorialHeader,
.contextHelpTutorialFooter {
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
}

.contextHelpTutorialHeader {
    border-bottom: 1px solid #e2e8f0;
}

.contextHelpTutorialBody {
    padding: 0.95rem 1rem;
}

#contextHelpTutorialStepText {
    white-space: pre-line;
}

.contextHelpTutorialFooter {
    border-top: 1px solid #e2e8f0;
}

.contextHelpTourTarget {
    position: relative;
    z-index: 1206 !important;
}

.contextHelpTourHighlightFrame {
    position: fixed;
    z-index: 1205;
    border: 2px solid #22c55e;
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2), 0 12px 24px rgba(15, 23, 42, 0.14);
    pointer-events: none;
    transition: top 0.15s ease, left 0.15s ease, width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
}
