/* ===== Editor help dialog ===== */

.editor-help-item {
    align-items: center;
    display: flex;
    gap: 16px;
    padding: 14px 0;
}

.editor-help-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.editor-help-image {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
    height: 90px;
    object-fit: contain;
    padding: 6px;
    width: 120px;
}

.editor-help-caption {
    color: #9ca3af !important;
    line-height: 1.45 !important;
}

.help-reorder-mobile {
    display: none;
}

@media (max-width: 768px) {
    .help-reorder-desktop {
        display: none;
    }

    .help-reorder-mobile {
        display: inline;
    }
}

.editor-help-divider {
    background: #f3f4f6;
    height: 1px;
    width: 100%;
}

/* ===== Editor tour carousel ===== */

.editor-tour-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 9999;
}

.editor-tour-card {
    align-items: flex-start;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    cursor: default;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 680px;
    padding: 52px 76px 36px;
    position: relative;
    text-align: left;
    width: calc(100% - 32px);
}

.editor-tour-body {
    align-items: center;
    display: flex;
    gap: 20px;
    width: 100%;
}

.editor-tour-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.editor-tour-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    height: 32px;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 32px;
}

.editor-tour-close:hover {
    color: #374151;
}

.editor-tour-image {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-sizing: border-box;
    flex-shrink: 0;
    height: 180px;
    object-fit: contain;
    padding: 10px;
    width: 220px;
}

.editor-tour-header {
    align-items: center;
    display: flex;
    gap: 12px;
}

.editor-tour-icon {
    align-items: center;
    border-radius: 12px;
    display: flex;
    flex-shrink: 0;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.editor-tour-title {
    font-size: 19px;
    font-weight: 600;
    text-align: left;
}

.editor-tour-desc {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

.editor-tour-arrow {
    align-items: center;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    color: #374151;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    height: 44px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.15s ease;
    width: 44px;
}

.editor-tour-arrow--left {
    left: 12px;
}

.editor-tour-arrow--right {
    right: 12px;
}

.editor-tour-arrow:hover:not(:disabled) {
    background: #e5e7eb;
}

.editor-tour-arrow:disabled {
    cursor: default;
    opacity: 0.4;
}

.editor-tour-arrow--finish {
    background: var(--theme-secondary, #7CC115);
    color: #fff;
}

.editor-tour-arrow--finish:hover {
    background: var(--theme-secondary, #7CC115);
    opacity: 0.9;
}

.editor-tour-dots {
    align-self: stretch;
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 4px;
}

.editor-tour-dot {
    background: #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    height: 8px;
    transition: background 0.15s ease;
    width: 8px;
}

.editor-tour-dot--active {
    background: var(--theme-secondary, #7CC115);
}